Maybe good to have this documented somehwere ... or is it already documented and I just missed it?


[EMAIL PROTECTED] wrote:

It is turnin out that the sequence of the schemaSource _IS_ important.
Can anyone else confirm this?



Yes. This is where the JAXP property differs from the Xerces one.

Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]



"Jesus M. Salvo Jr." To: [EMAIL PROTECTED] <[EMAIL PROTECTED] cc: sia.com> Subject: Re: schemaSource not working with an array of sources? 02/03/2003 07:51 PM Please respond to xerces-j-user




OK .. found the problem ..

It is turnin out that the sequence of the schemaSource _IS_ important.
If I change my code to say:

InputStream[] sources = {
    this.getClass().getResourceAsStream(
"/V5_5_0/schemas.xmlsoap.org.xml" )
    this.getClass().getResourceAsStream( "/V5_5_0/REL-5-MM7-1-2.xsd" ),
    };

... then things work as expected. ( e.g.: The parser no longer tries to
obtain the SOAP schema from http://scheams.xmlsoap.org )

Can anyone else confirm this?






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to