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>

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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:03 UTC