<?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>3642</bug_id>
          
          <creation_ts>2006-08-31 01:48:49 +0000</creation_ts>
          <short_desc>Show preparse warnings even in case of fatal errors</short_desc>
          <delta_ts>2006-10-12 04:31:48 +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>Templates</component>
          <version>0.7.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/www-validator/2006Aug/0127</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.7.3</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>11334</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2006-08-31 01:48:49 +0000</bug_when>
    <thetext>Example case:
* document without declared encoding at any level, encoded in e.g latin1
* validator preparses, finds no encoding, throws warning, defaults to utf8
* decoding errors, validator throws fatal error
* output shows only fatal error.

The warning about lack of encoding should be shown, too.
Need to fix template order/logic.

Targeting upcoming 0.7.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12403</commentid>
    <comment_count>1</comment_count>
      <attachid>441</attachid>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2006-10-12 04:18:38 +0000</bug_when>
    <thetext>Created attachment 441
HTML document encoded in iso-8859-1, no charset or doctype declared</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12404</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2006-10-12 04:31:48 +0000</bug_when>
    <thetext>Fixed in current 0.7 code (ready for 0.7.3 release as targeted) and in the next development version as well.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>441</attachid>
            <date>2006-10-12 04:18:38 +0000</date>
            <delta_ts>2006-10-12 04:18:38 +0000</delta_ts>
            <desc>HTML document encoded in iso-8859-1, no charset or doctype declared</desc>
            <filename>3642.html</filename>
            <type>text/html</type>
            <size>907</size>
            <attacher name="Olivier Thereaux">ot</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgPGhlYWQ+CiAgICA8dGl0bGU+QnVnIDM2NDIgLSBTaG93IHByZXBhcnNlIHdhcm5p
bmdzIGV2ZW4gaW4gY2FzZSBvZiBmYXRhbCBlcnJvcnM8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9k
eT4KICA8cD5UaGlzIGlzIOngIHRlc3QgZm9yICAKICA8YSBocmVmPSJodHRwOi8vd3d3LnczLm9y
Zy9CdWdzL1B1YmxpYy9zaG93X2J1Zy5jZ2k/aWQ9MzY0MiI+QnVnIDM2NDIKU2hvdyBwcmVwYXJz
ZSB3YXJuaW5ncyBldmVuIGluIGNhc2Ugb2YgZmF0YWwgZXJyb3JzPC9hPgo8L3A+Cgo8cD5FeGFt
cGxlIGNhc2U6PC9wPgo8dWw+CjxsaT4gZG9jdW1lbnQgd2l0aG91dCBkZWNsYXJlZCBlbmNvZGlu
ZyBhdCBhbnkgbGV2ZWwsIGVuY29kZWQgaW4gZS5nIGxhdGluMTwvbGk+CjxsaT4gdmFsaWRhdG9y
IHByZXBhcnNlcywgZmluZ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