[Mono-list] Tests

Paul Paximadis ppaximadis@websoft.co.za
Wed, 21 May 2003 19:14:37 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C31FBC.74D02D7E
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I made a small testclas to test XML Data Types.

Not sure if you want to test this - but I saw they differed to windows.
Eg. Windows System.Xml.XmlChildNodes  Linux
System.Xml.XmlNodeListChildren

Please let me know if you want me to continue/finish these type of tests
or move on.

The loading of an xml file with a DTD declaration seems to fall over in
mono(unless I have an older version - 023).

Thanks,
Paul


------_=_NextPart_001_01C31FBC.74D02D7E
Content-Type: application/octet-stream;
	name="XmlDataTypeTest.cs"
Content-Transfer-Encoding: base64
Content-Description: XmlDataTypeTest.cs
Content-Disposition: attachment;
	filename="XmlDataTypeTest.cs"

Ly8gWG1sRGF0YVR5cGVUZXN0LmNzDQovLw0KLy8gQXV0aG9yOiBQYXVsIFBheGltYWRpcw0KLy8N
Ci8vIChDKSAyMDAzIFBhdWwgUGF4aW1hZGlzDQovLyANCnVzaW5nIE5Vbml0LkZyYW1ld29yazsN
CnVzaW5nIFN5c3RlbTsNCnVzaW5nIFN5c3RlbS5YbWw7DQoNCm5hbWVzcGFjZSBNb25vVGVzdHMu
U3lzdGVtLlhtbA0Kew0KDQoJW1Rlc3RGaXh0dXJlXQ0KCXB1YmxpYyBjbGFzcyBYbWxEYXRhVHlw
ZVRlc3QNCgl7DQoJCVhtbERvY3VtZW50IHhtbGRvYzsNCg0KCQlbU2V0VXBdDQoJCXB1YmxpYyB2
b2lkIEdldFJlYWR5KCkgDQoJCXsNCgkJCXhtbGRvYyA9IG5ldyBYbWxEb2N1bWVudCgpOw0KCQkJ
eG1sZG9jLkxvYWRYbWwoIjxtb25vPiIrDQoJCQkJCSI8Y29tcGlsZXI+QyM8L2NvbXBpbGVyPiIg
Kw0KCQkJCQkiPG9zPmxpbnV4Ozwvb3M+IiArDQoJCQkJCSI8L21vbm8+Iik7DQoJCX0NCg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