axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Greif" <jgr...@alumni.princeton.edu>
Subject Re: Problem using SAXParser
Date Mon, 06 Mar 2006 16:21:05 GMT
Use a custom implementation of org.xml.sax.EntityResolver.

If you are using Xerces as your parser, you could also use a grammar
pool and preparse the schema grammar generated by the previous app,
having it cached for use in parsing the instance document.

Jeff

On 3/6/06, Sandeep Gaikwad <scgaikwad@yahoo.com> wrote:
>
> Hi,
>
>          I am using SAXParser for validating XML against Schema.
>          My schema gets generated from one of the previous application.
>          But i am using following properties for validating it which
> requires schema to be  saved on some loaction, which i don't want. So any
> one knows such feature for SAXParser or any other parser which will give me
> this funtionality, please tell me.
>
>
>     SAXParser parser = new SAXParser();
>    parser.setProperty(
> "http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation
> ","External schema location");
>
> Regards,
>
> Sandeep
>
>
>  ________________________________
> Yahoo! Mail
>  Bring photos to life! New PhotoMail makes sharing a breeze.
>
>

Mime
View raw message