This filter will insert the xsi:schemaLocation and xsi:noNamespaceSchemaLocation attributes on the root element of the marshalled xml if the properties are set on the javax.xml.bind.Marshaller. It will modify the namespace prefix if necessary to avoid a collision with an existing "xsi" prefix that doesn't point to the XMLSchema-Instance uri. If the client needs to have finer grained control over where these attributes appear in the marshalled xml data, then they have to write their own filter to add the values.
@author
- Ryan Shoemaker, Sun Microsystems, Inc.
@since JAXB1.0
@deprecated not used in 2.0