Re: [xml] Entity replacement not correct. !!



Hi,

 Also why do you use SAX ? It's a really bad API, unless you really
have good reasons to use it
Have some good reasons for this..n can't revert it now ;)

See warning at the bottom of:
  http://xmlsoft.org/entities.html

and
  http://xmlsoft.org/xmlreader.html

I had seen that ...but to me, it only warns against the usage difficulty for
non-predefined entities...my requirement is only to support the predefined
set..inclusive &.

Please let me know what should be done for this.. on SAX..Thnxs !!

Regards
Harbhanu

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: Thursday, March 08, 2007 3:55 PM
To: harbhanu
Cc: xml gnome org; ashutosh_p huawei com
Subject: Re: [xml] Entity replacement not correct. !!

On Thu, Mar 08, 2007 at 12:29:57PM +0530, harbhanu wrote:
Hi,

  We are using SAX parser for parsing .In our xml documents there are some
standard entities like < and & in the attribute for some elements

  Also why do you use SAX ? It's a really bad API, unless you really
have good reasons to use it, it's really not a wise pick when developping
new code with libxml2. See warning at the bottom of:
   http://xmlsoft.org/entities.html

and
   http://xmlsoft.org/xmlreader.html

Daniel
-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]