HI,

if this is a problem with Castor 0.9.5.3 only, I am afraid that I cannot
be of any help, as we have moved on in the last two years or so.

If you are capable of reproducing the problem (or a restricted one) with
Castor 1.2, I'd like to know about this. In that case, can you please
raise a new Jira issue at

http://jira.codehaus.org/browse/CASTOR

and attach a fully working (albeit minimal) test case.

Regards
Werner

myth_drannon wrote:
> Further investigation lead me to see that different name of the tags is
> unacceptable and will throw an exception but in case of missing tag it will
> do nothing. My castor version is quite old 0.9.5.3 , i tried with 1.2 and in
> case of missing tag it will produce null .
> 
> 
> 
> myth_drannon wrote:
>> Some strange behavior that I noticed 
>> with for example this schema of mapping
>> <?xml version="1.0"?>
>>    ...
>>    <class name="Foo">
>>       <field name="bar" type="Bar">
>>          <bind-xml name="bar" location="abc"/>
>>       </field>
>>    </class>
>>    ...
>> </mapping>
>>
>> I can unmarshal :
>>
>> <?xml version="1.0"?>
>> <foo>
>>    <abc>
>>       <bar>...</bar>
>>    </abc>
>> </foo>
>>
>> but I also can use no <abc> tags at all and it will still accept or a
>> different tag !
>>
>> <?xml version="1.0"?>
>> <foo>
>>    
>>       <bar>...</bar>
>>    
>> </foo>
>> or 
>>
>> <?xml version="1.0"?>
>> <foo>
>>    <badTag>
>>       <bar>...</bar>
>>    </badTag>
>> </foo>
>>
>>
>> it basically ignores the tag , how I can sort of require it ?
>>
>> Thank you.
>>
>>
>>
> 

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

    http://xircles.codehaus.org/manage_email


Reply via email to