Bug 212999 - XEF Editor: Problems with the handling of default values combos (enumerations)
Summary: XEF Editor: Problems with the handling of default values combos (enumerations)
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: STP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Bosschaert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-14 05:32 EST by David Bosschaert CLA
Modified: 2012-09-21 14:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Bosschaert CLA 2007-12-14 05:32:47 EST
The following problems exist with the handling of Drop-Down combo boxes generated from an enumeration in the XML schema. The following schema was used:

<xs:attribute name="level" default="Info">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="Fatal"/>
      <xs:enumeration value="Error"/>
      <xs:enumeration value="Warning"/>
      <xs:enumeration value="Info"/>
      <xs:enumeration value="Debug"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>		

With this, the following problems exist:

* When editing a document that contains a value for the level attribute, clicking the (D) default button doesn't mark the editor as dirty.
* After having made another change in the document to cause the editor to be dirty, saving the document does not remove the value from the document in case the default was selected.