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.
I have a web module which contains a web service and I noticed the following: 1. Validate XML - does not seem to work in the dd editor xml view (seems to work from the node view). 2. Validate XML - does not seem to work on webservices.xml.
I noticed couple of problems with validation, but cannot say that validation is not working. Problems : - shortcuts for check, validation are not working - sometimes the validation is not working at the first time. Where can I find webservices.xml ?
Yes, validation for webservices.xml is not working since there is no xsi:schemaLocation attribute specified and therefore the schema file cannot be found.
Validation is not warking against XML schema. See the issue 53575.
As the issue 53575 was resolved, only the minor problems with shortcuts and output window persist. I am changing the priority to P3.
Shortcuts do not work for web.xml. For webservices.xml validation still does not work.
TM 5.0->TBD
Seems that validation works for both web.xml and webservices.xml.
The "Validate XML" action shortcut in web.xml still doesn't work.
Shortcut actions not working are P4? Can you explain more? Validation is *very* important for a developer view point, especially that by default backend servers do not verify DD files (Tomcat, jBoss, BEA, AS8/9/GF).
Sometimes the web.xml validation works: - open web.xml in (text) editor - invoke Check XML action - close output window - press <ALT><SHIFT><F9> and validation messages appear.
The shortcut for validating web.xml works now (from I gathered it is the only remaining issue here keeping this open), so I am closing this.