<?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>5667</bug_id>
          
          <creation_ts>2008-04-29 01:31:02 +0000</creation_ts>
          <short_desc>[XSLT 2.0] Character maps and validation</short_desc>
          <delta_ts>2008-09-28 10:08:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 2.0</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></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="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>19978</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-04-29 01:31:02 +0000</bug_when>
    <thetext>We should provide a warning that using character maps (or disable-output-escaping) on an output document that is being validated against a schema is fundamentally unsound; in such a case the fact that the result tree is valid (or invalid) does not prove that the serialized output will be valid (or invalid).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21130</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-07-10 16:47:18 +0000</bug_when>
    <thetext>On 10 July 2008 the editor was asked to draft a (non-normative) note for this</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21140</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-07-10 20:44:32 +0000</bug_when>
    <thetext>Proposal: 

(1) add the following Note at the end of 20.1

Note: When character maps are used, there is no guarantee that the serialized output will be well-formed XML (or HTML). Furthermore, the fact that the result tree was validated against a schema gives no guarantee that the serialized output will still be valid against the same schema. Conversely, it is possible to use character maps to produce schema-valid output from a result tree that would fail validation.

(2) add the following Note at the end of 20.2

Note: When disable-output-escaping is used, there is no guarantee that the serialized output will be well-formed XML (or HTML). Furthermore, the fact that the result tree was validated against a schema gives no guarantee that the serialized output will still be valid against the same schema. Conversely, it is possible to use disable-output-escaping to produce schema-valid output from a result tree that would fail validation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22056</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-09-28 10:08:48 +0000</bug_when>
    <thetext>The proposed non-normative notes have been incorporated as erratum E27.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>