schemaSource not working with an array of sources? 2003-02-04 - By Jesus M. Salvo Jr.
Maybe good to have this documented somehwere ... or is it already documented and I just missed it?
sandygao@(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 >sandygao@(protected) > > > > > "Jesus M. Salvo > Jr." To: xerces-j-user@(protected) .apache.org > <jesus.salvo@(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: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|