I am in the process of moving an application to the latest version of Jibx from an old beta version.  This update is needed because of a bug in the UTF-8 char encoding that I hope is fixed in this latest version. 

I have some XML, like the following, but I would like to ignore the attribute (xmlns) in my mapping.

<Type xmlns="syncml:metinf">syncml:auth-basic</Type>

This attribute seemed to be ignored automatically in the old jibx version.  I tried using the flexible="true", like in the following, but it ignored the whole "Type" value during unmarshalling.

<mapping name="Meta" class="sync4j.framework.core.Meta" ordered="false" flexible="true">
  <value name="Type" get-method="getType" set-method="setType" usage="optional"/>
</mapping>

How do I ignore unknown attributes?

Thanks,
Bruce

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to