[Bug 6222] New: [UPD] restriction on variable declaration appears twice

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6222

           Summary: [UPD] restriction on variable declaration appears twice
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Update Facility
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org


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.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 12 November 2008 19:51:15 UTC