- From: Hallvord R. M. Steen <hallvord@opera.com>
- Date: Fri, 29 Jun 2007 15:18:38 +0200
- To: www-dom-ts@w3.org
Hi, I checked out the DOM test suites from the W3 CVS today - don't know how actively updated they are but at least my version should be current ;) - but the build invoked with ant dom2-core-gen-jsunit fails with this error message: [xmlvalidate] D:\testsuites\w3.org\2001\DOM-Test-Suite\build\dom2-interfaces.xml:2228:183: The prefix "xml" cannot be bound to any namespace other than its usual namespace; neither can the namespace for "xml" be bound to any prefix other than "xml". BUILD FAILED D:\testsuites\w3.org\2001\DOM-Test-Suite\build.xml:1530: Could not validate document D:\testsuites\w3.org\2001\DOM-Test-Suite\build\dom2-interfaces.xml Caused by the xmlns:ns0 in demo code like the following: <p>Returns the UTF-32 offset corresponding to a UTF-16 offset. Used for random access. To find the UTF-32 length of a string, use:<eg xmlns:ns0="http://www.w3.org/XML/1998/namespace" ns0:space="preserve">len32 = findOffset32(source, source.length());</eg> I can fix this by changing all (3) instances to e.g. xmlns:ns0="http://www.w3.org/XML/1998/namespace0" But perhaps it could be fixed at source? -- Hallvord R. M. Steen Core QA JavaScript tester, Opera Software http://www.opera.com/ Opera - simply the best Internet experience
Received on Friday, 29 June 2007 13:16:23 UTC