XMLSerializer.output() (xml-serializer-1.0.1.jar) produce XMLs that are 
not compliant with openEHR XML-Schemas 
(http://www.openehr.org/releases/1.0.2/its/XML-schema/index.html).
Also the xml representation taken from http://openehr.org/knowledge/ are 
not valid XML instances respect to these schemas (for example 
<http://jira.noemalife.loc:8080/secure/attachment/15267/openEHR-EHR-OBSERVATION.body_weight.v1.adl>
 
openEHR-EHR-OBSERVATION.body_weight.v1 
<http://jira.noemalife.loc:8080/secure/attachment/15267/openEHR-EHR-OBSERVATION.body_weight.v1.adl>).

The main problem is that the order of the elements is not equals to that 
one specified in <xs:sequence> blocks of XSDs.

What is "wrong", the implementation or the schemas? The order of the 
elements in xml representation of an archetype must be fixed?

Thanks
leo

-- 

Ing. Leonardo Moretti
Senior Analyst

*NoemaLife S.p.A
*Via Gobetti, 52
40129 Bologna ? ITALY
T +39 051 4193911
F +39 051 4193900
lmoretti at noemalife.com <mailto:lmoretti at noemalife.com>

www.noemalife.com <http://www.noemalife.com/>


Reply via email to