<?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>2425</bug_id>
          
          <creation_ts>2005-10-30 06:25:15 +0000</creation_ts>
          <short_desc>Additional XSLT functions</short_desc>
          <delta_ts>2007-01-17 23:10:37 +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>Working drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</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="Henry Luo">henryluo</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>6969</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Luo">henryluo</who>
    <bug_when>2005-10-30 06:25:31 +0000</bug_when>
    <thetext>XSLT defines a set of addtional functions to the standard XPath functions.

While some of them are XSLT specific, like current() and key(). Many are quite
generic and useful under the XPath/XQuery context, like generate-id(),
format-number(), format-dateTime(), etc.

Is there any intension to merge some of these functions into the core libraries?
Or is there any reason they are left out?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6970</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2005-10-30 15:35:04 +0000</bug_when>
    <thetext>There&apos;s never been any desire to add functionality to XPath or XQuery simply
because it was already present in XSLT (whether in XSLT 1.0 or 2.0): each
language has its own set of requirements, and while there has been a lot of
effort to achieve commonality in areas where the languages have overlapping
requirements, the aim for both XPath and XQuery has been to keep the language as
small as possible consistent with meeting its stated requirements.

Many of the XSLT-specific functions are concerned with providing presentation
and rendition capability, which is not seen as a core requirement for XQuery
(it&apos;s not explicit in the published requirements, at any rate: I agree that many
people would like to use the language for that purpose and will find the absence
of format-number and format-date frustrating.).

We&apos;ll soon be starting a process of gathering requirements for XQuery version
2.0 and that will be the right time for this kind of comment. It&apos;s too late to
affect version 1.0.

Michael Kay
(personal response) </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7292</commentid>
    <comment_count>2</comment_count>
    <who name="Sharon Adler">sca.w3c</who>
    <bug_when>2005-11-30 19:48:09 +0000</bug_when>
    <thetext>Henry, thank you for your comment.  It really is not a &quot;bug&quot; or comment on XSLT 
so I am closing it against XSLT; however, if you wish to pursue this you may 
resubmit the comment against the F&amp;O spec, although I fully concur with the 
answer provided by Mike Kay.  If for some reason you wish to push back please 
reopen the bug indicating your rationale why you think this should be processed 
as an XSLT 2.0 comment.

Thanks again for your comment.

Sharon</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>