W3C home > Mailing lists > Public > www-dom-ts@w3.org > March 2002

Tests in DOM-Test-Suite failing XML validity constraints.

From: Nick Efthymiou <NEFTH@pacbell.net>
Date: Sun, 3 Mar 2002 06:07:28 -0500 (EST)
To: www-dom-ts@w3.org
Message-id: <000701c1c29b$07966220$88ce7b42@thinkpad570e>

Item 1: In
http://dev.w3.org/cvsweb/2001/DOM-Test-Suite/transforms/dom-to-dtd.xsl

there are 2 occurences of <!ATTLIST hasSize
The second occurence must read <!ATTLIST contentType
Note: this is a bug similar to the bug fixed in Rev. 1.14 of dom-to-dtd.xsl

Result: In tests/dom1.dtd, the duplicate ATTLIST causes tests to fail
validity constraints.

Item 2: The element "value" is missing from the content model of <!ELEMENT
NO_MODIFICATION_ALLOWED_ERR
in tests/dom1.dtd

Result: The following two tests fail validity constraints:

attrsetvaluenomodificationallowederr.xml:57: validity error: Element
NO_MODIFICATION_ALLOWED_ERR content doesn't follow the DTD
Expecting (nodeValue | data | data | insertBefore | replaceChild |
removeChild |
 appendChild | setNamedItem | appendData | insertData | deleteData |
replaceData
 | setAttribute | removeAttribute | setAttributeNode | removeAttributeNode |
splitText), got (value )
    </NO_MODIFICATION_ALLOWED_ERR>
                                 ^
attrsetvaluenomodificationallowederrEE.xml:55: validity error: Element
NO_MODIFICATION_ALLOWED_ERR content doesn't follow the DTD
Expecting (nodeValue | data | data | insertBefore | replaceChild |
removeChild |
 appendChild | setNamedItem | appendData | insertData | deleteData |
replaceData
 | setAttribute | removeAttribute | setAttributeNode | removeAttributeNode |
spl
itText), got (value )
    </NO_MODIFICATION_ALLOWED_ERR>
                                 ^

- Nick -
Received on Wednesday, 13 March 2002 16:57:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:46 GMT