ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
181 stars 110 forks source link

Invalid XML Manipulation #95

Closed ppazos closed 9 years ago

ppazos commented 9 years ago

version.data.uid tag is added after the version.data.content, because data is LOCATABLE, the uid should go after the data.name tag, before data.content, and should have the type specified. Without this the XML is invalid against the XSD.

What the XML should look like:

Encuentro a1c9b42f-7644-4f10-8b87-4430536c8b2a
ppazos commented 9 years ago

Check this, I think it is solved

ppazos commented 9 years ago

Is not solved. XmlService is putting the version.data.uid after the content nodes, and it should be after the version.data.name node.

This is because appendNode is used.

ppazos commented 9 years ago

Done.