This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In XPath30 and XQuery30 section 3.1.7 "Inline Functions", there are 3 references to "a function declaration". Change each to "an inline function expression". Similarly, in Appendix F "Error Conditions", the blurb for err:XQST0039 says: It is a static error for a function declaration to have more than one parameter with the same name. In the XPath spec, "a function declaration" should be "an inline function expression". In the XQuery spec, it should be "a function declaration or inline function expression".
*** Bug 14365 has been marked as a duplicate of this bug. ***
Nice catch. The fix will show up in the next build.
Re 3.1.7: XPath now says a inline function expression (should be "an"). XQuery says: a function declaration or inline function expression which is true, but the mention of function declaration is unnecessary here. Section 4.18 already states these rules for function declarations. --- Re Appendix F: There's been no change.
*** Bug 15071 has been marked as a duplicate of this bug. ***
Fixed now.
Section 3.1.7 has been fixed. However... In appendix F, you changed a function declaration to an inline function expression but the error covers both constructs, so you need to change it to: <phrase role="xquery">a function declaration or</phrase> an inline function expression or even something like: <phrase role="xquery">a function declaration or</phrase> <phrase diff="add>an inline function expression</phrase> (Strictly speaking, the "or" should be part of the diff-add, but capturing that gets messy.)
I believe this is fixed now: err:XQST0039 It is a static error for an inline function expression to have more than one parameter with the same name.
The Appendix F blurb for err:XQST0039 has not changed since comment 5. Therefore, comment 6 still applies.
Fixed in source. Will show in next HTML build.
Yup. (Fourth time's the charm.)