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.
assertion.xsd
Description: assertion.xsd
even_bad.xml
Description: even_bad.xml
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