elena 2002/08/15 14:13:32
Modified: java/tests/dom/mem Test.java
Log:
only xmlns prefix can be bound to the xmlns namespace
Revision Changes Path
1.10 +1 -3 xml-xerces/java/tests/dom/mem/Test.java
Index: Test.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/tests/dom/mem/Test.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Test.java 11 Jun 2002 17:43:55 -0000 1.9
+++ Test.java 15 Aug 2002 21:13:32 -0000 1.10
@@ -1045,8 +1045,6 @@
new Object[]{"xml"},
DOMException.NAMESPACE_ERR));
//Special case for xmlns:a where namespaceURI must be xmlURI
- attr = doc.createAttributeNS(xmlnsURI, "foo:a");
- attr.setPrefix("xmlns");
attr = doc.createAttributeNS("http://nsa", "foo:a");
Assertion.assert(DOMExceptionsTest(attr, "setPrefix",
new Class[]{String.class},
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]