mongo-ruby-driver/tests/data/binary.xml

148 lines
8.2 KiB
XML

<twonk>
<meta/>
<doc>
<binary name="empty"/>
<binary name="foo">Zm9v
</binary>
<binary name="control_chars">AQIDBAU=
</binary>
<binary name="long">RG9uJ3QgZXhwZWN0IHRoaXMgdGV4dCB0byBiZSBldmVuIG1pbGRseSBpbnRl
cmVzdGluZy4gSXRzIG9ubHkgcHVycG9zZSBpcyB0bwpwcm92aWRlIGEgImxv
bmciIHN0cmluZy4gSG93IGxvbmcgaXMgbG9uZz8gV2VsbCwgaG93IGxvbmcg
aXMgYSBwaWVjZSBvZgpzdHJpbmc/IEJldCB5b3UgZGlkbid0IHNlZSB0aGF0
IGNvbWluZy4KCkRvbid0IGV4cGVjdCB0aGlzIHRleHQgdG8gYmUgZXZlbiBt
aWxkbHkgaW50ZXJlc3RpbmcuIEl0cyBvbmx5IHB1cnBvc2UgaXMgdG8KcHJv
dmlkZSBhICJsb25nIiBzdHJpbmcuIEhvdyBsb25nIGlzIGxvbmc/IFdlbGws
IGhvdyBsb25nIGlzIGEgcGllY2Ugb2YKc3RyaW5nPyBCZXQgeW91IGRpZG4n
dCBzZWUgdGhhdCBjb21pbmcuCgpEb24ndCBleHBlY3QgdGhpcyB0ZXh0IHRv
IGJlIGV2ZW4gbWlsZGx5IGludGVyZXN0aW5nLiBJdHMgb25seSBwdXJwb3Nl
IGlzIHRvCnByb3ZpZGUgYSAibG9uZyIgc3RyaW5nLiBIb3cgbG9uZyBpcyBs
b25nPyBXZWxsLCBob3cgbG9uZyBpcyBhIHBpZWNlIG9mCnN0cmluZz8gQmV0
IHlvdSBkaWRuJ3Qgc2VlIHRoYXQgY29taW5nLgoKRG9uJ3QgZXhwZWN0IHRo
aXMgdGV4dCB0byBiZSBldmVuIG1pbGRseSBpbnRlcmVzdGluZy4gSXRzIG9u
bHkgcHVycG9zZSBpcyB0bwpwcm92aWRlIGEgImxvbmciIHN0cmluZy4gSG93
IGxvbmcgaXMgbG9uZz8gV2VsbCwgaG93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