[XDoclet-JIRA] Created: (XDT-1638) Wrong order of elements in <filter> violate schema for web.xml deployment descriptor

"Ales Dolecek (JIRA)" <[email protected]> Tue, 6 Jun 2006 14:41:59 -0500 (CDT)
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <84398865.1149622919693.JavaMail.j2ee@atlassian01.managed.contegix.com>
Wrong order of elements in <filter> violate schema for web.xml deployment descriptor
------------------------------------------------------------------------------------

         Key: XDT-1638
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1638
     Project: XDoclet
        Type: Bug

  Components: Web Module  
    Versions: 1.2.3    
    Reporter: Ales Dolecek
 Assigned to: xdoclet-devel (Use for new issues) 
    Priority: Trivial


Filter tag:

 * @web.filter
 *   description="My custom filter"
 *   name="MyFilter"

generates XML fragment

   <filter>
      <filter-name>MyFilter</filter-name>
      <description><![CDATA[My custom filter]]></description>
      <filter-class>com.example.MyFilter</filter-class>
   </filter>

which violate Sun's DTD since the <description/> element should go before <filter-name/>.

The <description/> must be the first element of <filter/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira