Atom binding JavaScript client needs model to XML serialization
---------------------------------------------------------------
Key: TUSCANY-2623
URL: https://issues.apache.org/jira/browse/TUSCANY-2623
Project: Tuscany
Issue Type: Improvement
Components: Java SCA ATOM Binding Extension
Affects Versions: Java-SCA-1.4
Environment: All platforms, JavaScript client side
Reporter: Dan Becker
Priority: Minor
Currently the JavaScript client supports XML to model deserialzation. This
allows one to go from XML documents to the JavaScript Atom model of Feeds,
Entrys, Persons, etc. Luciano suggested in feed back to TUSCANY-2568 on the dev
mail list that we be able to serialize from the model to XML as well.
For example:
var entry = new Entry();
entry.setTitle( "cart-item" );
entry.setContent("Apples $2.99" );
var xml = entry.toXML();
// entry = '<entry
xmlns="http://www.w3.org/2005/Atom"><title>cart-item</title><content
type="text">Apples $2.99</content></entry>'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.