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: | .xsd design tab shows error even though .xsd file is verified successfully | ||
---|---|---|---|
Product: | xml | Reporter: | faramir2 <faramir2> |
Component: | Schema Tools | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | michaelnazarov, tonybeckham |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screenshot taken in "inter" state when undo from "now" to "before" |
Description
faramir2
2008-07-28 12:21:13 UTC
Should be easy to reproduce if it appears often. Give it a shot. You may be able to reproduce. Until then I'm going to mark it as P4. It isn't easy.. It looks like randomly doesn't refresh source/validation. Now I'm editing good (validating) XML file and changed one sequence to three choices and after changing tab to "Design" it doesn't show any error, but Validating said: "ERROR: s4s-elt-invalid-content.1: The content of 'vchange' is invalid. Element 'choice' is invalid, misplaced, or occurs too often." I see other bug, maybe related to this, but I don't know whether add another issue for it. For now I post it here. Screenshot was taken when I do undo (from version "now" to version "before" in "inter"). Here is my part of my XML file: * before change: <complexType name="vchange"> <annotation> <documentation>Main node to store information about changes</documentation> </annotation> <sequence minOccurs="0"> <element name="changes" minOccurs="0" maxOccurs="1" type="tns:changes"/> <element name="variables" minOccurs="0" type="tns:variables"/> <element name="include" type="tns:include" minOccurs="0" maxOccurs="unbounded"/> </sequence> </complexType> * inter (for screenshot only): <complexType name="vchange"> <annotation> <documentation>Main node to store information about changes</documentation> </annotation> <choice minOccurs="0"> <element name="changes" minOccurs="0" maxOccurs="1" type="tns:changes"/> <element name="variables" minOccurs="0" type="tns:variables"/> <element name="include" type="tns:include" minOccurs="0" maxOccurs="unbounded"/> </choice> </complexType> * now: <complexType name="vchange"> <annotation> <documentation>Main node to store information about changes</documentation> </annotation> <choice minOccurs="0"> <element name="changes" minOccurs="0" maxOccurs="1" type="tns:changes"/> </choice> <choice minOccurs="0"> <element name="variables" minOccurs="0" type="tns:variables"/> </choice> <choice minOccurs="0"> <element name="include" type="tns:include" minOccurs="0" maxOccurs="unbounded"/> </choice> </complexType> Created attachment 66047 [details]
screenshot taken in "inter" state when undo from "now" to "before"
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |