W3C home > Mailing lists > Public > www-dom-ts@w3.org > October 2001

DOM Level2 Tests

From: Rick Rivello <richard.rivello@nist.gov>
Date: Wed, 17 Oct 2001 07:05:56 -0400
Message-ID: <038201c156fb$b209c7d0$573b0681@ncsl.nist.gov>
To: <www-dom-ts@w3.org>
All

I work with Mary Brady at NIST and have been 
running the NIST DOM Level 2 tests through
SUN's MSV tool and have some questions.

Several tests such as documentcreateattributexmlnsillegalname.xml
and documentcreateelementxmlnsillegalname.xml
have failed because a double quote is used as element content
for one of the member nodes. A "unexpected character literal"
error is returned. 

 I've tried several different ways
to escape the double quote and haven't had any luck.  Can
someone give me a suggestion.

Also the namednodemapsetnameditemxmlnsreplaceitem.xml test
uses an underscore in the values of attributes(ex. ret_node).  MSV returns
"attribute "name" has a bad value: the value does not match the 
regular expression "[A-Za-z] [A-Za-z0-9]*".

Since Java variable names are valid if they contain underscores shouldn't
they also be valid for the tests.

Rick Rivello
Received on Wednesday, 17 October 2001 07:05:51 GMT

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