This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I have been working on adding new tests to DOM 3 XPath. When doing so, I have renamed and made minor edits the following existing tests created by Phillipe isSupported01.xml isSupported02.xml createNSResolver01.xml createNSResolver02.xml createExpression01.xml createExpression02.xml createExpression03.xml createExpression04.xml createExpression05.xml evaluate01.xml With the exception of these files, all other files are new and I grant Copyright to the W3. If it is acceptable to submit this mix of files, I will send the attached zip file to the submission list. The tests validate and the ECMAScript tests have been tested.
Created attachment 115 [details] dom3-xpath-tests.zip
Created attachment 130 [details] Adds willBeModified's to load statements, other schema validation fixes load statements were missing willBeModified attributes. assertSame was used to compare strings. "dummy" was used as a namespace resolver in multiple cases Changed append statement to use "item" attribute instead of "obj" to allow literals.
Note that XPathResult_invalidIteratorState_ANY_TYPE.xml XPathResult_invalidIteratorState_ANY_UNORDERED_NODE_TYPE.xml XPathResult_invalidIteratorState_BOOLEAN_TYPE.xml XPathResult_invalidIteratorState_FIRST_ORDERED_NODE_TYPE.xml XPathResult_invalidIteratorState_NUMBER_TYPE.xml XPathResult_invalidIteratorState_ORDERED_NODE_ITERATOR_TYPE.xml XPathResult_invalidIteratorState_ORDERED_NODE_SNAPSHOT_TYPE.xml XPathResult_invalidIteratorState_STRING_TYPE.xml XPathResult_invalidIteratorState_UNORDERED_NODE_ITERATOR_TYPE.xml XPathResult_invalidIteratorState_UNORDERED_NODE_SNAPSHOT_TYPE.xml XPathResult_iterateNext_INVALID_STATE_ERR.xml Should be willBeModified="true" since the test attempts to invalidate the iterator by modifying the document. Also, createExpression01.xml createExpression02.xml createExpression03.xml createExpression04.xml createExpression05.xml createNSResolver01.xml createNSResolver02.xml evaluate01.xml evaluate02.xml isSupported01.xml isSupported02.xml have been renamed and should be CVS removed.
Created attachment 132 [details] Patch to fix XPathResult_stringValue XPathResult.stringValue is incorrect. Attached patch corrects the error.
Committed XPathResult_stringValue fix and willBeModified changes