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

[Bug 5343] [XQX] Problem with {{ and }} in a Namespace Declaration Attribute

From: <bugzilla@wiggum.w3.org>
Date: Thu, 03 Jan 2008 23:53:46 +0000
To: public-qt-comments@w3.org
Message-Id: <E1JAZsg-0002dT-8L@wiggum.w3.org>


           Summary: [XQX] Problem with {{ and }} in a Namespace Declaration
           Product: XPath / XQuery / XSLFO / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX
        AssignedTo: jim.melton@acm.org
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org

Test case K2-DirectConElemNamespace-76 in XQTS contains the following query:

<e xmlns:p="{{1}}"/>

The XQueryX generated by the XQuery 1.0 applet for this query is:

<?xml version="1.0"?>
<xqx:module xmlns:xqx="http://www.w3.org/2005/XQueryX"

The application of our xqueryx.xsl stylesheet to this XQueryX generates the

<e xmlns:p="{1}"></e>

This generated query was recently determined to be invalid (see Bug #5083).

I suggest that the xqueryx.xsl stylesheet needs to be changed. I note that the
template for xqx:attributeConstructor converts { and } to {{ and }},
respectively. The template for xqx:namespaceDeclaration does not do this.
Received on Thursday, 3 January 2008 23:53:49 UTC

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