Hi! I have similar problem. I have 3 xml mapping files A, B, C: A includes B, 
B includes C. When i run marshall  method on object of class that is mapped
in mapping file A, mapping from file B is ignored! When i remove include
element from file B, that means, when i remove <include href="C.xml"> from
file B, mapping from B file works. Any ideas? Thanks!


Werner Guttmann-2 wrote:
> 
> David,
> 
> Precisely what mappings do not get picked up ? Those for C, D, E and F
> only ? Or do you already have problems with the mapping for B as well ? 
> 
> Regards
> Werner
> 
>> -----Original Message-----
>> From: mrf [mailto:[EMAIL PROTECTED] 
>> Sent: Mittwoch, 22. Februar 2006 23:38
>> To: [email protected]
>> Subject: [castor-user] Castor mapping file reusability -- 
>> includes not inherited?
>> 
>> 
>> Hi,
>> 
>> I am having a problem with castor not using my mapping 
>> definitions after I include them in a mapping file.  Assume:
>> 
>> Mapping file A includes B.
>> B includes C, D, E, F.
>> 
>> When I marshal a class using A as the mapping file Castor 
>> does not pick up the mapping definitions from the mapping 
>> files included into B.  If I move the include declarations 
>> into A the definitions are picked up and it all works.
>> 
>> Does Castor not support multiple inheritence of include 
>> statements?  Has anyone encountered this and knows a workaround?
>> --
>> View this message in context: 
>> http://www.nabble.com/Castor-mapping-file-reusability----inclu
>> des-not-inherited--t1172252.html#a3080230
>> Sent from the Castor - User forum at Nabble.com.
>> 
>> 
>> -------------------------------------------------
>> 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]
> -------------------------------------------------
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Castor-mapping-file-reusability----includes-not-inherited--tf1172252.html#a12793853
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email

Reply via email to