Hi,
the Marshaller class has the methods
void setNoNamespaceSchemaLocation(java.lang.String schemaLocation)
void setSuppressXSIType(boolean suppressXSIType)
So using these will probably do what you want.
Regars,
Leander
SH SERVICE WEB schrieb:
hi,
the question is:
Why when I marshal, the root element don't have the same root
attributes such .xsd file?
example:
xsd:
< MyClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="MyXsd.xsd">
castor:
<MyClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="MyClass">
How I can obtain the same element attributes?
Thank's
Antonio Donia
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email