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 93176 - Schema Tools Help: Explanation of the Check XML button is incorrect
Summary: Schema Tools Help: Explanation of the Check XML button is incorrect
Status: VERIFIED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: XML (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Annette Wegscheider
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-25 11:46 UTC by Dmitry Markovski
Modified: 2008-04-19 11:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error message trying to open the Schema view if the file is not well-formed (37.53 KB, image/png)
2007-01-25 11:49 UTC, Dmitry Markovski
Details
"Check XML" on a perfectly well-formed but invalid (randomstring element) file does not yield any errors (52.46 KB, image/png)
2007-01-25 11:51 UTC, Dmitry Markovski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Markovski 2007-01-25 11:46:22 UTC
Topic: Validating XML Schema Files

To validate an XML schema file:
1. Open the XML schema file in the Source Editor. The Schema view of the XML 
schema editor opens with the selected file. If your XML schema file is not 
valid, the IDE does not show the content of the schema file, instead, a message 
appears in the center of the view to let you know that the file is not valid.

>> As far as I can see, this is incorrect. The message says that the schema is 
not well-formed. A well-formed file will be shown even if it is not valid.

===

To get more details about the errors, click the Check XML button in the editor 
toolbar.

>> Again, as far as I can see, the Check XML button checks whether the file is 
well-formed. Clicking Check XML on an invalid but well-formed file will not 
produce any errors at all.

Please see attached screenshots.
Comment 1 Dmitry Markovski 2007-01-25 11:49:01 UTC
Created attachment 37657 [details]
Error message trying to open the Schema view if the file is not well-formed
Comment 2 Dmitry Markovski 2007-01-25 11:51:20 UTC
Created attachment 37658 [details]
"Check XML" on a perfectly well-formed but invalid (randomstring element) file does not yield any errors
Comment 3 Annette Wegscheider 2007-02-03 02:29:07 UTC
Working with QE to update this topic.
Comment 4 Annette Wegscheider 2007-02-06 23:43:30 UTC
Rewrote topic with approval from QE. Integrated on 6 Feb.
Comment 5 Mikhail Matveev 2008-04-19 11:13:48 UTC
Now the description is right.