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

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 UTC