At 12:53 PM +0900 9/15/02, Andy Clark wrote:
Looking at the docs, though, it appears that these features are not documented. Hmmm... I'll have to fix that. But here's the features I was talking about:
http://apache.org/xml/features/scanner/notify-char-refs http://apache.org/xml/features/scanner/notify-builtin-refs
Is this really a good thing? I almost always finds code that depends on this to be seriously flawed code based on a mistaken notion of how XML works.
In the case of character references, the SAX LexicalHandler docs explicitly state "Note also that the boundaries of character references (which are not really entities anyway) are not reported."
--
+-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | [EMAIL PROTECTED] | Writer/Programmer | +-----------------------+------------------------+-------------------+ | XML in a Nutshell, 2nd Edition (O'Reilly, 2002) | | http://www.cafeconleche.org/books/xian2/ | | http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
