W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2007

[Bug 5269] [XQueryX] No way to represent K2-NameTest-21 in XQueryX

From: <bugzilla@wiggum.w3.org>
Date: Thu, 15 Nov 2007 16:40:38 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Ishle-0007bP-2w@wiggum.w3.org>

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

           Summary: [XQueryX] No way to represent  K2-NameTest-21 in XQueryX
           Product: XPath / XQuery / XSLFO / XSLT
           Version: Working drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX
        AssignedTo: jim.melton@acm.org
        ReportedBy: oliver@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


The XQTS test K2-NameTest-21 is as follows:

empty(let $e := <a b ="content"><?b asd?><b/></a>
              return $e/processing-instruction("123ncname"))

This is a valid (although not very useful) query.

However, there is no way to represent this in XQueryX.

The schema requires an xs:NCName as the processing instruction target in an
<xqx:piTest> element.  Perhaps this should be relaxed to an xs:string to allow
compatibility with the above query?

A similar problem occurs in K2-NameTest-23
Received on Thursday, 15 November 2007 16:40:51 UTC

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