Hi

Would annotating this Map property with XmlJavaTypeAdapter help ?

Cheers, Sergey 

> -----Original Message-----
> From: KARR, DAVID (ATTCINW)
> Sent: Tuesday, December 29, 2009 10:10 AM
> To: [email protected]
> Subject: What suddenly caused my results to use a non-default
> namespace?
> 
> I've been slowly developing my CXF (2.2.5) REST app for several weeks,
> a
> couple weeks ago I added a namespace to the result, and it's been
> producing it as the default namespace, so none of the elements specify
> a
> namespace prefix.  Today, after I made an arbitrary change to one
> element, adding a "Map" property, now all results (even ones that
don't
> have that "Map" property) are using a "ns2" prefix.  The output is
> still
> well-formed and valid, but I wish it would use the default namespace,
> if
> it's possible.

I verified the presence of the Map property caused the prefix to appear
on all entities, not just the one with the Map property.  When I removed
the Map property, all the outputs went back to using the default
namespace.

Reply via email to