I have been trying to work thru the unmarshalling and marshalling process.
I have used MappingTool to unmarshal a set of classes to mapping xml files.
MappingTool automatically adds a "ns1:" prefix to the tag names. Is there
anyway to force it to use a default (no) prefix?

When I try to unmarshal, using the previously generated mapping files, it
does not get past the load mapping step because the field descriptors are
looking for a "class" attribute, but the mapping file has "ns1:class" attributes.
I see in Unmarshal.processAttributes() where this happens, and it seems
that I could just cycle thru the namespaces in _namespaces, appending prefixes,
until I found a value, but I am thinking that I must be missing something
obvious.

I am using a fairly recent CVS version.

Thanks for any help.

Al Byers
[EMAIL PROTECTED]

Al Byers

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to