Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343324

Summary: Generating a "Deployment Descriptor Stub" for Servlet 3.0 apps generates unused XML namespace
Product: [WebTools] WTP Java EE Tools Reporter: Ian Trimble <ian.trimble>
Component: jst.j2eeAssignee: jst.j2ee <jst.j2ee-inbox>
Status: CLOSED DUPLICATE QA Contact: Chuck Bridgham <cbridgha>
Severity: minor    
Priority: P3 CC: ccc
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 343207    

Description Ian Trimble CLA 2011-04-19 20:03:58 EDT
In a Servlet (web) 3.0 dynamic web app with no deployment descriptor (web.xml), right-clicking the "Deployment Descriptor" node in the Project Explorer and selecting "Generate Deployment Descriptor Stub" results in a web.xml file with the following namespace in the document element: xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd".

Why is the "web" namespace specified at all? It is unused.
Comment 1 Carl Anderson CLA 2011-04-20 11:38:29 EDT

*** This bug has been marked as a duplicate of bug 333259 ***