Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
Funambol
          
 
 
Summary
Tracker
Lists
Tasks
Docs
News
CVS
Files
                
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #306605 ] Marshalling of SyncML object to xml problem

Date:
2007-01-29 14:51
Priority:
5
Submitted By:
Dilip Vedula (vedil)
Assigned To:
Stefano Nichele (nichele)
Category:
server dm
State:
Open
Summary:
Marshalling of SyncML object to xml problem

Detailed description:
in WBXMLTools.java in method public static byte[] toWBXML(SyncML msg) at line c.marshalDocument(msg, "UTF-8", null, bout); String inputXml = new String(bout.toByteArray()); when XML file contains CDATA tag (ex: <Package> <Operation action_id = "Add" target_id = "roles_mapping_policy" use_bearer_certificate = "true"> <Data> <![CDATA[ ***]]> </Data> </Operation> </Package> ) the CDATA part after being marshaled contains "]]]]" where as it should have been "]]".

Add A Comment:

Please login

Followup

Message
Date: 2007-02-21 14:11
Sender: cristiano
Logged In: YES 
user_id=11773

Accepted.  Eligible for the Bag-a-Bug Program. 1 point.

Bug inserted in Bugzilla 2064
Date: 2007-01-29 15:17
Sender: vedil
Logged In: YES 
user_id=11570

as temporary fix what we have done is, after this line
String inputXml = new String(bout.toByteArray());
inputXml = inputXml.replace("]]", "]");

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
resolution_idNone2007-02-21 14:11cristiano

Copyright © 1999-2008, OW2 Consortium | contact | webmaster.