Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 143064 - long validation message for ejb-jar.xml contents
Summary: long validation message for ejb-jar.xml contents
Status: CLOSED DUPLICATE of bug 131406
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xsd (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.validation CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-22 16:12 EDT by Hari Shankar CLA
Modified: 2006-06-19 12:13 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hari Shankar CLA 2006-05-22 16:12:49 EDT
After creation of an Enterprise Application project, I get the following error message:

Severity and Description	Path	Resource	Location	Creation Time	Id
cvc-complex-type.2.4.b: The content of element 'ejb-jar' is not complete. One of '{"http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":enterprise-beans}' is expected.	WeatherEJB/ejbModule/META-INF	ejb-jar.xml	line 2	1148317684471	34

I believe this message was replaced with a more concise message, which is not getting displayed in place of the above long message.
Comment 1 Ed Merks CLA 2006-05-22 19:20:16 EDT
This doesn't look like a message generated by XSD.  I'll assign the bugzilla to WTP.
Comment 2 Chuck Bridgham CLA 2006-05-22 21:22:59 EDT
Moving to xsd...

ccing Lawrence....   Is this an xsd message or one of our own?  wasn't sure if we needed to register a better error message....
Comment 3 Lawrence Mandel CLA 2006-05-23 00:21:25 EDT
This message is the default produced by the XML validator. (ejb-jar.xml is an XML file.)

Bug 131406 is already open to track this problem.

*** This bug has been marked as a duplicate of 131406 ***
Comment 4 Lawrence Mandel CLA 2006-06-19 12:13:54 EDT
Closing bug.