[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: JAXB alternatives


castor vs jaxb

Castor seems like a promising alternative, and our company has toyed 
around with it in the past.  However I run into other issues when I try 
to use it with the complex ( large, lots and lots of external schema 
references ) Schemas.

Version 0.9.3 - As the parser traverses the imported schemas, the 
location of the schema is managed by concatenating the next schemas 
relative path with the last schemas relative path.  So if there are a 
lot of schemas being referenced then the location of the file becomes 
very, very long ( say 500+ or 1000+ characters, maybe more, it spits 
out a file path about 20 lines long for me... ) and the file system 
eventually will not return the file.  Runtime error is file not found, 
but by copying and pasting the path it is using by hand, the OS gives 
me a file name to large error.  So no go with that version.

Version 0.9.5.2 - The latest version stops before it even gets started. 
  Somewhere our complex schema structure must be causing an infinite 
loop for the castor execution.  Every time I run this version I get a 
StackOverflowError.  Increasing the stack size as much as the OS will 
allow does not stop the error.

So still a no go.. At any rate, thank you all for your help.

Jim

On Thursday, February 19, 2004, at 09:13 AM, Chiusano Joseph wrote:

> You might want to check out Castor [1] - however I can't speak to its
> support of specific schema constructs vs. JAXB.
>
> Kind Regards,
> Joe Chiusano
> Booz | Allen | Hamilton
> Strategy and Technology Consultants to the World
>
> [1] http://www.castor.org/
>
> Jim Beard wrote:
>>
>> Howdy Folks,
>>
>>         I've been working with JAX B to generate java classes based 
>> on a set
>> of Schemas.  However I have stumbled across a problem which may 
>> prevent
>> me from using JAX B.  It doesn't handle complexType inheritance  well.
>>         Are there any alternatives to JAX B out there for generating 
>> java
>> classes from Schema?  Has anyone used them?  Is one better then the
>> other?  Any insight would be very appreciated.
>>
>> Jim Beard
>> counterclaim.com, Inc
>> http://www.counterclaim.com
>> http://openefm.sourceforge.net
>> (800) 264-8145
>>
>> -----------------------------------------------------------------
>> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>> initiative of OASIS <http://www.oasis-open.org>
>>
>> The list archives are at http://lists.xml.org/archives/xml-dev/
>>
>> To subscribe or unsubscribe from this list use the subscription
>> manager: <http://www.oasis-open.org/mlmanage/index.php>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>
Jim Beard
counterclaim.com, Inc
http://www.counterclaim.com
http://openefm.sourceforge.net
(800) 264-8145


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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