This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
fn-tokenize-6 result is escaped, should be "Some unparsed HTML <BR> text", is "Some unparsed HTML <BR> text"
(In reply to comment #0) > fn-tokenize-6 result is escaped, should be "Some unparsed HTML <BR> text", is > "Some unparsed HTML <BR> text" The "Text" comparison is pretty confusing but finally it was clarified last time that it means the same as "Fragment" (see bug #2402) so XML serialisation is still used, so the < needs to be escaped, and I think the supplied result is correct. (Note I'm not on the WG, but I went round this loop with the Text comparison examples last time round:-) The Catalog would be greatly improved if a global edit changing compare="Text" to Compare="Fragment" would be made. David
David: Thanks for the observation. I will leave the test as is and mark it as fixed. I will also check on your suggestion of globally changing "Text" to "Fragment. I think we discussed this, but do not recall what the outcome was. Thanks, Carmelo
For me the major difference at the moment is that Text can be compared without ignoring whitespace, where most of the Fragment tests are pretty printed. That's maybe something we should keep?