<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>120</bug_id>
          
          <creation_ts>2002-12-10 03:27:28 +0000</creation_ts>
          <short_desc>improve error message for ampersand (&amp;) in URI for xhtml</short_desc>
          <delta_ts>2005-06-17 23:56:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>0.6.1</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://validator.w3.org/check</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>0.7.0</target_milestone>
          
          <blocked>856</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ralf Hauser">hauser</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>302</commentid>
    <comment_count>0</comment_count>
    <who name="Ralf Hauser">hauser</who>
    <bug_when>2002-12-10 03:27:28 +0000</bug_when>
    <thetext>having an ampersand like
href=&quot;http://www.auscert.org.au/render.html?it=2260&amp;cid=1920 immediately causes
7 errors.
There is an &quot;explain&quot; link that takes me to
http://validator.w3.org/docs/errors.html#bad-entity, but even though it&apos;s second
&lt;li&gt; talks about using &amp;amp, its worrying about the missing semicolon in the end
and the true reason (http://www.htmlhelp.com/tools/validator/problems.html#amp)
is never mentioned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>389</commentid>
    <comment_count>1</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2003-03-01 14:15:40 +0000</bug_when>
    <thetext>Target 0.6.2; this wants a little thinking to avoid &quot;optimizing&quot; exclusively on
one of the possible reasons for this error message. At a minimum this error
explanation should include the WDG link and make clear the situation with &amp; in URIs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>493</commentid>
    <comment_count>2</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2003-05-24 07:21:12 +0000</bug_when>
    <thetext>Retargetting to 0.7; this fits nicely in with the general framework for
improving error messages planned for that timeframe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2207</commentid>
    <comment_count>3</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2004-09-01 13:18:28 +0000</bug_when>
    <thetext>Nominating for review for the 0.7.0 release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2281</commentid>
    <comment_count>4</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2004-09-08 02:42:14 +0000</bug_when>
    <thetext>AFAIK this was addressed in 0.6.5 with the &quot;error message explanations&quot; feature</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4279</commentid>
    <comment_count>5</comment_count>
    <who name="TarquinWJ">tarquinwj</who>
    <bug_when>2005-06-15 11:17:30 +0000</bug_when>
    <thetext>Re-opening, as this is the current error message:

&quot;Line 221, column 8: character &quot;&amp;&quot; is the first character of a delimiter but 
occurred as data

&lt;h2&gt;Foo &amp; Bar&lt;/h2&gt;

If you wish to include the &quot;&lt;&quot; character in your output, you should escape it as 
&quot;&amp;lt;&quot;. Another possibility is that you forgot to close quotes in a previous 
tag.&quot;

That was not an attempt to add a &lt; character - validator recognised it as a &amp; 
character, then gave the info for the &lt; character.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4292</commentid>
    <comment_count>6</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2005-06-17 23:56:37 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Re-opening, as this is the current error message:
&gt; 
&gt; &quot;Line 221, column 8: character &quot;&amp;&quot; is the first character of a delimiter but 
&gt; occurred as data
&gt; 
&gt; &lt;h2&gt;Foo &amp; Bar&lt;/h2&gt;

Strictly speaking, You are talking about the warning message for ampersand as data, *not* the error 
message for an ampersand in a URI. As such, your comment is more relevant to Bug 798 than this one.

If you want  to suggest a better warning message for ampersand as data, I  would recommend sending 
a message to the public list www-validator@w3.org - or opening a new issue on bugzilla.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>