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.
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>
"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.)