Thanks, that worked great!!
-----Original Message----- From: Bob Foster [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 4:10 PM To: [EMAIL PROTECTED] Subject: Re: set external schema location in jar file Heather Lindsay wrote: > hi, > > I'm validating XML documents against a schema which is designated in my app > with the extranal schema location property: > parser.setProperty("http://apache.org/xml/properties/schema/external-noNames > paceSchemaLocation", filePath); > > What I want to do is to set the external schema location when my schema is > in a jar file. Is this possible and if so how can I do this? jar:file:///c:/folder/jarfile.jar!/mypackage/myschema.xsd Between the /// and the ! write the absolute file path of the jar (no \ please). After the ! write the location of the xsd file within the jar. Haven't tried this with Xerces but should work. Bob Foster --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]