Page 1 of 1

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

Posted: Mon May 30, 2011 6:55 am
by Johnbampton1
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

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

Posted: Mon May 30, 2011 8:27 am
by george
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