Writing a SAX parser that validates external schemas.

Roseanne Zhang

That is a norm instead of exception. You only need set certain features. I've an example here. It is using JDOM, but the process is exact the same.

Q. A simple XML validator using xml schema (JDOM).

If you put the second argument as *.xsd, it will use the external xsd instead of the one specified by the XML file

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact