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

[Bug 3474] XQueryX] constructing attribute values with the less than character

From: <bugzilla@wiggum.w3.org>
Date: Mon, 17 Jul 2006 22:09:26 +0000
To: public-qt-comments@w3.org
Message-Id: <E1G2bHK-0005u9-Q8@wiggum.w3.org>


           Summary: XQueryX] constructing attribute values with the less
                    than character
           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="&amp;&lt;&gt;"></elem>

I can try to do this with the following:

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

The XQueryX stylesheet turns this into the following:

<elem attr="&amp;<>"></elem>

This is not well-formed XML. Either attr="&amp;&lt;>" or attr="&amp;&lt;&gt;"
should be produced.
Received on Monday, 17 July 2006 22:09:35 UTC

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