Hello again,  found another potential bug:

In the latest XSD 1.1 branch,  it looks like simple type assertions are not 
being enforced when the type is specified via the xsi:type attribute.  I'm 
attaching a schema and instance documents as a reference.

If I do

java -cp $CLASSPATH jaxp.SourceValidator  -fx -xsd11 -a  assertion.xsd -i 
even_bad.xml

I get a correct error, but if I do

java -cp $CLASSPATH jaxp.SourceValidator  -fx -xsd11 -a  assertion.xsd -i 
number_bad.xml

I don't get an error at all.

Thanks,

jOrGe W.




Attachment: assertion.xsd
Description: assertion.xsd

Attachment: even_bad.xml
Description: even_bad.xml

Attachment: number_bad.xml
Description: number_bad.xml

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to