XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jeevan SunkersettSubject: ERROR creating JAXB Java Binding classes ...
Author: Jeevan Sunkersett
Date: 17 Oct 2005 07:38 AM
Hi,

In my stylus project I imported my XSD schemas (around 30 XSD files). They are pretty complex with inter-refercing in-between using xsd:include/ xsd:import.

I opened one of them and could succesfully generate its JAXB java binding classes. Then I opened the next one (not in any particular order) and tried to generate the binding classes (specified the same output directory and same package and same main class name)

After some time - it gave an error:

c:\Windows\temp\bnf16.tmp\<<my-package>>\Main.java contains an invalid path.

No java code was generated.
I tried specifying a new o/p directory with another package name.
Even tried cleaning up the gen directory and restarting the machine
but to no avail.

Any clues?
Is any log generated? Where?

thx
Jeevan

PS: I am using Enterprise Ed ver 3.0, Build 377o with JVM 1.5

Postnext
(Deleted User) Subject: ERROR creating JAXB Java Binding classes ...
Author: (Deleted User)
Date: 17 Oct 2005 09:34 AM
Most likely you are getting this message becsuse jaxb failed to create output. Have you tried to validate your schema before running jaxb ? This can give you an idea why jaxb is failing. The right place to look for error messages is an output window, unfortunately in this case it is empty. This will be fixed in our next update.

Postnext
Jeevan SunkersettSubject: ERROR creating JAXB Java Binding classes ...
Author: Jeevan Sunkersett
Date: 17 Oct 2005 11:47 PM
I am using the industry standard FpML schema (http://www.fpml.org)
So they should be correct/ valid.

They pass the Altova XML Spy validity.

thx

Posttop
(Deleted User) Subject: ERROR creating JAXB Java Binding classes ...
Author: (Deleted User)
Date: 18 Oct 2005 12:30 PM
The file that you've opened can use definitions imported/included in it's parent file. In such case even if overall schema is valid the file that you've opened is not (it probably was designed to be imported/included after some specific file and can not be used as standalone). I recommend you to click "Validate" button in the toolbar before running JAXB. It will take almost no time but can provide you with useful information.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.