Lists Home |
Date Index |
- From: Sean McGrath <firstname.lastname@example.org>
- To: Rick JELLIFFE <email@example.com>, firstname.lastname@example.org
- Date: Tue, 01 Aug 2000 17:38:57 +0100
>> The only way to process them would be to do so *lexically*.
>> In shifting to a lexical based algorithm you would need to
>> basically *re-write* an XML parser in order to be sure
>> that you were identifying character entity references correctly
>> every time.
>You couldn't do it reliably: you could only guess based on some other
>out-of band information. (Such as a "character collection"
Sorry for being a bit dumb but you have lost me. If it cannot
be done reliably, how does an XML parser do it?
>And it means that you want the presence of a character reference to signify
>some processing instruction or semantic, it is tag abuse: use a PI or
>entityref or element.
It does not mean I want the presence of a character reference
to signify some processing instruction or semantic. Character
references exist in XML instances. I want to reliably find them.
Where is the tag abuse in that?
http://www.pyxie.org - an Open Source XML Processing library for Python