E [Xerces] cvc-datatype-valid.1.2.1: 'unbounded' is not a va

This should cover W3C XML Schema, Relax NG and DTD related problems.
Johnbampton1
Posts: 1

E [Xerces] cvc-datatype-valid.1.2.1: 'unbounded' is not a va

Mon May 30, 2011 6:55 am

E [Xerces] cvc-datatype-valid.1.2.1: 'unbounded' is not a valid value for 'integer'.

This is the error that I am getting. I thought unbounded was valid?

<Section archetype-node-id="at0004" dc-id="16601.120.1" href="sections/NEHTA-16601-Reviewed_Adverse_Substance_Reactions-Section.xml" maxOccurs="unbounded" minOccurs="0" name="Reviewed Adverse Substance Reactions">
</Section>

Any ideas
george
Site Admin
Posts: 2100

Re: E [Xerces] cvc-datatype-valid.1.2.1: 'unbounded' is not a va

Mon May 30, 2011 8:27 am

That is not allowed for xs:integer, see
http://www.w3.org/TR/xmlschema-2/#integer

You may want to define that type as a union between integer and a restriction of string that allows only unbounded.

Best Regards,
George
George Cristian Bina

Return to “XML Schemas”

Who is online

Users browsing this forum: No registered users and 1 guest