[Bug 6383] New: [UPD] Parent property in transform copy modify

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

           Summary: [UPD] Parent property in transform copy modify
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: peter.fischer@inf.ethz.ch
         QAContact: public-qt-comments@w3.org


The  specification of the transform copy clause does not specify explicitly
what the parent property of the "top" copied node will be. My assumption is
that it will be empty. If this is the case, I suggest to clarify this in the
spec.

Currently, the spec says (in 2.4.5, 1c)

"A new copy is made of $node and all nodes that have $node as an ancestor,
collectively referred to as copied nodes. Each copied node receives a new node
identity. The parent, children, and attributes properties of the copied nodes
are set so as to preserve their inter-node relationships."

I would add a sentence like: "The parent property of the copy of $node is set
to empty"


-- 
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 Thursday, 8 January 2009 08:50:29 UTC