Ticket #2148 (closed defect: fixed)
web.xml doesn't validate against dtd
| Reported by: | Mauno Haukila | Owned by: | ticketmaster |
|---|---|---|---|
| Priority: | major | Milestone: | User Interface Library 5.3.0 RC2 |
| Component: | Demos | Version: | 5.2.10 |
| Keywords: | Cc: | ||
| Known Issue description: | |||
| Hours estimate: | Deadline (dd.mm.yyyy): | ||
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | no | ||
| Known Issue workaround: | |||
| Affects release notes: | no | Contract: | |
Description
Just imported 5.2.10 itmll-toolkit-examples project from packaging and my eclipse warns about web.xml being invalid.
The content of element type "web-app" must match "(icon?,display- name?,description?,distributable?,context-param*,filter*,filter- mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime- mapping*,welcome-file-list?,error-page*,taglib*,resource-env- ref*,resource-ref*,security-constraint*,login-config?,security-role*,env- entry*,ejb-ref*,ejb-local-ref*)".
It seems that <session-config> element is in wrong place. Moving it below servlet-mappings helps.
Change History
Note: See
TracTickets for help on using
tickets.
