xml Validate error (Cannot find the declaration of element)

webmasterbeta

New Member
I have some xml that's not validating. It returns the following error:

Cannot find the declaration of element 'soap:Envelope'

I've tried stripping out all the xml I can and it still returns the same error.
Here is the basic xml I have:

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header>
</soap:Header>
<soap:Body>
</soap:Body>
</soap:Envelope>

How do I declare soap:Envelope so I may validate it?

(I've tried several on-line validation tools, including this one: <!-- m --><a class="postlink" href="http://www.stg.brown.edu/service/xmlvalid/">http://www.stg.brown.edu/service/xmlvalid/</a><!-- m --> )

Thank you for any advice and help.
 
Back
Top