Reference in Attribute Value

Dear XML editor,

Below is a comment on the Extensible Markup Language (XML) 1.0 (Second
Edition). I hope this is useful.


Sincerely,

Mike McCaleb




Problem: Text in section 4.4 states:

       Reference in Attribute Value

              as a reference within either the value of an attribute in
              a start-tag, or a default value in an attribute
              declaration; corresponds to the nonterminal AttValue.


I assume that since Reference in Attribute Value pertains to a reference
within the value of an attribute in a start-tag, it also pertains to a
reference within the value of an attribute in an empty-element tag. If this
is the case, it should be explicitly stated in the specification.

Proposed Solution:

Change:

       as a reference within either the value of an attribute in a
       start-tag, or a default value in an attribute declaration;
       corresponds to the nonterminal AttValue.

to

       as a reference within either a default value in an attribute
       declaration, or the value of an attribute in a start-tag or
       empty-element tag; corresponds to the nonterminal AttValue.


---------------------------------

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="GENERATOR" content="Mozilla/4.76 (Macintosh; U; PPC) [Netscape]">
   <title>XML Comments.html</title>
</head>
<body>
Dear XML editor,
<p>Below is a comment on the Extensible Markup Language (XML) 1.0
(Second Edition). I hope this is useful.
<br>&nbsp;
<p>Sincerely,
<p>Mike McCaleb
<br>&nbsp;
<p>
<hr WIDTH="100%">
<br><b>Problem:</b> Text in section 4.4 states:
<blockquote>Reference in Attribute Value</blockquote>

<blockquote>
<blockquote>as a reference within either the value of an attribute in a
start-tag, or a default value in an attribute declaration; corresponds
to the nonterminal AttValue.</blockquote>
</blockquote>

<p><br>I assume that since Reference in Attribute Value pertains to a reference
within the value of an attribute in a start-tag, it also pertains to a
reference within the value of an attribute in an empty-element tag. If
this is the case, it should be explicitly stated in the specification.
<p><b>Proposed Solution:</b>
<p>Change:
<blockquote>as a reference within either the value of an attribute in a
start-tag, or a default value in an attribute declaration; corresponds
to the nonterminal AttValue.</blockquote>
to
<blockquote>as a reference within either a default value in an attribute
declaration, or the value of an attribute in a start-tag or empty-element
tag; corresponds to the nonterminal AttValue.</blockquote>
<p>
<hr WIDTH="100%">
</body>
</html>

Received on Wednesday, 29 November 2000 14:43:22 UTC