Re: [xml] parse &

Thanks for your reply. Yes, you are right. The SAXHandler does the parsing
job differently. I just fixed the problem in my code.

On Thu, 15 Jul 2004, Daniel Veillard wrote:

On Wed, Jul 14, 2004 at 11:38:31PM -0400, Fengguang Song wrote:

I'm using xmlParseChunk() and xmlSAXHandler to parse xml files. When my
file has some strings of &, the parser just ingore it and no "&" is
returned. Anybody knows the reason? Any hint will be appreciated!

  This does not match 1/ expectations 2/ existing behaviour of the
parser in other tools like xmllint.
  To get us to explore the issue, please follow the guidelines
exposed at . If you can't reproduce
the problem with existing libxml2 code, then it's very likely the
bug is in your code, especially if you provide your own SAX handler.


Fengguang Song                  Office: 307 Claxton Complex
Department of Computer Science           (865) 974-0517 (O)
University of Tennessee, Knoxville 37996-3450

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