expat throws wrong error message

Mukhesh TVR <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Hi All,

I am using expat 2.0, and trying to parse the following xml-string.
"<envelope><soap:header> testing soap </soap:header></envelope>"

And, I get an error "must not undeclare prefix".
But, I expect error like "unbound prefix" as the prefix 'soap' is not bound to any URI.

Can somebody help in solving this ?

regards,
Mukhesh.



 
____________________________________________________________________________________
Sponsored Link

Don't quit your job - take classes online
www.Classesusa.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.