Improved text for C047

This is a last call comment from Björn Höhrmann (bjoern@hoehrmann.de) on
the Character Model for the World Wide Web 1.0
(http://www.w3.org/TR/2002/WD-charmod-20020430/).

Semi-structured version of the comment:

Submitted by: Björn Höhrmann (bjoern@hoehrmann.de)
Submitted on behalf of (maybe empty): 
Comment type: editorial
Chapter/section the comment applies to: 4.6 Character Escaping
The comment will be visible to: public
Comment title: Improved text for C047
Comment:
Section 4.6, Character Escaping

[...]
  C047 [I] [C] Escapes SHOULD be avoided when the characters to be
  expressed are representable in the character encoding of the document. 
[...]

I think <http://www.w3.org/TR/xslt-xquery-serialization/> provides a better rule in this regard, "Entity references and character references should be used only where the character is not present in the selected encoding, or where the visual representation of the character is unclear (as with &nbsp;, for example)", the wording should be adopted.

These rules also seem to suggest that I should use &#x0026; in place of &amp; in XML documents, it should be clarified that this is not meant.


Structured version of  the comment:

<lc-comment
  visibility="public" status="pending"
  decision="pending" impact="editorial" id="LC-">
  <originator email="bjoern@hoehrmann.de"
      >Björn Höhrmann</originator>
  <represents email=""
      >-</represents>
  <charmod-section href='http://www.w3.org/TR/2004/WD-charmod-20040225/#sec-Escaping'
    >4.6</charmod-section>
  <title>Improved text for C047</title>
  <description>
    <comment>
      <dated-link date="2004-04-08"
         href="http://www.w3.org/mid/552218892.20040408213425@toro.w3.mag.keio.ac.jp"
        >Improved text for C047</dated-link>
      <para>Section 4.6, Character Escaping

[...]
  C047 [I] [C] Escapes SHOULD be avoided when the characters to be
  expressed are representable in the character encoding of the document. 
[...]

I think &#x3C;http://www.w3.org/TR/xslt-xquery-serialization/&#x3E; provides a better rule in this regard, &#x22;Entity references and character references should be used only where the character is not present in the selected encoding, or where the visual representation of the character is unclear (as with &#x26;nbsp;, for example)&#x22;, the wording should be adopted.

These rules also seem to suggest that I should use &#x26;#x0026; in place of &#x26;amp; in XML documents, it should be clarified that this is not meant.</para>
    </comment>
  </description>
</lc-comment>

Received on Thursday, 8 April 2004 17:34:26 UTC