<?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>2319</bug_id>
          
          <creation_ts>2005-09-28 16:52:15 +0000</creation_ts>
          <short_desc>[XSLT 2.0] format-date/dateTime/time() recoverable errors</short_desc>
          <delta_ts>2005-10-01 16:27:40 +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>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Colin Adams">colin</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>6552</commentid>
    <comment_count>0</comment_count>
    <who name="Colin Adams">colin</who>
    <bug_when>2005-09-28 16:52:15 +0000</bug_when>
    <thetext>The test says:
&quot;In general, the use of an invalid picture, language, calendar, or country
argument is classified as a recoverable dynamic error, with the optional
recovery action being to output the value of the date, time, or dateTime in a
fallback representation.&quot;

Note however, that recovery is optional. If the processor chooses to report the
error and terminate, then what error code should it report?
There is no general-purpose recoverable error corresponding to XTDE0030.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6566</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-09-29 08:33:28 +0000</bug_when>
    <thetext>The phrase &quot;In general&quot; at the start of this paragraph is intended to indicate
that it makes a broad introductory statement, and that the normative detail of
which errors to raise under which conditions is given later.

In fact however the statement is out of date. We changed the error handling for
format-date so that errors that will always be errors under any processor are
non-recoverable errors, while attempts to use features that some processors
might support and others not support are no longer errors, and result in a
fallback action.

The cited paragraph needs to be updated to reflect this state of affairs. I will
treat this as an editorial change, and am therefore marking the issue fixed and
closed.

Michael Kay
as XSLT 2.0 editor</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6626</commentid>
    <comment_count>2</comment_count>
    <who name="Colin Adams">colin</who>
    <bug_when>2005-10-01 16:27:40 +0000</bug_when>
    <thetext>Note also that the calendar attribute is required to be a lexical QName
(although it is typed as xs:string?) if present.
So there should be a non-recoverable error code allocated to this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>