This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4447 - [FS] Wrong prefixes in C.2 Mapping of Overloaded Internal Functions
Summary: [FS] Wrong prefixes in C.2 Mapping of Overloaded Internal Functions
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Formal Semantics 1.0 (show other bugs)
Version: Recommendation
Hardware: PC Windows NT
: P2 trivial
Target Milestone: ---
Assignee: Michael Dyck
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-03 10:11 UTC by Tim Mills
Modified: 2009-06-22 19:36 UTC (History)
2 users (show)

See Also:


Attachments

Description Tim Mills 2007-04-03 10:11:18 UTC
In Formal Semantics appendix C.2, reference is made to:

fn:subtract-dates(A, B)
fn:subtract-times(A, B)
fn:subtract-dateTimes(A, B)

 but should presumably be 

op:subtract-dates(A, B)
op:subtract-times(A, B)
op:subtract-dateTimes(A, B)

defined in F+O.
Comment 1 Michael Dyck 2007-04-16 21:43:06 UTC
Agreed.
Comment 2 Michael Dyck 2008-09-02 00:24:30 UTC
I looked for any other occurrences of mid-identified standard functions and
operators, and found a few:

Also in the Binary Operators table:
2 references to "op:hex-binary-equal" should be "op:hexBinary-equal", and
2 references to "op:base64-binary-equal" should be "op:base64Binary-equal".

And in 8.4 Judgments for FLWOR and other expressions on sequences:
a reference to "fn:distinct" should be "fn:distinct-values".
Comment 3 Michael Dyck 2008-09-02 00:37:06 UTC
This issue has been entered as FS erratum E053, and the fix has been
committed to the source files for the next edition of the FS document.
Consequently, I'm marking this issue resolved-FIXED.

If you agree with this resolution, please CLOSE the issue.
Comment 4 Nick Jones 2008-09-15 09:09:27 UTC
Are these source files for the in-progress next edition of the errata available for download somewhere? Thanks, Nick
Comment 5 Michael Dyck 2008-09-15 17:17:47 UTC
Not publicly available, no, but the next revision of the Errata document
will likely be published soon. The next edition of the FS 1.0 document
(with all errata applied) will probably take longer.
Comment 6 Bogdan Butnaru 2009-06-04 13:19:18 UTC
(In reply to comment #2)
> Also in the Binary Operators table:
> 2 references to "op:hex-binary-equal" should be "op:hexBinary-equal", and
> 2 references to "op:base64-binary-equal" should be "op:base64Binary-equal".

I'm not sure if this warrants a separate bug, but http://www.w3.org/TR/2007/REC-xquery-20070123/#mapping and http://www.w3.org/TR/xquery-11/#mapping also have the same error.

Comment 7 Michael Dyck 2009-06-22 19:15:13 UTC
(In reply to comment #6)
> 
> I'm not sure if this warrants a separate bug,

Yes it does (because it's against a separate spec, with a different editor), so I've created Bug 7048.
Comment 8 Michael Dyck 2009-06-22 19:36:43 UTC
It's been over 9 months since this issue was marked resolved-FIXED
(in comment #3). There has been some activity since then, but nothing
to indicate that the issue should remain open. Therefore, I'm marking
it CLOSED.