I couldn't figure out a solution for this problem. Has anyone experienced
the same issue before?
-Anoop
On Wed, Jan 12, 2011 at 2:48 PM, Anoop Anujan <anoopmarar_at_gmail.com> wrote:
> Hi,
>
> I have a DTD which looks like :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--DTD generated by XMLSpy v2007 sp1 (http://www.altova.com)-->
> <!ELEMENT item (#PCDATA | struct)*>
> <!ELEMENT struct (#PCDATA)>
>
> When I use this DTD in Ant XJC task, two classes are generated: Item.java
> and Struct.java. But there is no method in Item.java to get the Struct
> object.
>
> Is there a way to resolve this?
>
> -Anoop
>
>
>