It seems to work ok for me.

--Joe

On Oct 27, 2008, at 5:21 PM, Maleldil wrote:


Is it possible to map to a blank prefix?  For example, say I use the
namespace "com.example.json" but I don't want any prefixes in my JSON
objects, can I do something like the following (using JAX-RS and Spring,
btw):

<util:map id="jsonNamespaceMap" map-class="java.util.Hashtable">
   <entry key="com.example.json" value=""/>
   <entry key="http://cxf.apache.org/bindings/xformat"; value="cxf"/>
</util:map>



dkulp wrote:


I think you just need to add a namespace mapping for that namespace into
the
MappedXMLOutputFactory for jettison. Wherever you create your output
factory, just map that namespace.

Dan



--
View this message in context: 
http://www.nabble.com/Problem-serializing-complex-data-type-tp20194531p20196682.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to