Community
Participate
Working Groups
Build Identifier: 20110218-0911 "Make Anonymouse Type Global" refactoring corrupts <xs:annotation></xs:annotation> block. Any items between <xs:annotation> and </xs:annotation> disappeared. Reproducible: Always Steps to Reproduce: 1. open xsd file with "XML Scheme Editor" 2. click on any anonymouse <xs:complexType> with <xs:annotation> elements inside 3. select "Make Anonymouse Type Global" from context menu 4. all blocks <xs:annotation>...</xs:annotation> in <xs:complexType> were corrupted. Any items between <xs:annotation> and </xs:annotation> disappeared.
Reproducible. The refactor command calls XSD's cloneConcreteComponent method, and then sets the name.
I'd suggest providing a patch. Failing that, a test case (JUnit) that uses only the XSD APIs will be needed for me to reproduce the problem.