Re: Resolving xml schemas includes for validation

2006-12-22 Thread Bengali Bengali
Even if I am not sure how to synthesize schemas at runtime that's what i'll try to do. (wsdl4j seems to do such thing) Thanks Luc On 12/20/06, Michael Glavassevich <[EMAIL PROTECTED]> wrote: You could synthesize a schema document at runtime which includes each of the schema documents with the

Re: Resolving xml schemas includes for validation

2006-12-20 Thread Michael Glavassevich
You could synthesize a schema document at runtime which includes each of the schema documents with the same target namespace and pass that to Xerces. This should work with Xerces 2.6.2 but would probably be easier to do with a more recent release which supports JAXP 1.3 and has far fewer schema

Resolving xml schemas includes for validation

2006-12-19 Thread Bengali Bengali
Hi, I 'd like to validate a XML message with external schemas but i need to respect the following constraints: - I can not modify XML schemas files. They use xml:include under the same targetnamespace. - it has to run on xerces 2.6.2 - XML schemas are included in Jar of wars so they should loade