<?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>223</bug_id>
          
          <creation_ts>2003-06-11 12:42:08 +0000</creation_ts>
          <short_desc>Returns false error message</short_desc>
          <delta_ts>2003-06-16 13:30:59 +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>Parser</component>
          <version>0.6.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.intergraphics-decal.com/support/faq.asp</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Brunelle">bigstrawdog</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          <cc>ville.skytta</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>525</commentid>
    <comment_count>0</comment_count>
    <who name="John Brunelle">bigstrawdog</who>
    <bug_when>2003-06-11 12:42:08 +0000</bug_when>
    <thetext>when validating XML on the above url the inline javascript code

	if(v&lt;1)

returns the error message:

The content of elements must consist of well-formed character data or markup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>534</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2003-06-15 17:54:45 +0000</bug_when>
    <thetext>You should replace the &quot;&lt;&quot; with &quot;&amp;lt;&quot;.

But I can&apos;t reproduce your error message with the current validator or the beta,
instead they contain a warning &apos;Line 240, column 5: character &quot;&lt;&quot; is the first
character of a delimiter but occurred as data&apos;:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.intergraphics-decal.com%2Fsupport%2Ffaq.asp
http://validator.w3.org:8001/check?uri=http%3A%2F%2Fwww.intergraphics-decal.com%2Fsupport%2Ffaq.asp

Terje, shouldn&apos;t this be flagged as an error instead of a warning?  xmllint says:
http://www.intergraphics-decal.com/support/faq.asp:240: error: xmlParseStartTag:
invalid element name
        if(v&lt;1)
      ^
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535</commentid>
    <comment_count>2</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2003-06-15 18:20:27 +0000</bug_when>
    <thetext>Nope. This really is a warning as it can be reliably inferred fro context that
the STAGO &quot;&lt;&quot; is used as data in this instance. The warning is there because it
is potentially confusing and can easily lead to a situation where it cannot be
reliably inferred. (I&apos;m assuming you mislabelled the version as 0.7.0 instead of
0.6.1?)

Closing as INVALID. Feel free to reopen the bug if necessary John.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>536</commentid>
    <comment_count>3</comment_count>
    <who name="John Brunelle">bigstrawdog</who>
    <bug_when>2003-06-16 09:30:59 +0000</bug_when>
    <thetext>Thanx for your help, will make the change to my code.  
Just curious as to why the Validator even bothers to examine the code between 
the &lt;script&gt;&lt;/script&gt; tags. Don&apos;t browsers that don&apos;t support javascript (cell 
phones and pda&apos;s etc.) do exactly that??</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>