You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Graham Mann <gm...@Adobe.COM> on 2000/08/22 15:16:05 UTC

Boundary Exception

Hi,

I'm using Xerces-J 1.1.3 and using the SAX2Count example to check out schema validation.

An attribute declared in a schema like 
	<xsd:attribute name="Duration" type="xsd:timeDuration" use="optional"/>
an used in an instance like
	<Element ... Duration="P0Y0M0DT0H0M10S" ../>

Returns the following
c =118
c =115
inside derive by list
[Error] d:\schema\Test.xml:67:270: Datatype error: Boundary Exception.
file:///d:\schema\test.xml: 6625 ms (77 elems, 220 attrs, 344 spaces, 253 chars)

I've found that the reason for this is that the boundary variables (isMaxExclusiveDefined etc) in TimeDurationDatatypeValidator remain set to false which as there are no additional facet limitations set for the Duration attribute seems to be correct.

Regards,
Graham Mann
Adobe Systems Europe Ltd.
Tel:    +44 (0)1603 226749