<?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>5649</bug_id>
          
          <creation_ts>2008-04-21 16:58:05 +0000</creation_ts>
          <short_desc>[XSLT 2.0] unparsed-text(): error handling for when $encoding is not an XML Declaration is unclear</short_desc>
          <delta_ts>2008-10-07 12:40:54 +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>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</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="Frans Englich">frans.englich</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>19896</commentid>
    <comment_count>0</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-04-21 16:58:05 +0000</bug_when>
    <thetext>Section 16.2 Reading Text Files reads:

The $encoding argument, if present, is the name of an encoding. The values for this attribute follow the same rules as for the encoding attribute in an XML declaration. 

Two comments:

* Editorial: &quot;The values for this attribute&quot;. Possibly &quot;argument&quot; was meant instead of &quot;attribute&quot;.

* It says the value should be the same as of an XML declaration, but doesn&apos;t specify what the implementation should do if the argument is outside that lexical space. Maybe it&apos;s only an informal suggestion(don&apos;t know how useful that would be though), but the use of the word &quot;rules&quot; suggest otherwise. Clarification could be useful here. If it&apos;s supposed to be a hard error, an error code should probably be specified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19897</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-04-22 12:10:47 +0000</bug_when>
    <thetext>(Personal comment). It&apos;s arguably covered in that the description of XTDE1190 &quot;includes the case where the processor does not support the requested encoding&quot;; one could argue that if the requested encoding is invalid then the processor will not support it and can therefore raise this error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19955</commentid>
    <comment_count>2</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2008-04-28 08:18:45 +0000</bug_when>
    <thetext>Yes, that is a way to infer it.

It requires maybe a bit of good will. I would agree this is too minor, I&apos;m rejecting.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>