<?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>2342</bug_id>
          
          <creation_ts>2005-10-14 11:05:43 +0000</creation_ts>
          <short_desc>opensp warning of type &quot;X&quot; triggers invalid report</short_desc>
          <delta_ts>2007-02-22 05:42:45 +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.7.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://qa-dev.w3.org/wmvs/HEAD/dev/tests/2342-opensp_type_X.html</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="Olivier Thereaux">ot</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6693</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2005-10-14 11:05:43 +0000</bug_when>
    <thetext>A document I was testing caused the following warning:

      /usr/bin/onsgmls:&lt;OSFD&gt;0:73:109:3086863860.183:X: reference to non-existent ID &quot;FOO&quot;

As far as I can tell (but can&apos;t find much doc on it) X is a type of warning like W and Q, and unlike E which 
are errors. Our algorithm for documents with only warnings is to report a valid result and output the 
warning, e.g http://qa-dev.w3.org/wmvs/HEAD/dev/tests/ampersand-as-data.html

However in this case the result was 
Failed validation, 0 error
Which is, well... wrong.

My knowledge or parse() and parse_errors() did not help me find the cause of this. Any idea? 

Note that the development version 0.8dev (based on S::P::O) did not show this behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6694</commentid>
    <comment_count>1</comment_count>
      <attachid>395</attachid>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2005-10-14 11:07:20 +0000</bug_when>
    <thetext>Created attachment 395
xmlspec sample doc with ref to missing id</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14050</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-02-22 05:42:45 +0000</bug_when>
    <thetext>Code in the 0.8 branch properly categorizes type X messages from openSP as warnings. See test case in URI.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>395</attachid>
            <date>2005-10-14 11:07:20 +0000</date>
            <delta_ts>2005-10-14 11:07:20 +0000</delta_ts>
            <desc>xmlspec sample doc with ref to missing id</desc>
            <filename>Background.xml</filename>
            <type>application/xml</type>
            <size>295</size>
            <attacher name="Olivier Thereaux">ot</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGRpdjIgU1lTVEVNICJodHRwOi8vd3d3LnczLm9yZy8yMDAyL3htbHNwZWMvZHRk
LzIuMTAveG1sc3BlYy5kdGQiPgo8ZGl2MiBpZD0iQmFja2dyb3VuZCI+PGhlYWQ+SGVsbG88L2hl
YWQ+CgoKPGRpdjMgaWQ9IkRGUCI+PGhlYWQ+d29ybGQ8L2hlYWQ+CgoKPGRpdjQgaWQ9IkRGUDIi
PgogIDxoZWFkPlJlbGF0aW9uc2hpcCB0byBvdGhlciBBcHByb2FjaGVzPC9oZWFkPgoKPHA+Zm9v
IGJhciAgPGJpYnJlZiByZWY9Ik1NSUFSQ0giLz4gb2ggaGkhPC9wPgo8L2RpdjQ+CjwvZGl2Mz4K
CjwvZGl2Mj4KCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>