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 5271 - [FO] FORG0008 description wrong in appendix C
Summary: [FO] FORG0008 description wrong in appendix C
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Recommendation
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-16 13:35 UTC by Tim Mills
Modified: 2008-03-11 14:06 UTC (History)
0 users

See Also:


Attachments

Description Tim Mills 2007-11-16 13:35:43 UTC
In appendix C of F&O,

http://www.w3.org/TR/xpath-functions/#error-summary

FORG0008 is defined as:

err:FORG0008, Both arguments to fn:dateTime have a specified timezone.

However, this error is only raised if the two arguments have _different_ timezones.

"If the two arguments have different timezones, an error is raised:[err:FORG0008]"
Comment 1 Michael Kay 2008-01-15 00:38:12 UTC
The summary of errors in appendix C is non-normative, and many of the descriptions are extremely terse, for example "Invalid lexical value". I'm not sure that improving these descriptions by erratum is a useful service to our readers.
Comment 2 Tim Mills 2008-01-15 10:22:16 UTC
I found it confusing, and just thought it was worth pointing out.
Comment 3 Michael Kay 2008-03-11 14:04:41 UTC
Following direction at the joint WG meeting of 2008-03-04, I have drafted an editorial erratum (E18) which changes the text to

The two arguments to fn:dateTime have inconsistent timezones

I am marking this as FIXED. Tim Mills, as the originator, if you agree with this resolution please change the status to CLOSED.
Comment 4 Tim Mills 2008-03-11 14:06:48 UTC
Thanks Mike.