Re: building dom3 tests

"Mary Brady" <[email protected]>
Newsgroups gmane.comp.web.dom.test-suites.general
Message-ID <[email protected]>
Hi Jeroen,

Would it be possible for you to suggest
what types of things need to be supported
for DOM Level 3?

--Mary

----- Original Message -----
From: "Jeroen van Rotterdam" <[email protected]>
To: <[email protected]>
Sent: Wednesday, May 22, 2002 3:34 PM
Subject: building dom3 tests


> 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: [email protected]
> phone: +31 10 7108600
> http://www.x-hive.com
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.