[jdom-interest] SAX Schema Validations

BenedictPA at aol.com BenedictPA at aol.com
Fri Feb 25 21:16:30 PST 2005


If anyone can answer this, please do.

I am using JDOM for document building and parsing as well as validating. I 
have a requirement that people upload XML files and I have to perform validation 
on them against a schema. Does the schema HAVE to be a public URL? I'd rather 
have the schema as a private file in my Java resource bundle -- but it seems 
setProperty requires an external URL. 

parser.setProperty(
    
"http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation",
     "url");

Thanks,
Paul 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050226/0cc2af80/attachment.htm


More information about the jdom-interest mailing list