Bug 5271 - [FO] FORG0008 description wrong in appendix C
: [FO] FORG0008 description wrong in appendix C
Status: CLOSED FIXED
Product: XPath / XQuery / XSLT
Functions and Operators 1.0
: Recommendation
: PC Windows NT
: P2 minor
: ---
Assigned To: Michael Kay
: Mailing list for public feedback on specs from XSL and XML Query WGs
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2007-11-16 13:35 UTC by Tim Mills
Modified: 2008-03-11 14:06 UTC (History)
0 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


  翻译: