Artifact 56f53a7b7affe9483187ea10b6bcce88c6815e5785bbc5eea6d588fcf68d0f8e:
- File
tests/serialization.xml
— part of check-in
[0a083111c7]
at
2011-12-12 13:32:50
on branch trunk
— Improve serialization of OFXMLElement.
It does not store the namespaces for the prefixes "xml" and "xmlns"
anymore. (user: js, size: 1646) [annotate] [blame] [check-ins using]
<?xml version='1.0' encoding='UTF-8'?> <serialization xmlns='https://webkeks.org/objfw/serialization' version='0'> <OFMutableDictionary> <key> <OFArray> <OFString>Qu"xbar test</OFString> <OFNumber type='signed'>1234</OFNumber> <OFNumber type='double'>0x1.34a456d5cfaadp+10</OFNumber> <OFMutableString>asd</OFMutableString> <OFDate>0x1.34a456d5cfaadp+10</OFDate> </OFArray> </key> <object> <OFString>Hello</OFString> </object> <key> <OFString>Blub</OFString> </key> <object> <OFString>B"la</OFString> </object> <key> <OFDataArray>MDEyMzQ1Njc4OTo7PEFCQ0RFRkdISklLTE1OT1BRUlNUVVZXWFla</OFDataArray> </key> <object> <OFString>data</OFString> </object> <key> <OFList> <OFString>Hello</OFString> <OFString>Wo
ld! How are you?</OFString> <OFURL>https://webkeks.org/</OFURL> <OFXMLElement name='x'> <children> <OFMutableArray> <OFXMLElement name='y'/> <OFXMLCDATA><![CDATA[<]]></OFXMLCDATA> </OFMutableArray> </children> </OFXMLElement> <OFSet> <OFString>foo</OFString> <OFString>bar</OFString> </OFSet> <OFCountedSet> <object count='2'> <OFString>foo</OFString> </object> <object count='1'> <OFString>bar</OFString> </object> </OFCountedSet> </OFList> </key> <object> <OFString>list</OFString> </object> </OFMutableDictionary> </serialization>