Bug 28416 fix spacing issues in bug-0701 output and serialization test
authorabraaksm
Tue, 07 Apr 2015 22:55:30 +0200
changeset 937 d6e14de632e4
parent 936 aacc11c061ac
child 938 48070b20cd79
Bug 28416 fix spacing issues in bug-0701 output and serialization test
tests/misc/bug/_bug-test-set.xml
tests/misc/bug/bug-0701-alt.out
tests/misc/bug/bug-0701.out
tests/misc/bug/bug-0701.xsl
--- a/tests/misc/bug/_bug-test-set.xml	Tue Apr 07 22:48:06 2015 +0200
+++ b/tests/misc/bug/_bug-test-set.xml	Tue Apr 07 22:55:30 2015 +0200
@@ -406,6 +406,7 @@
       <created by="Michael Kay" on="2012-11-07"/>
       <modified by="John Lumley" on="2014-09-04" change="Declared serialization requirement"/>
       <modified by="Abel Braaksma" on="2015-04-06" change="Bug 28416, allowing an alternative rendition of the serialized outcome"/>
+      <modified by="Abel Braaksma" on="2015-04-07" change="Bug 28416, fixed as proposed by MKay, by removing whitespace issues in result generation"/>
       <environment>
          <source role=".">
             <content><![CDATA[<page-items>
@@ -423,10 +424,7 @@
          <output serialize="yes"/>
       </test>
       <result>
-         <any-of>
-            <assert-serialization method="html" file="bug-0701.out"/>
-            <assert-serialization method="html" file="bug-0701-alt.out"/>
-         </any-of>
+         <assert-serialization method="html" file="bug-0701.out"/>
       </result>
    </test-case>
 
--- a/tests/misc/bug/bug-0701-alt.out	Tue Apr 07 22:48:06 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#990033"><b>The list heading</b></font></p><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">
-   <ul>
-      <li>Simultaneous multi-host connectivity for IBM mainframe, AS/400, VAX, OpenVMS, Unix, and Data General</li>
-      <li>Multilingual install in English, French, German, or Spanish</li>
-      <li>Support for server and single-user installation</li>
-   </ul>
-</font><p><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">Some text in a paragraph</font></p>
\ No newline at end of file
--- a/tests/misc/bug/bug-0701.out	Tue Apr 07 22:48:06 2015 +0200
+++ b/tests/misc/bug/bug-0701.out	Tue Apr 07 22:55:30 2015 +0200
@@ -1,6 +1,1 @@
-<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#990033"><b>The list heading</b></font></p><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">
-   <ul>
-      <li>Simultaneous multi-host connectivity for IBM mainframe, AS/400, VAX, OpenVMS, Unix, and Data General</li>
-      <li>Multilingual install in English, French, German, or Spanish</li>
-      <li>Support for server and single-user installation</li>
-   </ul></font><p><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">Some text in a paragraph</font></p>
\ No newline at end of file
+<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#990033"><b>The list heading</b></font></p><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#000000"><ul><li>Simultaneous multi-host connectivity for IBM mainframe, AS/400, VAX, OpenVMS, Unix, and Data General</li><li>Multilingual install in English, French, German, or Spanish</li><li>Support for server and single-user installation</li></ul></font><p><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#000000">Some text in a paragraph</font></p>
\ No newline at end of file
--- a/tests/misc/bug/bug-0701.xsl	Tue Apr 07 22:48:06 2015 +0200
+++ b/tests/misc/bug/bug-0701.xsl	Tue Apr 07 22:55:30 2015 +0200
@@ -1,6 +1,6 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 
-<xsl:output method="html" indent="yes"/>
+<xsl:output method="html" indent="no"/>
 
 <?spec xslt#copying?>
 <!-- BUG: Saxon 5.3.1/002 -->