Bug 51518

Summary: "/absolute-ordering/name/others" should not include "name" element
Product: Tomcat 7 Reporter: zhh <zhh200910>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.0.16   
Target Milestone: ---   
Hardware: All   
OS: All   

Description zhh 2011-07-17 01:22:30 UTC
method:
org.apache.catalina.startup.WebRuleSet.addRuleInstances(Digester digester)


code:
====================================================
digester.addCallMethod(fullPrefix + "/absolute-ordering/name/others",
                                   "addAbsoluteOrderingOthers");
====================================================


web-common_3_0.xsd
====================================================
 <xsd:complexType name="absoluteOrderingType">
    <xsd:annotation>
      <xsd:documentation>

        Please see section 8.2.2 of the specification for details.
        
      </xsd:documentation>
    </xsd:annotation>
    <xsd:choice minOccurs="0"
                maxOccurs="unbounded">
      <xsd:element name="name"
                   type="javaee:java-identifierType"
                   minOccurs="0"
                   maxOccurs="unbounded"/>
      <xsd:element name="others"
                   type="javaee:ordering-othersType"
                   minOccurs="0"
                   maxOccurs="1"/>
    </xsd:choice>
  </xsd:complexType>
====================================================
Comment 1 Mark Thomas 2011-07-19 11:41:42 UTC
Fixed in 7.0.x and will be included in 7.0.20 onwards.