- From: Jeroen van Rotterdam <jvrdam@xs4all.nl>
- Date: Wed, 22 May 2002 21:34:53 +0200 (CEST)
- To: <www-dom-ts@w3.org>
Hi,
I've build the dom3 schema and dtd which works ok.
I'm trying to transform some simple DOM 3 LS tests to java to see whether
the tests are ok.
Currently the test-to-java.xsl produces dom level 1 java code which isn't
very useful for dom level 3 tests. See result below.
What's the status on the test-to-java stylesheet for dom level 3 ?
How should it be produced anyway ?, will there be a new test-to-java.xsl
for dom level 3 ?
jeroen
---
package org.w3.domts.level1.core;
import org.w3c.dom.*;
import org.w3c.dom.html.*;
import org.w3c.dom.events.*;
import org.w3c.domts.*;
import javax.xml.parsers.*;
import java.util.*;
/**
* DOM Builder test
* @author X-Hive Corporation
* @author X-Hive Corporation
* @see <a href=""></a>
*/
public class ....... extends DOMTestCase {
public .......(DOMTestDocumentBuilderFactory factory)
{
super(factory);
}
public void runTest() throws java.lang.Throwable {
DOMImplementation implementation;
DOMImplementationLS lsImplementation;
Document document;
DOMWriter writer;
DOMBuilder builder;
}
public String getTargetURI() {
return "http://www.w3.org/2001/DOM-Test-Suite/tests/Level-1/.......";
}
public static void main(String[] args) {
DOMTestCase.doMain(........class,args);
}
}
=====
X-Hive Corporation
Jeroen van Rotterdam, CEO
e-mail: jeroen@x-hive.com
phone: +31 10 7108600
http://www.x-hive.com
Received on Wednesday, 22 May 2002 15:35:00 UTC