[ 
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1638?page=comments#action_17622
 ] 

Andrew Stevens commented on XDT-1638:
-------------------------------------

What spec version are you trying to generate for?  In the 2.3 DTD I have here, 
filter is defined as

<!ELEMENT filter (icon?, filter-name, display-name?, description?,
filter-class, init-param*)>

so the description should be after the name, not before...


> 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
>     Assignee: xdoclet-devel (Use for new issues)
>     Priority: Trivial

>
> Original Estimate: 30 minutes
>         Remaining: 30 minutes
>
> 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