<?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>67</bug_id>
          
          <creation_ts>2002-11-12 23:28:11 +0000</creation_ts>
          <short_desc>Unescaped ampersands not caught</short_desc>
          <delta_ts>2002-11-15 03:27:58 +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.0b2</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>REMIND</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ville Skyttä">ville.skytta</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>142</commentid>
    <comment_count>0</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2002-11-12 23:28:11 +0000</bug_when>
    <thetext>Reported by &quot;elfin&quot;.  Here&apos;s a couple of samples:

&lt;http://koti.welho.com/vskytta/foo.html&gt;
&lt;http://koti.welho.com/vskytta/foo2.html&gt;

...and a possible fix follows.  Maybe the relationship between $File-&gt;{Is Valid}
and $File-&gt;{Errors} needs checking, it makes the code pretty hard to read in
various places.

--- check	2002/11/11 23:31:31	1.291
+++ check	2002/11/12 22:07:13
@@ -568,7 +568,7 @@
 
 if ($File-&gt;{ESIS}-&gt;[-1] =~ /^C$/) {
   undef $File-&gt;{ESIS}-&gt;[-1];
-  $File-&gt;{&apos;Is Valid&apos;} = TRUE;
+  $File-&gt;{&apos;Is Valid&apos;} = scalar(@{$File-&gt;{Errors}}) ? FALSE : TRUE;
 } else {
   $File-&gt;{&apos;Is Valid&apos;} = FALSE;
 }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143</commentid>
    <comment_count>1</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2002-11-14 22:27:58 +0000</bug_when>
    <thetext>Demoting a document to invalid based on these messages is not necessarily
correct. They&apos;re tagged as &quot;Warnings&quot; from OpenSP; probably because an entity
reference cannot be null and so these bare amperstands aren&apos;t actually entity
references, they&apos;re just a character that normally introduces one.

I&apos;ve added these warnings to the output for Valid documents until we figure out
what the canon has to say.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>