Bug 51518 - "/absolute-ordering/name/others" should not include "name" element
Summary: "/absolute-ordering/name/others" should not include "name" element
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 7.0.16
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-17 01:22 UTC by zhh
Modified: 2011-07-19 11:41 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.