Thanks, that worked.
Edwin Goei <[EMAIL PROTECTED]> on 03/10/2001 18:38:43
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: No success using JAXP with Xerces to parse and validate a
schema
[EMAIL PROTECTED] wrote:
>
> I am trying to provide support for schemas to JAXP, because we have to
use
> JAXP as the interface to all our XML work..
>
> [snip]
>
> Does anyone have any ideas as to why this is so.
I would guess that you need to dbf.setNamespaceAware(true). See
http://xml.apache.org/~edwingo/jaxp-faq.html#XMLSchema for an outline of
a solution. Also, if you are using a newer version of 1.x xerces.jar,
you do not have to specify the implementation in a property. Just put
xerces.jar before any other parser jar file and instantiate the default
platform parser. This assumes you have not installed a different parser
as a java extension.
-Edwin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]