Hi Simon, simon.zu...@blum.com wrote on 10/01/2009 07:50:35 AM:
> > Hi all, > > I have a little problem concerning WSDL files and the XML Schema > API. I parse WSDL files using the WSDL4J library. That works great > except for the fact that WSDL4J can't parse XML schemes. > > So i wanted to analyze the xml schemes defined in the <types> > section of the WSDL with the XML Schema API. Where do i get started? > I can't use the XMLGrammarPreparse because the WSDL file itself is > not a XML scheme. I just have an org.w3c.dom.Element where the scheme starts. You can use XMLGrammarPreparser. Just pass it a DOMInputSource [1] containing the Element at the root of the schema. > Thanks & Kind Regards > Simon Thanks. [1] http://xerces.apache.org/xerces2-j/javadocs/xerces2/org/apache/xerces/util/DOMInputSource.html Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org