OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

xliff-comment message

[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 =

	<!-- 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"

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.


Doug D

Ektron, Inc.
+1 603 594-0249

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC