-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
This behaviour looks strange/unexpected, but I guess it is a limitation of the Google GData protocol.
var json = xmlMapping.load('<root>hello <child>!</child>you</root>');
console.log(json)
// => returns { root: { '$t': [ 'hello', 'you' ], child: { '$t': '!' } } }
var xml = xmlMapping.dump(json);
console.log(xml);
// => returns <root><child>!</child><:t><![CDATA[hello]]></:t><:t><![CDATA[you]]></:t></root>
Two major problems for me :
- the order of XML nodes is not preserved
- bad xml elements with empty namespace are generated
Any idea or solution ?
Metadata
Metadata
Assignees
Labels
No labels