<?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>1470</bug_id>
          
          <creation_ts>2005-05-19 20:06:54 +0000</creation_ts>
          <short_desc>[FO] namespace-uri-for-prefix signature</short_desc>
          <delta_ts>2005-09-29 11:25:00 +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>Functions and Operators 1.0</component>
          <version>Last Call drafts</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>
          <dependson>1467</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Rys">mrys</reporter>
          <assigned_to name="Ashok Malhotra">ashok.malhotra</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>3112</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-05-19 20:06:54 +0000</bug_when>
    <thetext>This is a newer function that has not the right signature. Since the arguments 
are often calculated, we should allow empty:

11.2.5 fn:namespace-uri-for-prefix
fn:namespace-uri-for-prefix( $prefix  as xs:string?, 
$element  as element()?) as xs:anyURI? 

Summary: Returns the namespace URI of one of the in-scope namespaces for 
$element, identified by its namespace prefix.

If $element is the empty sequence, it returns the empty sequence. 

If $element has an in-scope namespace whose namespace prefix is equal to 
$prefix, it returns the namespace URI of that namespace. If $prefix is the 
zero-length string or the empty sequence, it returns the namespace URI of the 
default (unnamed) namespace. Otherwise, it returns the empty sequence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3122</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-05-19 20:19:20 +0000</bug_when>
    <thetext>*** Bug 1426 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5090</commentid>
    <comment_count>2</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2005-07-21 20:40:21 +0000</bug_when>
    <thetext>The working group discussed this at the meeting today and decided to accept this 
comment, in part, by making the prefix argument accept an empty sequence with 
the semantics as you describe.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>