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
: Problem validating using XMLGrammarPool with different Grammars
with no namespace
Hi Adam,
If you want to debug it I would suggest putting breakpoints inside of
SoftReferenceGrammarPool [1]. Technically this grammar pool could dump some of
the grammars from the cache later (and then reload them
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
} catch (final URISyntaxException e) {
> // Preloading is just for convenience
> logger.warn("Error trying to preload
> grammar file "+grammar.toExternalForm(), e);
> }
> }
>}
>
>
> --
> Bill Michell
> Developm
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
}
--
Bill Michell
Development Team Leader, Broadcast Platforms, BBC FM&T (Journalism).
-Original Message-
From: Adam Retter [mailto:[EMAIL PROTECTED]
Sent: 10 November 2008 11:23
To: j-users@xerces.apache.org
Subject: Problem validating using XMLGrammarPool with different
Hi Chaps,
I am having some problems with XMLGrammarPool and I would like to
confirm the cause of this.
I think that it is because I have a number of different XML documents
that use different XML Schemas, and these all use the same namespace
i.e. no namespace.
When I create a new XMLGrammarPool
12 matches
Mail list logo