Hi
 
I'm writing a web app in Tomcat, which uses a SAX Parser for parsing an XML. I'm specifying the Schema file (ConfigUpdate.xsd) to the SAX Parser by setting a property as follows:
 
parser.setProperty(SCHEMA_LOCATION_PROPERTY_ID, SCHEMA_LOCATION_PROPERTY_VALUE );
 
where SCHEMA_LOCATION_PROPERTY_ID is "http://apache.org/xml/properties/schema/external-schemaLocation"
 
and SCHEMA_LOCATION_PROPERTY_VALUE is "http://www.xyz.com ConfigUpdate.xsd"
 
 
However, parser is not able to find the xsd file at the run time.
 
Where should I put the xsd file in Tomcat, so that SAX Parser can read it at run time?
 
thanks,
Naresh   
 
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to