2014-02-18 20:05 GMT+04:00 Mark Thomas <ma...@apache.org>:
> On 18/02/2014 13:07, Romain Manni-Bucau wrote:
>> 2014-02-18 13:10 GMT+01:00 Mark Thomas <ma...@apache.org>:
>
> <snip/>
>
>>> Looks like there might be a couple of problems here. Any chance you
>>> could debug this and provide the full text of the merged web.xml?
>>>
>>
>> https://gist.github.com/rmannibucau/38292f66783c0d49965b
>
> OK. The error is valid. You have a 2.5 web.xml using 3.0 syntax.
> However, if the base web.xml is using 2.5, then there should not have
> been any merging. Hmm.
>
> What schema does /WEB-INF/web.xml declare in your app and where is
> TestFilter declared not to support async?
>

In WebXml.toXml()  lines 715-716 (in trunk)
[[[
            appendElement(sb, INDENT4, "async-supported",
                    filterDef.getAsyncSupported());
]]]

needs to be wrapped by an if(version>=...).

I tested that default conf/web.xml serializes/parses correctly  but it
has no <filter>s in it, so apparently it slipped.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to