users@jaxb.java.net

Re: DTD support and ANY

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 24 Nov 2003 09:12:32 -0800

> I've been experimenting with using the DTD support in the standard
> implementation 1.0.2. The DTD I'm using contains an element defined with the
> ANY content model; grossly simplified, it looks something like this:
>
> <!ELEMENT root (extension?)>
> <!ELEMENT extension ANY>
>
> When I run xjc, I get an Extension class with the following method:
>
> java.util.List get$_0020_0020All_0020_0020$()
>
> Thanks to autocomplete, that's not a big problem, but it's not pretty--I was
> expecting something like getContent(). Is this a known issue?

This must be a bug. Thank you for bringing it to our attention.

regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net