This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 250465 - "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd" cannot be located in J2EE smoke test
Summary: "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd" cannot be located in J2EE s...
Status: RESOLVED WORKSFORME
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ian Tewksbury CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-10 12:20 EDT by kiril mitov CLA
Modified: 2010-03-11 08:03 EST (History)
2 users (show)

See Also:


Attachments
jboss.xml (779 bytes, text/plain)
2008-10-10 12:21 EDT, kiril mitov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kiril mitov CLA 2008-10-10 12:20:59 EDT
Executing smoke test for 
http://build.eclipse.org/webtools/committers/wtp-R3.1-I/20081010055538/I-3.1-20081010055538/

Smoke test is 
http://wiki.eclipse.org/J2EE_Smoke_Test_(WTP_3.0)

After installing jboss runtime and creating Web 24 project there is an warning problem on the jboss.xml file.

The warning is 

Description	Resource	Path	Location	Type
The file cannot be validated as the XML Schema "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd" that is specified as describing the syntax of the file cannot be located.	jboss-web.xml	WebProjectg/WebContent/WEB-INF	line 2	XML Problem

And yes the file "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd" is really not reachable. 

Jboss.org returns "Not found"
Comment 1 kiril mitov CLA 2008-10-10 12:21:46 EDT
Created attachment 114815 [details]
jboss.xml

Attaching jboss.xml
Comment 2 David Williams CLA 2008-10-10 12:39:43 EDT
Changing to source editing. 

This is a problem with us trying to interpret the system Id as a "real" URL. 

In fact, it is spec'd to be a URI (or namespace?) and does not always have to exist as a reachable address. 

The work-around for end-user is to put that dtd in their xml catalog so it can be found. 

But, does seem like we could improve warning or give the ability to turn off. 

Comment 3 Ian Tewksbury CLA 2010-03-09 14:15:24 EST
When opening the given jboss.xml file in WTP 3.2 I get no warnings or errors.
Comment 4 Ian Tewksbury CLA 2010-03-11 08:03:26 EST
resolving as per comment #3