[jdom-interest] Getting schema validation working withoutenabling Xerces namespace support. How?

Christophe D. Laprun chris.laprun at nist.gov
Wed Sep 13 10:00:57 PDT 2000


Elliotte Rusty Harold wrote:
> 
> At 1:37 PM +0200 9/13/00, Travers Waker wrote:
> 
> >
> >I might be wrong, but I get the impression that Jason's reply implies that
> >schema validation still works when Xerces namespace handling is disabled
> >because JDOM does its own namespace handling.  However, this is definitely
> >not my experience (the schema is ignored when Xerces namespace handling is
> >disabled) .  So, how does one get schema validation working without enabling
> >Xerces namespace handling?
> >
> 
> I'm not sure if I've quite got my head around this problem yet, so I
> may be misunderstanding just what the real issue is, but if I'm not,
> I think I can answer you.

I think that the real issue is that the "namespaces" property that
enables Xerces to handle Namespaces is hardwired to false in SAXBuilder
thus preventing correct handling of Schemas in JDOM. The question is
(from my point of view at least): why is it hardwired to false ? Why
isn't there any possibility to programmatically set this in JDOM ? What
are the consequences on the whole API to set this to true ?

Chris

-- 
Christophe Laprun    [Ingenieur ISIMA, France / Guest researcher @NIST]
web: http://www.nist.gov/speech/staff/laprunch.htm
email: chris.laprun at nist.gov
phone: (301) 975 3191             fax: (301) 670 0939
--
The universe seems neither benign nor hostile, merely indifferent -
Sagan



More information about the jdom-interest mailing list