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 53315 - Strange behavior when using validate xml in web module
Summary: Strange behavior when using validate xml in web module
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on: 53338 53575
Blocks:
  Show dependency tree
 
Reported: 2005-01-12 18:32 UTC by Chris Webster
Modified: 2007-09-03 16:38 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 Chris Webster 2005-01-12 18:32:55 UTC
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.
Comment 1 Milan Kuchtiak 2005-01-13 10:47:30 UTC
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 ?
Comment 2 Milan Kuchtiak 2005-01-13 13:45:48 UTC
Yes, validation for webservices.xml is not working since there is no
xsi:schemaLocation attribute specified and therefore the schema file
cannot be found.
Comment 3 Milan Kuchtiak 2005-01-18 13:32:02 UTC
Validation is not warking against XML schema.
See the issue 53575.
Comment 4 Milan Kuchtiak 2005-01-18 18:08:39 UTC
As the issue 53575 was resolved, only the minor problems with
shortcuts and output window persist.

I am changing the priority to P3.
Comment 5 Pavel Buzek 2005-11-10 19:36:22 UTC
Shortcuts do not work for web.xml. For webservices.xml validation still does not
work.
Comment 6 Jaroslav Pospisil 2006-03-13 13:43:17 UTC
TM 5.0->TBD
Comment 7 Milan Kuchtiak 2006-06-14 15:23:15 UTC
Seems that validation works for both web.xml and webservices.xml.
Comment 8 Marek Fukala 2006-08-22 13:23:15 UTC
The "Validate XML" action shortcut in web.xml still doesn't work.
Comment 9 _ ludo 2006-08-22 15:03:44 UTC
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).
Comment 10 Milan Kuchtiak 2006-08-23 09:55:06 UTC
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.
Comment 11 Erno Mononen 2007-09-03 16:38:32 UTC
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.