This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
preparing the technical specification of the xml file
Top-Down approach: WSDL, JAX-WS and JAXB
Urgent help !!!!!!
Characters after markup
JAXP:Relative URI can not be resolved without base URI???