XML 1.0 5e: superfluous whitespace inside quotation marks

Hello,

in some cases, superfluous whitespace appears after an opening or before
a closing (straight) quotation mark (‘"’). See, for example, one
paragraph below http://www.w3.org/TR/2008/REC-xml-20081126/#dt-chardata:
“The ampersand character (&) and the left angle bracket (<) […] MUST be
escaped using […] the strings " &amp; " and " &lt; " respectively.”

Someone reading that text might interpret that as to include the space
before/after ‘&amp;’ or ‘&lt;’. I think the extra whitespace should be
removed.

There are more occurrences of such extra whitespace.

This seems to originate in the XML source[1]; look for usages of the
‘quote’ element. Either the extra whitespace should be removed there, or
the processing of whitespace after an opening or before a closing
‘quote’ tag should be changed.

[1] http://www.w3.org/TR/2008/REC-xml-20081126/REC-xml-20081126.xml

Thanks,
-- 
Nico

Received on Tuesday, 16 February 2010 22:58:56 UTC