users@jaxb.java.net

Re: Normative meaning of "cannot"

From: Wiedmann, Jochen <jochen.wiedmann_at_softwareag.com>
Date: Mon, 10 Feb 2003 19:51:19 +0100

> A non-default switch. For example, if you wanted
> to support XML Schema concepts whose binding was not
> yet specified, your implementation could with a non-default
> switch. The JAXB RI has such a switch and it is
> called "-extension".

Thanks for the clarification.


> However, could you provide a good use case on why it
> is important to map xs:QNames to a Java typesafe enum class?

I do not see the use case that forces the possibility. I just
see that if I already have the possibility of the typesafe
enum, then it costs me about 10 lines of code to provide the
same for xs:qname, xs:duration and most other stuff. (Timezone
related values are a different matter, but unfortunately I
have read the relevant part of the specification too late
and the typesafe enumerations for xs:dateTime and so on
are already implemented ... :-)


Regards,

Jochen