W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2006

[Bug 2441] xqx: character references

From: <bugzilla@wiggum.w3.org>
Date: Fri, 29 Sep 2006 10:36:36 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GTFjQ-0003VN-Ph@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2441





------- Comment #20 from davidc@nag.co.uk  2006-09-29 10:36 -------
(In reply to comment #18)

> Given these descriptions, one possible algorithm, for example, is to process a
> string
> by first applying all entity ref replacements, and then all the character
> reference replacements on the resulting string. Which is what at least
> one processors I tried appears to do.


The spec does not explictly say that algorithm is not used, but it can not list
all possible non-used algorithm. if such double parsing were to be used the
string "&amp;" would, like the string "&" be a syntax error (unterminated
reference, element content of &lt;a/&gt; would generate an element node, etc.
There is no way that the spec can be interepreted in that way.

David
Received on Friday, 29 September 2006 10:36:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:15 UTC