<?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>2447</bug_id>
          
          <creation_ts>2005-11-04 09:08:52 +0000</creation_ts>
          <short_desc>XPST0008 and XPST0081 used interchangeably</short_desc>
          <delta_ts>2006-02-14 00:20:28 +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>XPath 2.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Don Chamberlin">chamberl</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>7026</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-11-04 09:08:52 +0000</bug_when>
    <thetext>Previously raised on internal WG lists by Michael Kay at

http://lists.w3.org/Archives/Member/w3c-xsl-query/2005Nov/0000.html

and previously by Jonathan Robie at

http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2005Oct/0024.html


The two error codes XPST0008 and XPST0081 used interchangeably when an
expression contains a QName whose prefix has not been declared. There are
conflicting statements about which should be used in a particular context. 

Section 2 Basics makes a general statement that XPST0081 is used for this
condition, and there are specific mentions for computed element and
attribute constructors, pragmas, and option declarations. However section
3.7.1.2 says that XPST0008 is used for the first two cases.

Section 2.2.3 makes a general statement that XPST0008 is used, as does 4.12.
There are specific mentions for node tests and direct element and attribute
constructors.

In XPath, there is the general statement that XPST0081 is used, but all the
specific instances use XPST0008.

I suggest that we standardise on XPST0081 as it is more specific.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8249</commentid>
    <comment_count>1</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2006-02-14 00:20:18 +0000</bug_when>
    <thetext>Mike,
The working group discussed your comment on Feb 1, 2006 and agreed with your 
suggestion to consistently use the more specific error code XPST0081. Since you 
were present at the discussion, I have marked this issue as closed.
Don Chamberlin (for the Query Working Group)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>