Re: Unmarshallable related classes not generated

Stefan Armbruster <[email protected]> 31 Dec 2002 14:55:34 +0100
Newsgroups gmane.comp.java.enhydra.zeus
Message-ID <[email protected]>
--=-S6f5VYOmW3p5oowveHbE
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by frogger.enhydra.org id gBVE718S006924

Hi,

I just tested your DTD, the java source generate fine. I get 698 files.
Maybe the attached buildfile might help.

Regards,
Stefan

Am Die, 2002-12-31 um 07.30 schrieb Mai Kai Zhen:
> Hi, I run beta 3.5 on=20
> http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd.  All of the
> Unmarshallable related classes are not gererated.  No unmarshaller are
> generated as well.  I can't compile the codes that are generated.
> There's a discussion about Zeus not generating unmarshallble classes
> if a dtd file contains more than 1 root element at
> http://zeus.enhydra.org/project/mailingLists/zeus/msg00963.html .
> But I don't find more than one root element in the dtd file.
> Can someone tell me why Zeus doesn't generate unmarshallable related
> classes?
> =20
> Thanks.
> KK
>=20
> ______________________________________________________________________
> =E5=85=8D=E8=B4=B9=E4=B8=8B=E8=BD=BD MSN Explorer  ____________________=
___________________________
> Zeus mailing list [email protected]
> http://www.enhydra.org/mailman/listinfo.cgi/zeus


--=-S6f5VYOmW3p5oowveHbE
Content-Disposition: attachment; filename=build.xml
Content-Type: text/xml; name=build.xml; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

<?xml version="1.0"?>

<project name="dummy" default="zeus">
	
<path id="zeus.classpath">
	<pathelement location="/home/stefan/enhydra/toolsTech/Zeus/build/lib/zeus.jar"/>
	<pathelement location="/home/stefan/enhydra/toolsTech/Zeus/build/lib/dtdparser114.jar"/>
</path>

<target name="zeus" description="Build java class representing form.dtd">

	<taskdef name="zeus" classname="org.enhydra.zeus.util.ZeusTask" classpathref="zeus.classpath"/>

	<zeus sourceDir="." destDir="tmp">
  		<constraint type="DTD"
              constraintFile="ncip_v1_0.dtd"
              javaPackage=""
              collapseSimpleElements="true"
              ignoreIDAttributes="true"
		/>
	</zeus>
</target>

</project>

--=-S6f5VYOmW3p5oowveHbE--