• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Exception running jaxb-xjc.jar

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
]>
 
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic