[Bug 5315] [UPD] Rename multiple nodes

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

           Summary: [UPD] Rename multiple nodes
           Product: XPath / XQuery / XSLFO / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


The delete expression allows multiple nodes to be deleted; the rename
expression only allows a single node to be renamed. It's hard to see any reason
for this asymmetry. If I can do

delete nodes //@PRICE

then why can't I do

rename nodes //@PRICE as xs:QName("COST")

The workaround is easy, but we shouldn't be tripping our users up with
unnecessary differences between two very similar expressions.

Of course, the next thing the user will try to do is:

replace value of nodes //@DISCOUNT with 0.00

which also seems reasonable...

Received on Tuesday, 11 December 2007 14:12:56 UTC