Document is invalid: no grammar found.
Document root element "wsdl:definitions", must match DOCTYPE root "null".
After this error I included
xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
http://schemas.xmlsoap.org/wsdl/wsdl.xsd
http://www.w3.org/2001/XMLSchema
http://www.w3.org/2001/XMLSchema.xsd"
Where I have the mapping setup in the System ID catalogs. Now it recognizes "http://schemas.xmlsoap.org/wsdl/" but not "http://www.w3.org/2001/XMLSchema". Here is the complete file:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
http://schemas.xmlsoap.org/wsdl/wsdl.xsd
http://www.w3.org/2001/XMLSchema
http://www.w3.org/2001/XMLSchema.xsd">
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema">
<!-- The plan is to get TagInsight working here -->
</xsd:schema>
</wsdl:definitions>
Borland's Ken Chan provided this work-around.
Note that I have substituted <xxxx> where the
original question had a specific server name.
You will have to replace that.
Hopefully, the following snippet solves your problem.
> Xerces apparently does not inherently recognize the schema of
> schemas, per se. Perhaps it should. (Most editors, including
> JBuilder, do something internally.) If you actually declare it:
>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://www.<xxxx>.com"
> xmlns="http://www.<xxxx>.com"
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
> http://www.w3.org/2001/XMLSchema.xsd"
>
> elementFormDefault="qualified">
>
>
> it validates.
>
> //Ken
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://www.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.