| Summary: | [validation] xml file not validated after modifying dtd or xsd file | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | William Fulton <wsf> |
| Component: | wst.xml | Assignee: | wst.xml-triaged <wst.xml-triaged> |
| Status: | CLOSED DUPLICATE | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | b.muskalla, d_a_carver, valentinbaciu |
| Version: | 1.5 | Keywords: | helpwanted |
| Target Milestone: | 3.0 M6 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
William Fulton
I'm going to attempt to phase your problem in my own words. Please let me know if I've got it right. You have a valid DTD (or XSD) and a valid XML file that references the grammar. You make a change to the DTD that will invalidate the XML file and save the DTD. You expect the XML file to be revalidated but it is not, only the DTD is revalidated. Correct? Absolutely correct. WTP never offered this functionality although it should be expected as JDT offers this functionality for Java files. I've updated the severity to enhancement. We'll have to find out if the validation framework provides any support for dependency tracking. A feature like this is likely applicable to all kinds of cross references (XSD to XML, DTD to XML, XSD to WSDL, etc). We've implemented this feature in WTP 3.0. The XML validator now takes advantage of the new Validation Framework dependency re-validation mechanism. *** This bug has been marked as a duplicate of bug 224186 *** |