users@jaxb.java.net

DTD support and ANY

From: Robert Lowe <rmlowe_at_rmlowe.com>
Date: Sat, 22 Nov 2003 19:09:22 +0800

Hi,

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?


Best regards,

Robert Lowe
http://RMLowe.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net