nmdp-bioinformatics / hml

Histoimmunogenetics Markup Language (HML).
GNU Lesser General Public License v3.0
3 stars 5 forks source link

Disable 'strict' validation for extensible Property elements #45

Closed dvaliga closed 7 years ago

dvaliga commented 7 years ago

The intent of the optional "Property" element was to allow third parties to embed any XML structure within an HML message at select points in the schema. These structures could be backed by a third party schema/namespace (HL7) or be stand-alone.

It was discovered that by default in XML, the "xs:any" declaration enforces strict processing for sub-elements which wasn't the intent (so unless backed by a schema, validation will fail for sub-elements).

The Property type should be changed from:

to:

dvaliga commented 7 years ago

This change was made to HML 1.0.2 and it was decided to retroactively apply the change to HML 1.0.1 as well as this was seen as an oversight and a 'bug' for the way HML 1.0.1 was intended to work.