This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 112378 - Fail to validate debugging-enabled element in sun-ejb-jar.xml file
Summary: Fail to validate debugging-enabled element in sun-ejb-jar.xml file
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-09 03:00 UTC by davisn
Modified: 2007-08-09 08:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2007-08-09 03:00:08 UTC
debugging-enabled element in sun-ejb-jar.xml file can take other value than true/false

STEPS TO REPRODUCE:
1. Install nightly netbean 6.0 - build dated 08/08/2007
2. Create a j2EE 1.4 EJB Module project
3. Open sun-ejb-jar.xml file > click EJB tab > click Add Ejb > click Web Services Endpoints > Add Endpoint 
4. Change sun-ejb-jar.xml file to XML format and enter
     <debugging-enabled>Test</debugging-enabled>
   Below the <port-component-name>endpoint2</port-component-name> statement
5. Right click to check XML
BUG:
   Check/Validate XML failed to check the syntax for <debugging-enabled>
Comment 1 _ pcw 2007-08-09 08:25:30 UTC
"Check" only checks for correct XML symantics.
Validate checks for correctness against the referred DTD or schema.

In this case, the DTD defines debugging-enabled as type #PCDATA and "Test" is perfectly valid in that context (it's just
wrong.)