Hi Mark,

both xmlns:stream="..." and xmlns="...." are XML namespace declarations,
and as such will not be accessible to you upon unmarshalling. The will
be used (internally) by Castor to 'bind' the XML to the corresponding
POJOs as mapped in your mapping file (assuming you are using a mapping
file, of course).

Does this make (more) sense to you ?

Regards
Werner

Mark Wallsgrove wrote:
> Hey All,
> 
> I have been trying out all sorts of XML -> POJO binders, but Castor
> seams to have nearly everything that I need. But I have come across a
> problem. I am trying to implement a client for the XMPP protocol and
> some of the XML doesn't seam to fit with Castor.
> 
> <stream:stream xmlns:stream="http://etherx.jabber.org/streams";
> id="4AEACDCF" xmlns="jabber:client" from="shigeoka.com" />
> 
> When I declare xmlns as a attribute it never provides a value when
> unmarshalled. Also how can I provide the data in xmlns:stream to my
> POJO?
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to