On the faq page for XML Schema
http://xerces.apache.org/xerces2-j/faq-xs.html is the following:

 

"You can also refer to the JAXP sample, SourceValidator, where you can
validate XML documents against 1.1 schemas by specifying the "-xsd11"
flag when running the sample."

 

However when I try the following, I get told that -xsd11 is an unknown
option :

 

java -cp D:\xerces\xerces-2_11_0\xercesSamples.jar  jaxp.SourceValidator
-xsd11 -a <someschema.xsd >-i <someinputfile> -f

 

Am I doing something wrong?  

 

Thanks,

Jim

 

Reply via email to