Michele,

what method are you using to invoke the source generator ? Via e.g using
the Ant task ?

Werner

Michele Mazzucco wrote:
> Hi Werner,
> 
> no, there are no warnings at all. It just freezes (I stop the Castor
> compiler after several minutes -- with the CPU at about 100%).
> 
> 
> Michele
> 
> Werner Guttmann wrote:
>> Michele,
>>
>> how are you handling warnings as emitted during source generation ? Are
>> there any warnings at all ?
>>
>> Werner
>>
>> Michele Mazzucco wrote:
>>> I'm sorry, it seems that it freezes when a quite complex type has to be
>>> handled:
>>>
>>> This works
>>>
>>> <xs:complexType name="test">
>>> <xs:sequence>
>>>     <xs:element name="manager-to-node" type="types:networkTime" />          
>>> <xs:element name="deployment-time" type="types:deploymentTime"
>>> nillable="true" />
>>> </xs:sequence>
>>> </xs:complexType>
>>>
>>> These work as well:
>>>
>>>
>>> <xs:complexType name="test">
>>> <xs:sequence>
>>>     <xs:element name="client-to-manager" type="types:networkTime" />
>>>     <xs:element name="scheduling-time" type="types:milliseconds" />
>>>     <xs:element name="manager-to-node" type="types:networkTime" />
>>> </xs:sequence>
>>> </xs:complexType>
>>>
>>> <xs:complexType name="test">
>>> <xs:sequence>
>>>     <xs:element name="client-to-manager" type="types:networkTime" />
>>>     <xs:element name="scheduling-time" type="types:milliseconds" />         
>>> <xs:element name="deployment-time" type="types:deploymentTime"
>>> nillable="true" />
>>> </xs:sequence>
>>> </xs:complexType>
>>>
>>> This doesn't work:
>>>
>>> <xs:complexType name="test">
>>> <xs:sequence>
>>>     <xs:element name="client-to-manager" type="types:networkTime" />
>>>     <xs:element name="scheduling-time" type="types:milliseconds" />
>>>     <xs:element name="manager-to-node" type="types:networkTime" />          
>>> <xs:element name="deployment-time" type="types:deploymentTime"
>>> nillable="true" />
>>> </xs:sequence>
>>> </xs:complexType>
>>>
>>>
>>> Michele
>>>
>>>
>>>
>>> Michele Mazzucco wrote:
>>>> Hi all,
>>>>
>>>> I've got some problems with a schema including an element which is
>>>> derived by extension from another element:
>>>>
>>>>
>>>> <xs:simpleType name="minutes">
>>>>            <xs:restriction base="xs:short">
>>>>                    <xs:minInclusive value="0" />
>>>>                    <xs:maxInclusive value="59" />
>>>>            </xs:restriction>
>>>>    </xs:simpleType>
>>>>    
>>>>    <xs:simpleType name="seconds">
>>>>            <xs:restriction base="xs:short">
>>>>                    <xs:minInclusive value="0" />
>>>>                    <xs:maxInclusive value="59" />
>>>>            </xs:restriction>
>>>>    </xs:simpleType>
>>>>    
>>>>    <xs:simpleType name="milliseconds">
>>>>            <xs:restriction base="xs:short">
>>>>                    <xs:minInclusive value="0" />
>>>>                    <xs:maxInclusive value="999" />
>>>>            </xs:restriction>
>>>>    </xs:simpleType>        
>>>>
>>>> <xs:complexType name="networkTime">
>>>>            <xs:sequence>
>>>>                    <xs:element name="milliseconds" type="types:seconds" />
>>>>                    <xs:element name="seconds" type="types:seconds" />
>>>>            </xs:sequence>
>>>>    </xs:complexType>
>>>>
>>>>
>>>> <xs:complexType name="codestoreTime">
>>>>            <xs:complexContent>
>>>>                    <xs:extension base="types:networkTime" >
>>>>                    <xs:sequence>
>>>>                            <xs:element name="minutes" type="types:minutes" 
>>>> />
>>>>                    </xs:sequence>
>>>>                    </xs:extension>
>>>>            </xs:complexContent>
>>>>    </xs:complexType>
>>>>
>>>>
>>>> The castor compiler doesn't throw any error, it simply freezes. Any idea?
>>>>
>>>> Thanks in advance,
>>>> Michele
>>>>
>>>> -------------------------------------------------
>>>> If you wish to unsubscribe from this list, please 
>>>> send an empty message to the following address:
>>>>
>>>> [EMAIL PROTECTED]
>>>> -------------------------------------------------
>>>>
>>> -------------------------------------------------
>>> If you wish to unsubscribe from this list, please 
>>> send an empty message to the following address:
>>>
>>> [EMAIL PROTECTED]
>>> -------------------------------------------------
>>>
>>>
>>
>> -------------------------------------------------
>> If you wish to unsubscribe from this list, please 
>> send an empty message to the following address:
>>
>> [EMAIL PROTECTED]
>> -------------------------------------------------
>>
> 
> -------------------------------------------------
> If you wish to unsubscribe from this list, please 
> send an empty message to the following address:
> 
> [EMAIL PROTECTED]
> -------------------------------------------------
> 
> 


-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to