avner21J wrote: > > After marshaling from Castor the xml does not contain certain elements > from the parent class. Moreover even though I am specifying > node="element", some properties appear as attributes in the marshaled xml. > > The element which is missing is "parent". It is a member variable defined > in parent class : GenericNode. > I have checked that the sub class[ScopeNode] object contains value for > this parent member variable and it is not null. > > I have specified extends attribute to class tag mentioning GenericNode. > > What am I missing here to specify in mapping files? > > http://old.nabble.com/file/p31125082/groupnode-mapping.xml > groupnode-mapping.xml > http://old.nabble.com/file/p31125082/scopenode-mapping.xml > scopenode-mapping.xml > http://old.nabble.com/file/p31136814/marshalled.xml marshalled.xml > >
-- View this message in context: http://old.nabble.com/Some-elements-of-parent-class-not-coming-in-marshalled-xml-tp31125082p31136814.html Sent from the Castor - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

