W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2006

[Bug 3446] [XQueryX] constructing attribute values with whitespace characters

From: <bugzilla@wiggum.w3.org>
Date: Tue, 11 Jul 2006 15:02:04 +0000
To: public-qt-comments@w3.org
Message-Id: <E1G0JkS-0000dw-Qr@wiggum.w3.org>


           Summary: [XQueryX] constructing attribute values with whitespace
           Product: XPath / XQuery / XSLT
           Version: Candidate 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

I might want to construct an XQueryX instance that is equivalent to the
following XQuery:

<elem attr="a&#x09;b"></elem>

I can try to do this with the following:

<xqx:module xmlns:xqx="http://www.w3.org/2005/XQueryX"

The XQueryX stylesheet turns this into the following:

<elem attr="a   b"></elem>

This XQuery will not produce the same result as the XQuery that I desire.

When I use "a&amp;#x09;b" for the attribute value, then the stylesheet produces
the following:

<elem attr="a&amp;#x09;b"></elem>

Again, not what I desire.

This issue applies to all of the whitespace characters, #x09;, #x0a;, and

Do we need additional markup in order to preserve char refs such as these?
Something like the following:

Received on Tuesday, 11 July 2006 15:02:39 UTC

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