Re: [xml] xmlParseFile;encode - newbie question



On Wed, Feb 23, 2005 at 12:55:40PM +0200, Pieter Louw wrote:
xml data:

....
<name>Murray & Karl</name>
....

  this is not XML. You cannot parse this with an XML parser, it must
raise an error and not deliver data. Whatever generating this must be fixed.

  You probably need
    <name>Murray &amp; Karl</name>

  this is not specific to libxml2.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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