- From: Sander Bos <sander@x-hive.com>
- Date: Mon, 29 Dec 2003 09:55:02 +0100
- To: <www-dom-ts@w3.org>
Dear Curt, > >DOMInputSourceTest3 > > resource resolver should not give back null result, then > parser will look > >for 'new_system' file on filesystem. > > Current DOMInputSourceTest3 does not have an resource > resolver. Haven't > checked history. My bad, I meant DOMInputSourceTest5. > >DOMWriterFilterTest0: > > <getAttribute var="attr1" obj="elt1" name='"attr1"'/> > >discovered during implementation that this does not test > whether the whole > >attribute is 'accidentally' > >removed (getAttribute returns empty string for non-existing > attributes). > >Since I think most impls are likely to get this wrong at > first may be idea > >to add extra check that attr1 is present (but empty), also > to distinguish it > >from next test. > >DOMWriterFilterTest1: > > The check at the end should verify that the attribute is > now gone, not > >that it is still there as it does now. > > > > > Will review tomorrow. What does that mean, I did not implement this for nothing did I? > SystemId2 requires a running HTTP server that allows you to > HTTP PUT to > http://localhost:8080/domts/temp/{random integer}.xml. The base URI > should eventually be configurable. However checking the ability to > write to an http URL will always require some appropriately > configured > server. For those who want such a server but do not have much experience with such things, let me share my quick recipe for a domts-ls compatible server: - Download and unpack a recent Tomcat version (I use 4.1.x). - Copy the directory (including content) tomcatDir/webapps/webdav to tomcatDir/webapps/domts - Edit tomcatDir/webapps/domts/WEB-INF/web.xml to ensure all references to servlet name webdav are replaced with domts, and uncomment the part indicated as needed to be uncommented for readwrite access (needed for SystemId2). - Create the dir tomcatDir/webapps/domts/temp - Copy a (random) file to tomcatDir/webapps/domts/testpdf.pdf - Start Tomcat with e.g. 'catalina.bat run' or 'sh catalina.sh run' from tomcatDir/bin. Kind regards, --Sander.
Received on Monday, 29 December 2003 03:55:03 UTC