Differences From Artifact [8d32d568ae]:
- File tests/serialization.xml — part of check-in [03f14bf019] at 2011-10-04 13:14:16 on branch trunk — Split OFXMLElement into OFXML{Element,Characters,CDATA,Comment}. (user: js, size: 2805) [annotate] [blame] [check-ins using]
To Artifact [7633105928]:
- File
tests/serialization.xml
— part of check-in
[301ee63212]
at
2011-11-20 18:41:25
on branch trunk
— Make OFString a class cluster.
It is a class cluster now, but there is still much to improve. (user: js, size: 2805) [annotate] [blame] [check-ins using]
1 2 3 4 | <?xml version='1.0' encoding='UTF-8'?> <serialization xmlns='https://webkeks.org/objfw/serialization' version='0'> <OFMutableDictionary> <key> | < < < < < < < < < < < < < | 1 2 3 4 5 6 7 8 9 10 11 | <?xml version='1.0' encoding='UTF-8'?> <serialization xmlns='https://webkeks.org/objfw/serialization' version='0'> <OFMutableDictionary> <key> <OFList> <OFString>Hello</OFString> <OFString>Wo
ld! How are you?</OFString> <OFURL>https://webkeks.org/</OFURL> <OFXMLElement name='x'> <namespaces> |
︙ | ︙ | |||
58 59 60 61 62 63 64 | </namespaces> </OFXMLElement> <OFXMLCDATA><![CDATA[<]]></OFXMLCDATA> </OFMutableArray> </children> </OFXMLElement> <OFSet> | < > > > > < < < > > | > > > > > | > > > > > > | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | </namespaces> </OFXMLElement> <OFXMLCDATA><![CDATA[<]]></OFXMLCDATA> </OFMutableArray> </children> </OFXMLElement> <OFSet> <OFString>bar</OFString> <OFString>foo</OFString> </OFSet> <OFCountedSet> <object count='1'> <OFString>bar</OFString> </object> <object count='2'> <OFString>foo</OFString> </object> </OFCountedSet> </OFList> </key> <object> <OFString>list</OFString> </object> <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> <OFDataArray>MDEyMzQ1Njc4OTo7PEFCQ0RFRkdISklLTE1OT1BRUlNUVVZXWFla</OFDataArray> </key> <object> <OFString>data</OFString> </object> <key> <OFString>Blub</OFString> </key> <object> <OFString>B"la</OFString> </object> </OFMutableDictionary> </serialization> |