The repositorytypes.xsd (v1.1-rc2) declares the section attribute on categoryType as use="required".
|
<xs:attribute name="section" type="fixr:Name_t" use="required"/> |
However the XML data published by the community consistently omit this attribute:
| File |
Repository |
Categories missing section |
| OrchestraFIXLatest.xml |
fix-orchestra |
Common, Fields, ImplFields |
| mit_2016.xml |
fix-orchestra |
Common, Fields, ImplFields |
| OrchestraFIXLatest.xml |
orchestrations |
Common, Fields, ImplFields |
| OrchestraExamples-v11-RC1.xml |
orchestrations |
Common, Fields, ImplFields |
| OrchestraFIX44.xml |
orchestrations |
Common |
This XSD constraint is stricter than the data it is meant to describe - the over-constraint should be considered schema bug.
Example
https://raw.githubusercontent.com/FIXTradingCommunity/fix-orchestra/refs/heads/master/repository-util/src/test/resources/OrchestraFIXLatest.xml
<fixr:category FIXMLFileName="components"
componentType="Message"
includeFile="fields"
name="Common"/>
XSD validation failure:
cvc-complex-type.4: Attribute 'section' must appear on element 'fixr:category'.
Suggested fix
<!-- before -->
<xs:attribute name="section" type="fixr:Name_t" use="required"/>
<!-- after -->
<xs:attribute name="section" type="fixr:Name_t"/>
The
repositorytypes.xsd(v1.1-rc2) declares thesectionattribute oncategoryTypeasuse="required".fix-orchestra/repository/src/main/resources/xsd/repositorytypes.xsd
Line 116 in 9d29211
However the XML data published by the community consistently omit this attribute:
This XSD constraint is stricter than the data it is meant to describe - the over-constraint should be considered schema bug.
Example
https://raw.githubusercontent.com/FIXTradingCommunity/fix-orchestra/refs/heads/master/repository-util/src/test/resources/OrchestraFIXLatest.xml
XSD validation failure:
Suggested fix