On Tuesday, May 08, 2012 07:12:28 AM Daniel Kulp wrote:
> On Tuesday, May 08, 2012 09:24:43 AM Claus Ibsen wrote:
> > For the fix in XStreamDataFormat.java, i wonder if the hardcoded
> > namespace to @XmlType(name = "converterList", namespace =
> > "http://camel.apache.org/schema/spring";)
> > 
> > would be an issue for Blueprint XML, as we have the schema as:
> >     "http://camel.apache.org/schema/blueprint"; instead
> 
> Hmm...  Good point.  I'll try moving them out from being nested classes
> and seeing if that helps.

Actually, this turns out to be the correct thing.   Internally, everything 
is in the "spring" namespace.   The package-info.java uses the spring 
namespace and the XmlType namespaces need to match that.

The blueprint namespace handler renames all the blueprint namespaces in the 
blueprint DOM to the spring namespace prior to parsing so the parsing will 
work.  Kind of a hack, but works.


-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to