Ticket #2148 (closed defect: fixed)

Opened 3 months ago

Last modified 6 weeks ago

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

Changed 3 months ago by Joonas Lehtinen

  • priority changed from trivial to major
  • component changed from undefined to Demos
  • milestone set to User Interface Library 5.2.11

Changed 6 weeks ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.2.13 to User Interface Library 5.3.0 RC2

Changed 6 weeks ago by Artur Signell

  • status changed from new to closed
  • resolution set to fixed

Moved session-config after server-mapping where it belongs. In [6057].

Note: See TracTickets for help on using tickets.