I've never paid much attention to the "xsi:type" attribute before.  I'm
now looking at a situation where I'm trying to validate a response
generated by Castor against the schema used by Castor.  What I seem to
be seeing is that Castor generates the xsi:type attribute, by default.
The problem is, the resulting XML doesn't validate against the schema.
This is because the element uses an anonymous type, not a named type.

I know that it's possible to suppress the generation of the xsi:type
atribute when marshalling.  However, is it possible for Castor to only
generate the xsi:type attribute when the element uses a named type, and
leave it off when it uses an anonymous type?

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

    http://xircles.codehaus.org/manage_email

Reply via email to