Ok, so I'm using the generated source from the current mapping.xsd
schema for a little project here (will let you all know more a bit
later) and am confused about one issue. The generated source has the
following for the 'extends' attribute in the schema Class object.

public void setExtends(java.lang.Object _extends)
    {
        this._extends = _extends;
    }

public java.lang.Object getExtends()
    {
        return this._extends;
    } 

And my question is, what exactly is this expecting? A class name? A
Class object? An actual object of the right type?!?

In the process of trying to unmarshall a castor Class object that is
supposed to have an extends attribute added I either get:

"Unable to resolve ID for instance of class 'test.beans.Person' due to
the following error: No identity descriptor available"

When I try an actual person Object, Or the test.beans.Person is
switched to 'java.llang.String' if I try just the name

Or I get

"The marshaller cannot marshal/unmarshal types of Void.class,
Class.class or Object.class"

if I just try the actual java.lang.Class.

So, what does this thing accept? It takes an Object type, I've tried
everything, do I need to write a custom map to fix this? Sorry for
being a newb on the XML side, haven't had to deal with it much yet. 
:)

-Nick

Reply via email to