Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 0.9.6
-
Fix Version/s: None
-
Component/s: XML
-
Labels:None
-
Number of attachments :
Description
We're using Castor 0.9.6 and the Marshaller seems to be ignoring the following suppress statements:
Marshaller marshaller = new Marshaller(root);
marshaller.setSuppressXSIType(true);
marshaller.setSuppressNamespaces(true);
For example when we marshall objects using the above marshaller we still get XML that looks like this:
<url xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:gs.feed.local.url.Url">
<type>Some web page</type>
</url>
when I would expect it to look like this:
<url>
<type>Some web page</type>
</url>
Any suggestions?
Issue Links
- is duplicated by
-
CASTOR-1137
Special characters ("+", "-", "*") in Enumeration not Generated Correctly from Schema
-
You can close this. We were using the static methods:
http://www.mail-archive.com/user@castor.codehaus.org/msg00611.html