[xml] Parsing Invalid XML Document



 
HI,

I am using xmlParseFile() function for parsing an XML Document, i am giving a wellformed and Invalid XML Document(which is not compliant to a given DTD) as an input.
   
xmlParseFile() function is returning xmlDocPtr even though the XML Document is not valid.

I need clarification why xmlParseFile() function returns xmlDocPtr even when the XML Document is not Valid, any reason why this is made like this.

Thanks & Regards,
Satish.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]