Kostis Anagnostopoulos wrote:
> I then tried to set 'parse' and 'print' methods and no exception this
> time, but the XJC screamed something like this (not the eaxct error,
> don't just search it up in the codebase):
> [ERROR] the <xjc:idSymbolSpace> was not used!
>
> I think the <xjc:idSymbolSpace> should support types other than
> String. (Dbs use numeric ids, so it is a common requirement).
I think symbol space support is datatype agnostic, but I guess I have to
check.
A test case and an issue in the issuetracker would be appreciated, as usual.
Also, you might know already, but xs:ID and xs:IDREF derives from
NCName, so tokens like "1" or "2" are not valid IDs. So your documents
won't validate.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com