On Fri, Nov 05, 2010 at 11:32:56AM +0800, zuding, li wrote:
> Hi Guys,
> 
> I used xmlReadFile operation to parser a xml file responded from microsoft
> analsys sevices, the file contains both DTD(format defination) & data
> content. But I find xmlReadFile can not successfully identify the DTD
> content within the XML file.
> 
> Your idea is very appreciated!
> 
> Thanks :)
> 
> PS: XML file & my code.
> 1. The XML file:
> <?xml version="1.0"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>

  SOAP doesn't have DTD, it actually "forbids" use of DTD or internal
subset, I think you're confused about terminology and how SOAP or
DTD validation is supposed to work.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
[email protected]  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to