[MAGNOLIA-325] web.xml should have description tag before display-name tag Created: 14/Apr/05  Updated: 14/Apr/05  Resolved: 14/Apr/05

Status: Closed
Project: Magnolia
Component/s: build
Affects Version/s: 2.0 Final, 2.01, 2.1 Final
Fix Version/s: 2.1 Final

Type: Bug Priority: Trivial
Reporter: Titus Barik Assignee: Sameer Charles
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Resin 3.0.12


Attachments: File webxml.patch    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

This is actually a bug in Resin, but it does not hurt to make this change in Magnolia for the benefit of other servlet containers that also parse web.xml without following the xsd.

Resin fails to parse web.xml because the description tag ("magnolia 2.1") appears after the display-name ("magnolia"). The xsd allows this order, so this is technically the fault of Resin.

However, changing the order of the description and display-name tags is not incorrect, so I recommend that we go ahead and do it on Magnolia for compatibility purposes.

The new order should be:

<description>magnolia 2.1</description>
<display-name>magnolia</display-name>



 Comments   
Comment by Titus Barik [ 14/Apr/05 ]

The simple fix.

Comment by Sameer Charles [ 14/Apr/05 ]

on svn

Generated at Mon Feb 12 03:16:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.