W3C home > Mailing lists > Public > www-dom-ts@w3.org > November 2003

Re: L3 tests updated for 2003-11-07 candidate recommendations

From: Bob Clary <bc@bclary.com>
Date: Mon, 10 Nov 2003 10:17:35 -0500
Message-ID: <3FAFAC0F.7080806@bclary.com>
To: www-dom-ts@w3.org
Curt Arnold wrote:
> 
> I've updated the L3 tests to the 2003-11-07 candidate recommendations.  
> All L3 tests will schema and DTD validate and the generated Java code 
> can be compiled.
> 

I have some validation problems with Level-3 LS and Validation. Errors 
follow and dom3.dtd attached.

Level 3 LS

[xmlvalidate] 
DOM-Test-Suite/tests/level3/ls/DOMInputSourceTest0.xml:31:50: Attribute 
"type" with value "LSInputStream" must have a value from the list "int 
short boolean DOMString List Collection EventMonitor DOMInputStream 
DOMOutputStream DOMReader Attr CDATASection CharacterData 
CharacterDataEditVAL Comment CustomEvent Document DocumentEditVAL 
DocumentEvent DocumentFragment DocumentRange DocumentTraversal 
DocumentType DOMConfiguration DOMError DOMErrorHandler DOMImplementation 
DOMImplementationList DOMImplementationLS DOMImplementationSource 
DOMLocator DOMStringList Element ElementEditVAL Entity EntityReference 
Event EventListener EventTarget KeyboardEvent LSInput LSLoadEvent 
LSOutput LSParser LSParserFilter LSProgressEvent LSResourceResolver 
LSSerializer LSSerializerFilter MouseEvent MutationEvent 
MutationNameEvent NamedNodeMap NameList Node NodeEditVAL NodeFilter 
NodeIterator NodeList Notation ProcessingInstruction Range StringExtend 
Text TextEvent TreeWalker TypeInfo UIEvent UserDataHandler 
XPathEvaluator XPathExpression XPathNamespace XPathNSResolver XPathResult ".

[xmlvalidate] 
DOM-Test-Suite/tests/level3/ls/DOMInputSourceTest1.xml:30:41: Attribute 
"type" with value "LSReader" must have a value from the list "int short 
boolean DOMString List Collection EventMonitor DOMInputStream 
DOMOutputStream DOMReader Attr CDATASection CharacterData 
CharacterDataEditVAL Comment CustomEvent Document DocumentEditVAL 
DocumentEvent DocumentFragment DocumentRange DocumentTraversal 
DocumentType DOMConfiguration DOMError DOMErrorHandler DOMImplementation 
DOMImplementationList DOMImplementationLS DOMImplementationSource 
DOMLocator DOMStringList Element ElementEditVAL Entity EntityReference 
Event EventListener EventTarget KeyboardEvent LSInput LSLoadEvent 
LSOutput LSParser LSParserFilter LSProgressEvent LSResourceResolver 
LSSerializer LSSerializerFilter MouseEvent MutationEvent 
MutationNameEvent NamedNodeMap NameList Node NodeEditVAL NodeFilter 
NodeIterator NodeList Notation ProcessingInstruction Range StringExtend 
Text TextEvent TreeWalker TypeInfo UIEvent UserDataHandler 
XPathEvaluator XPathExpression XPathNamespace XPathNSResolver XPathResult ".

[xmlvalidate] 
DOM-Test-Suite/tests/level3/ls/DOMInputSourceTest3.xml:37:41: Attribute 
"type" with value "LSReader" must have a value from the list "int short 
boolean DOMString List Collection EventMonitor DOMInputStream 
DOMOutputStream DOMReader Attr CDATASection CharacterData 
CharacterDataEditVAL Comment CustomEvent Document DocumentEditVAL 
DocumentEvent DocumentFragment DocumentRange DocumentTraversal 
DocumentType DOMConfiguration DOMError DOMErrorHandler DOMImplementation 
DOMImplementationList DOMImplementationLS DOMImplementationSource 
DOMLocator DOMStringList Element ElementEditVAL Entity EntityReference 
Event EventListener EventTarget KeyboardEvent LSInput LSLoadEvent 
LSOutput LSParser LSParserFilter LSProgressEvent LSResourceResolver 
LSSerializer LSSerializerFilter MouseEvent MutationEvent 
MutationNameEvent NamedNodeMap NameList Node NodeEditVAL NodeFilter 
NodeIterator NodeList Notation ProcessingInstruction Range StringExtend 
Text TextEvent TreeWalker TypeInfo UIEvent UserDataHandler 
XPathEvaluator XPathExpression XPathNamespace XPathNSResolver XPathResult ".

[xmlvalidate]
DOM-Test-Suite/tests/level3/ls/DOMWriterTest1.xml:33:65: Attribute 
"type" with value "LSOutputStream" must have a value from the list "int 
short boolean DOMString List Collection EventMonitor DOMInputStream 
DOMOutputStream DOMReader Attr CDATASection CharacterData 
CharacterDataEditVAL Comment CustomEvent Document DocumentEditVAL 
DocumentEvent DocumentFragment DocumentRange DocumentTraversal 
DocumentType DOMConfiguration DOMError DOMErrorHandler DOMImplementation 
DOMImplementationList DOMImplementationLS DOMImplementationSource 
DOMLocator DOMStringList Element ElementEditVAL Entity EntityReference 
Event EventListener EventTarget KeyboardEvent LSInput LSLoadEvent 
LSOutput LSParser LSParserFilter LSProgressEvent LSResourceResolver 
LSSerializer LSSerializerFilter MouseEvent MutationEvent 
MutationNameEvent NamedNodeMap NameList Node NodeEditVAL NodeFilter 
NodeIterator NodeList Notation ProcessingInstruction Range StringExtend 
Text TextEvent TreeWalker TypeInfo UIEvent UserDataHandler 
XPathEvaluator XPathExpression XPathNamespace XPathNSResolver XPathResult ".

Level 3 Validation

tests/level3/validation has a version of dom3.dtd still checked into CVS 
that needs to be removed.

Each of these tests compare numeric values and although the ignoreCase 
is irrelevant, it is required according to the DTD.

<!ELEMENT assertEquals (metadata?, (%statement;)*)>
<!ATTLIST assertEquals
	actual CDATA #REQUIRED
	expected CDATA #REQUIRED
	id ID #REQUIRED
	ignoreCase (true|false|auto) #REQUIRED

[xmlvalidate] 
DOM-Test-Suite/tests/level3/validation/allowedAttributes.xml:43:85: 
Attribute "ignoreCase" is required and must be specified for element 
type "assertEquals".

[xmlvalidate] 
DOM-Test-Suite/tests/level3/validation/allowedChildren.xml:41:81: 
Attribute "ignoreCase" is required and must be specified for element 
type "assertEquals".

[xmlvalidate] 
DOM-Test-Suite/tests/level3/validation/definedElements.xml:40:81: 
Attribute "ignoreCase" is required and must be specified for element 
type "assertEquals".

[xmlvalidate] 
DOM-Test-Suite/tests/level3/validation/enumeratedValues.xml:43:83: 
Attribute "ignoreCase" is required and must be specified for element 
type "assertEquals".




Received on Monday, 10 November 2003 10:19:31 GMT

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