<?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>1275</bug_id>
          
          <creation_ts>2005-04-26 14:27:17 +0000</creation_ts>
          <short_desc>[F&amp;O] Need QName -&gt; URI mapping for functions namespace</short_desc>
          <delta_ts>2005-09-29 10:41:25 +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>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="Norman Walsh">Norman.Walsh</assigned_to>
          <cc>connolly</cc>
          
          <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>3623</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-04-26 14:27:17 +0000</bug_when>
    <thetext>I can&apos;t find a qname-&gt;uri mapping in
http://www.w3.org/TR/2005/WD-xpath-functions-20050404/#namespace-prefixes

ala
http://www.w3.org/TR/webarch/#qname-mapping

[This entry added by CMSMcQ from Dan Connolly&apos;s email at 
http://lists.w3.org/Archives/Public/public-qt-comments/2005Apr/0112.html]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3582</commentid>
    <comment_count>1</comment_count>
    <who name="Norman Walsh">Norman.Walsh</who>
    <bug_when>2005-05-02 21:52:24 +0000</bug_when>
    <thetext>Our specifications appear to make use of the following namespaces:

Standard  Standard
Prefix    URI

  dm:       none
  err:      http://www.w3.org/2004/07/xqt-errors
  fn:       http://www.w3.org/2005/04/xpath-functions
  fs:       none
  local:    none
  op:       none
  xdt:      http://www.w3.org/2005/04/xpath-datatypes
  xqx       http://www.w3.org/2005/04/XQueryX
  xsl:      http://www.w3.org/1999/XSL/Transform

We have defined several of these prefixes without a corresponding URI
because they exist only as an editorial device or because they
describe things that are completely abstract and we have no reason to
refer to them in any concrete sense.

But Dan has demonstrated that it may be useful for the larger
community as a whole to be able to identify even the things that we
consider abstract using URIs. In particular, I believe that Dan wanted
to define one of our operations in a semantic web context and found
that there was no URI for it.

In that light, I think it probably makes sense to provide real URIs
for the dm: fs: and op: prefixes, in addition to the prefixes that we
have already defined. Concretely, I propose:

Standard  Standard
Prefix    URI

  dm:       http://www.w3.org/YYYY/MM/xpath-data-model
  fs:       http://www.w3.org/YYYY/MM/xpath-formal-semantics
  op:       http://www.w3.org/YYYY/MM/xpath-operators

I really don&apos;t think there&apos;s any reason to define a URI for the local:
prefix, but I&apos;m not really sure I understand how &quot;local:&quot; works in
XQuery so I could be wrong.

Each of our namespaces needs a namespace document. I&apos;m willing to
produce the namespace documents for the dm:, fn:, and op: prefixes. I
can probably be persuaded to take on some others, if no one else
volunteers.

Per the good practice[1] in WebArch[2], we must provide a mapping
from QNames to URIs. That is, there must be a way to translate
the QName pfx:localname into a URI. I propose that we adopt a single
definition for all of our specs: the URI of the resource identified
by pfx:localname is

 concat(namespace-uri(pfx:localname), &apos;#&apos;, local-name(pfx:localname))

I suggest that we write a working group note that outlines our suite
of namespaces and our QName to URI mapping.

[1] http://www.w3.org/TR/webarch/#qname-mapping
[2] http://www.w3.org/TR/webarch/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3583</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-05-03 03:36:33 +0000</bug_when>
    <thetext>
Sorry, but adding namespace URIs to the abstract prefixes are highly 
problematic since we would have to define semantics for XSLT and XQuery 
specifications to disallow users to use these URIs which is problematic in its 
own right. If the RDF folks want to refer to these functions, they better 
define their own URIs in their domain and refer to the definition.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3140</commentid>
    <comment_count>3</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-20 22:45:54 +0000</bug_when>
    <thetext>The QT WGs discussed this on 5/19/2005 and agreed with the form suggested for
the URIs:
&gt; the URI of the resource identified by pfx:localname is

&gt; concat(namespace-uri(pfx:localname), &apos;#&apos;, local-name(pfx:localname))

They did not, however, approve the rest of the suggestions for QName to URI mapping.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>