W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2009

[Bug 8127] New: [XQTS] CVS: fn-datacomplextype-1 & fn-datamixedcontent-1 validate missing

From: <bugzilla@wiggum.w3.org>
Date: Fri, 30 Oct 2009 11:34:22 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-8127-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8127

           Summary: [XQTS] CVS: fn-datacomplextype-1 & fn-datamixedcontent-1
                    validate missing
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


I suspect that the argument to fn:data needs to be validated in tests
fn-datacomplextype-1 and fn-datamixedcontent-1 to get the desired result.

(:*******************************************************:)
(:Test: fn-datacomplextype-1                             :)
(:Written By: Nicolae Brinza                             :)
(:Purpose: Evaluates The "data" function                 :)
(: with the argument set to a complex element            :)
(:*******************************************************:)

import schema namespace mc ="http://www.w3.org/XQueryTest/mixedcontent" at
"mixe
dcontent.xsd";

fn:data(
  <mc:weather>
    <mc:temperature>30</mc:temperature>
    <mc:precipitation>10</mc:precipitation>
  </mc:weather>
)


-- 
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 Friday, 30 October 2009 11:34:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:41 UTC