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.
Summary: | request to expose public APIs in xml.validation | ||
---|---|---|---|
Product: | xml | Reporter: | Samaresh Panda <samaresh> |
Component: | Validation | Assignee: | Samaresh Panda <samaresh> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 147669 |
Description
Samaresh Panda
2009-01-16 22:39:25 UTC
While working on this issue, I have found several things: 1) There are three actions: a) Check XML : Which checks for well-formed-ness of the document. b) Validate XML : Available as context action and icon in the toolbar in text view. c) Validate : Icon in tool bar in graphical views. Does things differently than (b) 2) I really do not see a need for separate "Check" and "Validate" action. IMO, they should be combined to just one: Validate. Do note that we may have a quick-fix and error annotation implemented for XML editor. 3) The two Validate actions must be combined to produce one and the same result. 4) Legacy actions (a) and (b) are available in xml.tools module, where as (c) is in xml.validation module. xml.validation was created by the enterprise pack. There is really no need for two modules. We should stick to one and remove the other. I'll work on these and keep you informed. |