Dear users,

a more recent Jira issue has identified a problem that relates to the
use of the XML code generator in the context of anonymous enumerations.

Currently, Castor does 'misbehave' a bit, and that incorrect behaviour
needs to be fixed. Problem is that a potential fix *will* break existing
code, as we are changing how things are marshalled to/unmarshalled from.

As such, I'd like to get an idea how common it is for our users to use
an XML schema construct such as follows:

<xs:element name="sub-handling">
  <xs:simpleType>
    <xs:restriction base="xs:token">
      <xs:enumeration value="block" />
      <xs:enumeration value="confirm" />
      <xs:enumeration value="polite-block" />
      <xs:enumeration value="allow" />
    </xs:restriction>
  </xs:simpleType>
</xs:element>

where the enumeration is defined locally to the element 'sub-handling'
and not as part of a global (read named) simple type definition.

For those of you interested in the details, please have a look at

http://jira.codehaus.org/browse/CASTOR-1990

as well and join us on the discussions.

Any feedback appreciated.

Regards
Werner


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to