<?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>2131</bug_id>
          
          <creation_ts>2005-09-11 05:18:51 +0000</creation_ts>
          <short_desc>Fatal error handling for non-HTML output formats</short_desc>
          <delta_ts>2007-05-17 04:28:22 +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>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://validator.w3.org/check?uri=http://example.invalid&amp;output=n3</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bj">bjoern</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>6071</commentid>
    <comment_count>0</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2005-09-11 05:18:51 +0000</bug_when>
    <thetext>http://validator.w3.org/check?uri=http://example.invalid&amp;output=n3

&quot;end of document in prolog&quot; might not be the best way to handle this; HEAD 
inherits this problem from 0.7.x; I&apos;m not sure though what should be done here, 
the non-HTML output modes are not really designed to handle this as yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6715</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2005-10-18 07:28:21 +0000</bug_when>
    <thetext>The XML (soon-to-be soap) output has &quot;fault&quot; messages for this exact purpose. Not sure about earl/n3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14557</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-03-28 01:47:11 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; The XML (soon-to-be soap) output has &quot;fault&quot; messages for this exact purpose.
&gt; Not sure about earl/n3.

Earl output will be updated in the near future, with the update of the earl spec.
Targeting a future release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15102</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-05-17 04:28:22 +0000</bug_when>
    <thetext>Note on the issue: the brokenness mostly comes from sub abort_if_error_flagged() which does not take into account outputs other than html. 

The issue is somewhat alleviated for the soap output by a hack that passes all the File-&gt;{Templates}-&gt;{Error}-&gt;param()s to the SOAPFault template, but it would be good to rewrite this with a cleaner model where:

* for all of validation parameters are passed to only two html::template objects (output and fatal error) - or only one.
* at output time, the template is assigned to a specific output</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>