In the name of backwards compatibility, I'm looking for a way to force my (now hand-written) Descriptor to marshal with an attribute like
    (a) xsi:type="java:com.bbn.MyClass"
instead of
    (b) xsi:type="prefix:my-class"
or
    (c) no xsi:type attribute at all

(a) is what my old xml data model marshalled as (introspective simple class), (b) is what I get if I don't set up a mapping or pre resolve my class, (c) is what I get if I do pre-resolve.

The problem is that old code (using plain old introspection) is baffled by (b) and (c), so "unmarshals" the forms as AnyNode structure, whereas both old and new code are happy to use the java:classname variations.

Thanks,
    -Michael

--
Michael Thome
BBN Technologies 10 Moulton St, Cambridge MA 02138 USA
phone: +1 617 873 1853
------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

Reply via email to