- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Sat, 20 Aug 2022 11:04:17 +0000
- To: ixml <public-ixml@w3.org>
Received on Saturday, 20 August 2022 11:04:33 UTC
During a code review, I spotted something I thought I did wrong: proper
serialisation of encoded characters. Here's a nice test:
element: @attribute, -content.
attribute: -content.
content: +#26, +#22, +#27, +#3C, +#3E,
#26, #22, #27, #3C, #3E.
with input
&"'<>&"'<>
You should get output along the lines of
<element
attribute='&"'<>&"'<>'>&"'<>&"'<></element>
(To my surprise, I seem to do it right)
Steven
Received on Saturday, 20 August 2022 11:04:33 UTC