<?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>21035</bug_id>
          
          <creation_ts>2013-02-18 10:29:29 +0000</creation_ts>
          <short_desc>[XPROC10] Dynamic errors and XD0030</short_desc>
          <delta_ts>2014-03-05 15:27:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Processing Model</product>
          <component>Pipeline language</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></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="Tim Mills">tim</reporter>
          <assigned_to name="Norman Walsh">ndw</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83258</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2013-02-18 10:29:29 +0000</bug_when>
    <thetext>Error XD0030 covers the general condition of step failure.

&quot;It is a dynamic error (err:XD0030) if a step is unable or incapable of performing its function. This is a general error code for “step failed” (e.g., if the input isn&apos;t of the expected type or if attempting to process the input causes the implementation to abort). Users and implementors who create extension steps are encouraged to use this code for general failures.&quot;

Does this mean that exceptions raised by invocation of steps such as XQuery or XSLT should be converted to XD0030, or should such errors pass through so that they can be caught by an XProc p:catch?



If the latter, it is odd that XSLT errors XTDE0040 and XTDE0045 should be converted to XC0056.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101904</commentid>
    <comment_count>1</comment_count>
    <who name="Norman Walsh">ndw</who>
    <bug_when>2014-03-05 15:27:27 +0000</bug_when>
    <thetext>The WG&apos;s position has been that errors do not have to be consistent across implementations; that was viewed as too large a burden to impose. The spec, alas, appears not to say that anywhere. We&apos;ll fix that.

The error XD0030 is a &quot;standard&quot; escape hatch for errors that don&apos;t have a more specific error code. Impls are free to provide more specific/better error codes. We suggest such codes for some errors in some steps.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>