[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [xliff-comment] xliff-1-1.xsd has invalid attributes minOccurs,maxOccurs in <xs:choice>
The xliff-1-1.xsd XML schema assigns minOccurs and maxOccurs to the <choice> element, but they are not allowed in that context. XPath: xliff-1-1.xsd#/schema[1]/group[position() = 1 and @name = 'ElemGroup_TextContent']/choice[1] Snippet: <!-- Groups --> <xsd:group name="ElemGroup_TextContent"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> Those attributes need to be specified everywhere that ElemGroup_TextContent is referenced. Example: <xsd:group ref="xlf:ElemGroup_TextContent" minOccurs="0" maxOccurs="unbounded"/> Reference: O'Reilly's "XML Schema", "xs:choice (within a group)", p. 250 Error seen with Microsoft's XSD 4.0 parser, but not XML Spy 4.4. Regards, Doug D Ektron, Inc. +1 603 594-0249 http://www.ektron.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC