[XML-SIG] Parsers and their behaviours

Lars Marius Garshol larsga@garshol.priv.no
09 Oct 2000 12:43:14 +0200

* Christian Ellguth
| Is there any documentation on the various XML-parsers and their
| capabilities ?  

No, not really.  It would be nice to produce this as part of the SAX
2.0 effort, but I'm afraid that will take some time.

| If I use the drv_xmlproc.SAX_XPParser in my script the parser
| continues to parse the file but all strings containing numerical
| representations of entities are shortened after the entity and the
| rest of the string is lost.

Most likely this is a bug in your script.  SAX allows parsers to call
the characters() method more than once for a single block of character
data and character references (and entity references) are just the
sort of thing that will cause a parser to call it more than once.

So most likely your script does not handle this case correctly.

--Lars M.