W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2011

[Bug 12674] New: [XQueryX30] problem in simpleWildcard template

From: <bugzilla@jessica.w3.org>
Date: Tue, 17 May 2011 22:00:50 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-12674-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12674

           Summary: [XQueryX30] problem in simpleWildcard template
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX 3.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org
             Group: XSLXQuery_WG


simpleWildcard is defined as:

<!-- wildcards                                                                 
        -->
  <xsd:complexType name="simpleWildcard">
    <xsd:choice>
      <xsd:element name="QName" type="EQName"/>
      <xsd:element name="star" type="emptyContent"/>
    </xsd:choice>
  </xsd:complexType>


The stylesheet template for simpleWildcard is:

  <xsl:template name="simpleWildcard" match="xqx:simpleWildcard">
    <xsl:apply-templates select="xqx:star"/>
    <xsl:apply-templates select="xqx:EQName"/>
  </xsl:template>


I believe that select="xqx:EQName" is incorrect. It should be replaced with
select="xqx:QName".

-- 
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 Tuesday, 17 May 2011 22:00:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:12 GMT