[XML-SIG] DC DOM tests (Was: Roadmap document - finally!)

Lars Marius Garshol larsga@garshol.priv.no
20 Feb 2001 08:48:32 +0100


* Martijn Pieters
| 
| I cannot find any references to Lars' test suite; so I don't know if it
| will work with his.

I think Uche is referring to test/test_javadom.py in the PyXML
package.  It's not very big, and it sounds like you've probably
covered what it does already. It also uses PyUnit.
 
| - The suite tests only for DOM compliance, nothing implementation specific
|   should be in there. There are some python binding tests, we may want to
|   move those out.

I don't think they should be. The Python extensions are more a part of
the interface than some of the W3C-defined stuff, I would say.
 
| - DOMString and text manipulating interface methods are not tested beyond
|   ASCII text due to an implementation limitation of ParsedXML.DOM. So,
|   implementations will not be tested if text is correctly treated when
|   multi-byte UTF-16 characters are involved.

By "multi-byte UTF-16 characters" I assume you mean Unicode characters
outside the BMP that are represented using two surrogates?
 

But this test suite really sounds like an excellent piece of work. It
would be great if we could start using it in the PyXML package, and
also if some scheme could be worked out so that both groups could
easily contribute to the package.

--Lars M.