Hi,

Just trying to address this one question in particular: No, as there's
plenty of code in place that will be able to deal with 'loops'.

Regards
Werner

KARR, DAVID (ATTCINW) wrote:
>> -----Original Message-----
>> From: KARR, DAVID (ATTCINW)
>> Sent: Tuesday, July 14, 2009 3:17 PM
>> To: [email protected]
>> Subject: [castor-user] Stack overflow processing schema
>>
>> I'm trying to set up a process to use Castor on a set of schemas.  I
>> haven't written any mapping files yet, just to see what I get out of
>> the
>> box.  I've set it to "informViaLog" for now.  When I run the process,
>> it
>> emits "Creating classes for" 647 times and "A class name generation
>> conflict" 1062 times, but before ending successfully, it dies with a
>> stack overflow error.
>>
>> The end of the output consists of this (elided):
>> -------------------------
>> WARNING: Warning: A class name generation conflict has occured between
>> element
>>
> '/complexType:SomethingProductSubscriptionInfo/ProductSubscription[/com
>> p
>> lexType:SomethingProductSubscriptionInfo]' and element
>>
> '/complexType:SomethingOrderProductInfo/ProductSubscription[/complexTyp
>> e
>> :SomethingProductSubscriptionInfo]'. Please use a Binding file to
> solve
>> this problem.
> 
> I think the problem is illustrated in this last warning message.  The
> definition of the "SomethingProductSubscriptionInfo" type has a
> contained element named "ProductSubscription" (unbounded) whose type is
> "SomethingProductSubscriptionInfo".  Is this something that Castor will
> have trouble dealing with?
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to