Hi, 

Thanks for the reply.

I changed the Marhsaller/Unmarshaller class to implement IAliasable,,, and that 
fixed that error. I don't know what this interface does tho :-)

 

Anyway, now I am coding the rest bits of marshaller and unmarshaller.. 

Will get back to you guys if I have any issues. 

Thanks

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Günther Wieser
Sent: 09 June 2008 09:07
To: JiBX users
Subject: Re: [jibx-users] marshaller/unmarshaller for root object/rootelement 
in XML

 

hi,

 

this is (usually) not a problem, we have several bindings here that only 
contain a single mapping that uses a marshaller/unmarshaller. can you post your 
binding output containing the error? thanks!

 

br,

günther

 

 

Am 08.06.2008 um 23:53 schrieb Mahen Perera:





Hi all,

 

Is it possible to write a Marshaller and Unmarshaller for the root element of 
the XML.

 

I am getting an error, which says 'null' when I try to run the maven jibx bind 
goal.

Note that I have only one mapping element in the binding file, and this has a 
marshaller and unmarshaller specified.

 

Thanks in advance for any replies.

 

 


The information contained in this email is strictly confidential and for the 
use of the addressee only, unless otherwise indicated. If you are not the 
intended recipient, please do not read, copy, use or disclose to others this 
message or any attachment. Please also notify the sender by replying to this 
email or by telephone (+44 (0)20 7896 0011) and then delete the email and any 
copies of it. Opinions, conclusions (etc.) that do not relate to the official 
business of this company shall be understood as neither given nor endorsed by 
it. IG Index plc is a company registered in England and Wales under number 
01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 
157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the 
Financial Services Authority. FSA Register number 114059.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

 

 

 

The information contained in this email is strictly confidential and for the 
use of the addressee only, unless otherwise indicated. If you are not the 
intended recipient, please do not read, copy, use or disclose to others this 
message or any attachment. Please also notify the sender by replying to this 
email or by telephone (+44 (0)20 7896 0011) and then delete the email and any 
copies of it. Opinions, conclusions (etc.) that do not relate to the official 
business of this company shall be understood as neither given nor endorsed by 
it. IG Index plc is a company registered in England and Wales under number 
01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 
157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the 
Financial Services Authority. FSA Register number 114059.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to