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 6222 - [UPD] restriction on variable declaration appears twice
Summary: [UPD] restriction on variable declaration appears twice
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Update Facility (show other bugs)
Version: Candidate Recommendation
Hardware: PC Windows XP
: P2 minor
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 19:51 UTC by Andrew Eisenberg
Modified: 2011-01-10 18:52 UTC (History)
0 users

See Also:


Attachments

Description Andrew Eisenberg 2008-11-12 19:51:06 UTC
In 2.2.2 Variable Declaration we say:

The following rule is added: If the expression on the right-hand-side of a
variable declaration (the initializing expression) is not a simple
expression, a static error is raised [err:XUST0001].


In 2.5.7 Other Expressions we say:

In addition, the initializing expression of a variable declaration in a
Prolog may not be an updating expression [err:XUST0001].


I suggest that the statement in section 2.5.7 be dropped.
Comment 1 Jonathan Robie 2009-04-28 16:30:35 UTC
Fixed in my draft now.