users@jaxb.java.net

Re: java.lang.InternalError when using xs:IDREF datatype

From: John D. Beatty <beatty_at_sun.com>
Date: Wed, 22 Jan 2003 12:26:53 -0800

Thanks for the quick response. I have verified your suggested
workaround--it's very helpful. I have filed the bug.

thanks again,
john

On Wed, 2003-01-22 at 11:32, Kohsuke Kawaguchi wrote:
> > <?xml version="1.0" encoding="UTF-8"?>
> > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> > targetNamespace="foo">
> > <xs:element name="bar" type="xs:IDREF"/>
> > </xs:schema>
>
> Could you file a bug for this at http://java.sun.com/cgi-bin/bugreport.cgi ?
>
> The workaround is to add a dummy element that have some ID, such as
>
> <xs:element name="dummy" type="xs:ID"/>
>
>
> regards,
> --
> Kohsuke KAWAGUCHI 408-276-7063 (x17063)
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
--
John D. Beatty <beatty_at_sun.com>
Sun Microsystems, Inc.