<?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>857</bug_id>
          
          <creation_ts>2004-09-01 11:09:08 +0000</creation_ts>
          <short_desc>DOCTYPE Override should take XML Decl into account.</short_desc>
          <delta_ts>2008-12-01 03:03:10 +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.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://validator.w3.org/check?fragment=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%0D%0A%3Csvg+%2F%3E%0D%0A&amp;doctype=SVG+1.1</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>740</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Terje Bless">link</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          <cc>aaz</cc>
          
          <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>2190</commentid>
    <comment_count>0</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2004-09-01 11:09:08 +0000</bug_when>
    <thetext>cf. Bug #740.

The DOCTYPE Override feature should take any existing XML Declaration into
account when inserting a new DOCTYPE into a file that does not allready have
one. If the original has a DOCTYPE, the override should continue to insert
the new DOCTYPE in the same place as the original, regardless of any XML Decl.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16419</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-07 07:31:12 +0000</bug_when>
    <thetext>looking at sub override_doctype and applying karl&apos;s idea that the doctype declaration we sneak in should not be at the beginning of the doc, but rather, just before the root element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16420</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-07 07:42:14 +0000</bug_when>
    <thetext>Should be fixed with:
http://lists.w3.org/Archives/Public/www-validator-cvs/2007Sep/0044.html

test case added:
http://lists.w3.org/Archives/Public/www-validator-cvs/2007Sep/0045.html
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>