From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 19, 2007 2:00 PM
> > To: j-users@xerces.apache.org
> > Subject: RE: Avoiding DOM Reparse
> >
> > Windy,
> >
> > Since you mentioned DOMLocator I assume you're doing the
age-
> From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 19, 2007 2:00 PM
> To: j-users@xerces.apache.org
> Subject: RE: Avoiding DOM Reparse
>
> Windy,
>
> Since you mentioned DOMLocator I assume you're doing the validation using
even using the DOMLocator?
>
> -Windy
>
> > -Original Message-
> > From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 19, 2007 9:10 AM
> > To: j-users@xerces.apache.org
> > Subject: RE: Avoiding DOM Reparse
> >
> > H
To: j-users@xerces.apache.org
> Subject: RE: Avoiding DOM Reparse
>
> Hi Windy,
>
> There's a sample that comes with Xerces called dom.DOMAddLines [1] which
> shows how you can add line/column information to the DOM using
> Node.setUserData() [2] and read it back with Node.getUserDa
ROTECTED]
> > Sent: Tuesday, December 11, 2007 10:24 AM
> > To: j-users@xerces.apache.org
> > Subject: Re: Avoiding DOM Reparse
> >
> > Hi Windy,
> >
> > Before calling normalizeDocument() you should be able to set the
> > "http://apache.org/xml/properties/i
schema validation issue)?
-Windy
> -Original Message-
> From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 11, 2007 10:24 AM
> To: j-users@xerces.apache.org
> Subject: Re: Avoiding DOM Reparse
>
> Hi Windy,
>
> Before calling normal
If you have a pretty good idea of the set of schemas that will be
needed before reading the instance documents, you could preparse those
schemas into a GrammarPool associated with the instance document
parser. That way, most or all of the documents could be validated as
they are read (the first ti
Hi Windy,
Before calling normalizeDocument() you should be able to set the
"http://apache.org/xml/properties/internal/grammar-pool"; property on the
DOMConfiguration with your grammar pool. Alternatively you could use the
JAXP Validation API [1]. If you pass the PSVI-aware version of the DOM to
th
I am reading lots of XML documents that need schema validation. However, I
don't know what the schema (actually grammar pool) looks like until long
after the documents are read. Finally, I want to have full access to the
PSVI information.
What I would like to know is, is there any way to perform