Hi, I have this mapping file and it doen´t work when fileName atribute
contains the '&'
character. I read that i need to use style="cdata" but i dont know where i
need to put that. If i put <value style="cdata" name="fileName"
field="fileName" /> , marshalling doesn´t work
Do you know what the problem is?
Thanks in advance and sorry for my english
<mapping name="fileTransferInvitation"
class="com.syncrum.core.model.impl.invitation.filetransfer.FileTransferInvitation">
<collection field="infoFiles"
factory="com.syncrum.core.model.impl.invitation.filetransfer.FileTransferInvitation.makeNewFileInfoList">
<structure name="fileInfo"
type="com.syncrum.core.model.impl.fileinfo.FileInfo">
<value name="fileInfoURN" field="fileInfoURN"/>
<value name="fileName" field="fileName" />
<value name="fileSize" field="fileSize" />
<value name="fileAttributes" field="fileAttributes" />
<value name="creationTime" field="creationTime" />
<value name="lastAccessTime" field="lastAccessTime" />
<value name="lastWriteTime" field="lastWriteTime" />
<value name="description" field="description" />
</structure>
</collection>
<structure name="sourceUser" field="sourceUser">
<value name="userURN" field="urn" />
</structure>
<structure name="targetUser" field="targetUser">
<value name="userURN" field="urn" usage="optional" />
</structure>
<value name="targetMail" field="targetMail" usage="optional" />
<value name="description" field="description" />
<value name="invitationURN" field="invitationURN" />
</mapping>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users