At 02:15 05/08/23, A. Pagaltzis wrote:
>Using a character which is illegal in XML and can never be part >of a well-formed document as a separator is a clever way to avoid >having to do *any* parsing *whatsoever*. You just scan the stream >for the character and start over when you see it, end of story. >No need to keep state or look for patterns or anything else. Well, modulo character encoding issues, that is. An FF will look differently in UTF-16 than in ASCII-based encodings.Regards, Martin.