On Tue, Feb 03, 2009 at 01:54:17PM +0530, [email protected] wrote:
> Thanks Rabi, but im afraid it is not working. I tried both options 0 and 1 
> with xmlReaderForFile ( ) but the parser exits when if finds the special 
> character. Kindly advice. 

  It's a fatal error and unless you know the encoding of the file
(in which case you can provide it to the parser (encoding when creating
the reader), if it's not indicated in the XML or if the informations
are wrong the XML specification says the parser must stop immediately
because the document is not XML.
  Either you have the encoding incormation at parse time or it's not
XML and the only advice is to report the error.

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