This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 364 - transforms/test-to-ecmascript.xsl generates missing ) for assertsEqualsCollection for text/html
Summary: transforms/test-to-ecmascript.xsl generates missing ) for assertsEqualsCollec...
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: ECMAScript Binding (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-18 15:11 UTC by Bob Clary
Modified: 2003-11-19 03:56 UTC (History)
0 users

See Also:


Attachments
patch for ) problem and @expected problem (5.32 KB, patch)
2003-11-13 17:40 UTC, Bob Clary
Details
Modified for subsequent changes to test-to-java.xsl (3.65 KB, patch)
2003-11-18 22:54 UTC, Curt Arnold
Details

Description Bob Clary 2003-10-18 15:11:48 UTC
$ cvs diff -u test-to-ecmascript.xsl
Index: test-to-ecmascript.xsl
===================================================================
RCS file: /sources/public/2001/DOM-Test-Suite/transforms/test-to-ecmascript.xsl,v
retrieving revision 1.23
diff -u -9 -p -u -r1.23 test-to-ecmascript.xsl
--- test-to-ecmascript.xsl      27 Jun 2003 05:37:30 -0000      1.23
+++ test-to-ecmascript.xsl      18 Oct 2003 19:08:25 -0000
@@ -643,19 +643,19 @@ The source document contained the follow
         </xsl:when>

         <xsl:when test="@ignoreCase='true'">
             <xsl:choose>
                 <xsl:when test="$expectedType = 'Collection' or $expectedType =
'List'">
                     <xsl:text>toLowerArray(</xsl:text>
                     <xsl:value-of select="@expected"/>
                     <xsl:text>),toLowerArray(</xsl:text>
                     <xsl:value-of select="@actual"/>
-                    <xsl:text>);
+                   <xsl:text>));
        </xsl:text>
                 </xsl:when>
                 <xsl:otherwise>
                     <xsl:value-of select="@expected"/>
                     <xsl:text>.toLowerCase(),</xsl:text>
                     <xsl:value-of select="@actual"/>
                     <xsl:text>.toLowerCase());
        </xsl:text>
                 </xsl:otherwise>
Comment 1 Bob Clary 2003-11-13 17:38:35 UTC
-> curt
Comment 2 Bob Clary 2003-11-13 17:40:53 UTC
Created attachment 51 [details]
patch for ) problem and @expected problem

There is also a problem with missing @ in front of expected in several
conditions. This patch includes fixes for the ) problems and the expected
problems.
Comment 3 Curt Arnold 2003-11-18 22:54:21 UTC
Created attachment 53 [details]
Modified for subsequent changes to test-to-java.xsl