idator attempts to use
> > > the schema 1.xsd.
> > >
> > > I may have missed something? Or there may be another approach that I
> > > have not seen?
> > >
> > > Otherwise, I would be happy to work with the Xerces team to fix this
> > > problem
e being loaded
> once and then re-loaded from the Cache?
>
> Thanks Adam.
>
> From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: 11 November 2008 12:29
> To: j-users@xerces.apache.org
> Cc: Adam Retter
> Subject: RE: Problem validating using XMLGrammarPool with di
om: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: 11 November 2008 12:29
> To: j-users@xerces.apache.org
> Cc: Adam Retter
> Subject: RE: Problem validating using XMLGrammarPool with different
> Grammars with no namespace
>
> Hi Adam,
>
> Try using the SchemaFac
Glavassevich [mailto:[EMAIL PROTECTED]
Sent: 11 November 2008 12:29
To: j-users@xerces.apache.org
Cc: Adam Retter
Subject: RE: Problem validating using XMLGrammarPool with different Grammars
with no namespace
Hi Adam,
Try using the SchemaFactory.newSchema() method. The one which takes no
collide - I know I am not the only person who has
> experiences issue.
>
> I would propose that the Schemas location should be used for
> comparison, falling back to the namespace if no location exists.
Thoughts?
>
> How can we move this forward please?
>
>
> Thanks
el Glavassevich [mailto:[EMAIL PROTECTED]
Sent: 10 November 2008 16:56
To: j-users@xerces.apache.org
Subject: RE: Problem validating using XMLGrammarPool with different Grammars
with no namespace
Hi Adam,
"Adam Retter" <[EMAIL PROTECTED]> wrote on 11/10/2008 11:00:53 AM:
> Than
Hi Adam,
"Adam Retter" <[EMAIL PROTECTED]> wrote on 11/10/2008 11:00:53
AM:
> Thanks for the reply Michael,
>
> Regarding the JAXP Validation API - I don't really understand how I
> can use that with XMLReader for document parsing and validation
> using SAX. Any ideas?
Start with a SAXParserFact
particular namespace.
Thanks
From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
Sent: 10 November 2008 14:36
To: j-users@xerces.apache.org
Cc: Bill Michell
Subject: RE: Problem validating using XMLGrammarPool with different Grammars
with no namespac
> All documents come in through one entry point in a Servlet (so
> effectively multithreaded)
>
>
> Thanks Adam.
>
>
>
> -Original Message-
> From: Bill Michell [mailto:[EMAIL PROTECTED]
> Sent: 10 November 2008 12:03
> To: j-users@xerces.apache.org
&g
chell [mailto:[EMAIL PROTECTED]
Sent: 10 November 2008 12:03
To: j-users@xerces.apache.org
Subject: RE: Problem validating using XMLGrammarPool with different
Grammars with no namespace
I hit this crazy bit of schema design myself.
If you create one parser per schema document, you can give eac
I hit this crazy bit of schema design myself.
If you create one parser per schema document, you can give each one its
own caching grammar pool, and re-use them from document to document.
Of course, things are even more fun if you are parsing from multiple
threads.
It is possible to share the cac
11 matches
Mail list logo