W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2008

[Bug 6288] New: [UPDUseCase] Static Typing and Parts Q3 Solution 2

From: <bugzilla@wiggum.w3.org>
Date: Mon, 08 Dec 2008 21:26:29 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6288-523@http.www.w3.org/Bugs/Public/>


           Summary: [UPDUseCase] Static Typing and Parts Q3 Solution 2
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Update Facility Use Cases
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org
                CC: Tom.Brosens@datadirect.com

The query in Parts Q3 Solution 2 is:

declare updating function 
    local:delete-subtree($p as element(part))
      for $child in doc("part-list.xml")//part
      where $p/@partid eq $child/@partof
      return (
        delete nodes $child,

for $p in doc("part-list.xml")//part[@name="car"]

In Bug #5826, Tom Brosens points out that the type of $p in the function
declaration should be changed to element(part, xs:untyped).

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 Monday, 8 December 2008 21:26:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:25 UTC