axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Wiedmann <...@ispsoft.de>
Subject Re: how to handle more than one schema in type (DOM->JAXME)
Date Fri, 07 Nov 2003 07:02:59 GMT
Quoting Srinath Perera <hemapani@vijayaba.cse.mrt.ac.lk>:

> this is a unreasonable request, Is there a posibility of accepting a dom
> Node[] and only validate after parse all the dom nodes.
> 
> the reason to this request is wsdl can have more than one schma's and
> they can have cross dependencies. 
> 
> spec says..
> <wsdl:types> ?
>         <wsdl:documentation .... />?
>         <xsd:schema .... />*
>         <-- extensibility element --> *
> </wsdl:types>
> 
> In that point I tried to  treat the other nodes as imports, but you can
> import URI
> not a DOM node. :(

Would the ability to import a DOM node solve your issue? I have just today
added a method

    XSParser.addImport(String namespace, String schemaLocation);

as a shortcut for inclusion of SOAP data types. Now we have that, it's a
trivial matter to include other data types.


Jochen


Mime
View raw message