File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Exception running jaxb-xjc.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Exception running jaxb-xjc.jar" Watch "Exception running jaxb-xjc.jar" New topic
Author

Exception running jaxb-xjc.jar

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
When I try to generate my jaxb classing from th dtd and xjs files I get a Premature end of file exception. Here are the contents of the 2 files
Any Ideas??
==============================================
<?xml version="1.0" encoding="UTF-8"?>
<!-- Vipbrowser.xjs -->
<xml-java-binding-schema version="1.0-ea">
<element name="WebPages" type="class" root="true">
<content>
<element-ref name="WebEntry"/>
</content>
</element>
<element name="WebEntry" type="class"/>
</element>
</xml-java-binding-schema>
=============================================
<!DOCTYPE WebPages[
<!ELEMENT WebPages (WebEntry+)>
<!ELEMENT WebEntry (#PCDATA)>
<!ATTLIST WebEntry name CDATA #REQUIRED>
<!ATTLIST WebEntry url CDATA #REQUIRED>
]>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception running jaxb-xjc.jar