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



_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to