OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XML schema support in JAXP

Yes and no. To my knowledge, Crimson, the parser that comes with JAXP1.1
does not support Schema and may never do so. However Xerces 1.4 and
greater do. 

I *think* that current versions of Xerces conform to the JAXP1.1 spec,
and if so,  you can plug it in instead of Crimson, and carry on using
JAXP the same way. You will have to read the JAXP docs, I believe this
is a system property or something similar. 

You will, however, have to set some special parameter to get Xerces to
actually do Schema validation. Consult the Xerces docs.

> -----Original Message-----
> From:	Zehavi, Gil [SMTP:Gil_Zehavi@icomverse.com]
> Sent:	Thursday, August 02, 2001 4:40 PM
> To:	'xml-dev@lists.xml.org'
> Subject:	XML schema support in JAXP
> Hi,
> I'm working with JAXP 1.1 and I need to parse a XML file that has a
> schema. Is there a support for XML schema when working with JAXP (I'm
> using
> DOM)? If so, which parser should I use and how do I configure JAXP to
> use
> that parser?
> Thanks,
> Gil
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> The list archives are at http://lists.xml.org/archives/xml-dev/
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@lists.xml.org