Re: Automatic XML Schema/DTD generation?

> 3. we can point to the right part of the spec, since the spec generated
the
> test
>
> However, we need to have more granularity in the DOM Specification format,
> which is being looked into.

The generation of  the DTD or Schema for the testsuite is what Freek means
not the test itself.

I believe al the info is already available within the XML source of the DOM
Specs.
Take a look at f.i. the fragment of the LS spec (included below) turning
that into:

<!ELEMENT parseCMURI EMPTY>
<!ATTLIST parseCMURI
 obj CDATA #REQUIRED
 var CDATA #REQUIRED
 uri CDATA #REQUIRED
>

wouldn't be hard I think..

Jeroen



- <method name="parseCMURI" id="ID-LS-DOMBuilder-parseCMURI">
    <parameters>
-    <param name="uri" type="DOMString" attr="in">...</param>
</parameters>
-   <returns type="CMModel">...  </returns>
-   <raises>
     ......
     </raises>
- </method>

Received on Tuesday, 29 May 2001 12:30:26 UTC