You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by bb...@apache.org on 2006/11/06 23:19:54 UTC

svn commit: r471925 - /incubator/xap/trunk/testsrc/xap/xml/_TestParser.html

Author: bbuffone
Date: Mon Nov  6 15:19:52 2006
New Revision: 471925

URL: http://svn.apache.org/viewvc?view=rev&rev=471925
Log:
removed duplicate attribute name parser.

Modified:
    incubator/xap/trunk/testsrc/xap/xml/_TestParser.html

Modified: incubator/xap/trunk/testsrc/xap/xml/_TestParser.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/testsrc/xap/xml/_TestParser.html?view=diff&rev=471925&r1=471924&r2=471925
==============================================================================
--- incubator/xap/trunk/testsrc/xap/xml/_TestParser.html (original)
+++ incubator/xap/trunk/testsrc/xap/xml/_TestParser.html Mon Nov  6 15:19:52 2006
@@ -157,25 +157,6 @@
         
     } 
        
-
-   /*
-   function testDuplicateAttributeNames()  {
-        //var doc = createDoc(DUPLICATE_ATTRIBUTES_ON_ELEMENT);
-        //assertEquals("If there are two attributes with the same name, " +
-        //		"the second one should take precedence.", 
-        //		doc.getRootElement().getAttribute("name"), "value2");
-        		
-		exceptionThrown = false;
-        try{
-	    	doc = createDoc(DUPLICATE_ATTRIBUTES_ON_ELEMENT);
-		} catch(ee){
-	    	exceptionThrown = true;
-		}       
-        assertTrue("An exception should have been thrown for invalid xml duplicate attributes.",
-                exceptionThrown);
-        		
-    }
-    */
     
     function testTextAndCdata()  {
     	var doc = createDoc(TEXT_AND_CDATA);
@@ -246,8 +227,6 @@
 // passed:	      testMissingClosingBrace() ;
 
 // passed:            testNormalEntityResolution() ;
-
-// passed:	      testDuplicateAttributeNames() ;
 
 // passed:	      testTextAndCdata() ;