<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 static//en"> <html> <head> <title>Test results for Win32 Console</title> <style type="text/css" media="all"> @import url("../../style/base_UTF-16BE.css"); @import url("../../style/theme_UTF-16BE.css"); </style> <link rel="stylesheet" href="../../style/print_UTF-16BE.css" type="text/css" media="print"></link> <meta http-equiv="Content-Type" content="text/html; charset=UTF-16BE"></meta> <meta name="Author" content="Arthur Gouros"> </head> <body class="composite"> <a name="top"></a> <div id="banner"> <a href="http://xmlfy.sourceforge.net/" id="projectLogo"><img alt="xmlfy" src="../../images/xmlfy_logo.jpg"></img></a> <div class="clear"><hr></hr></div> </div> <div id="breadcrumbs"> <div class="xleft"></div> <div class="xright"> <a href="http://sourceforge.net/projects/xmlfy" class="externalLink" title="External Link">SourceForge.net Project Page</a> <span class="separator">|</span> <a href="http://sourceforge.net" class="externalLink" title="External Link">Hosted by SourceForge</a> </div> <div class="clear"><hr></hr></div> </div> <div id="leftColumn"><div id="navcolumn"> <div id="menuSections"><h5>Test Sections</h5><ul> <li class="none"><a href="index.html#section1">1. Environment</a></li> <li class="none"><a href="index.html#section2">2. Summary</a></li> <li class="none"><a href="index.html#section3">3. Test cases</a></li> </ul></div> </div></div> <div id="bodyColumn"><div class="contentBox"><div class="section"> <a name="test"></a> <p><table class="bar"><tr><td class="bar_left"></td><td class="bar_middle"> <h2 class="bar">Test results for Win32 Console</h2> </td><td class="bar_right"></td></tr></table> <a name="test_005011_delimiter_in_delimiter_UTF-16BE"></a> <h3>test_005011_delimiter_in_delimiter_UTF-16BE</h3> <p><b>NOTE: This web page is encoded in UTF-16BE format.</b> <br>Some web browsers may have difficulty displaying this page. <h4>Test description</h4> <pre> Test for delimiter handling when delimiter strings are also present in larger delimiter strings in a wide-UTF encoded input stream. The larger delimiter strings should be matched before the smaller delimiter strings. </pre> <h4>Test status</h4> <p><img src="../../images/tick.gif" align="top">&nbsp;Pass <h4>Run command</h4> <pre class="boxed"> cat _INPUT_DATA_ &brvbar; xmlfy -F1 aa -F1 aaaa -F1 aaa -A delimiter -X UTF-16BE </pre> <h4>Input data</h4> <pre class="boxed"> zz zzz zzzz aaa ccc cc aaaa ddd dd aa eee ee </pre> <h4>Output result</h4> <pre class="boxed"> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-16BE&quot;?&gt; &lt;!DOCTYPE xmlfy SYSTEM &quot;xmlfy.dtd&quot;&gt; &lt;xmlfy&gt; &lt;line delimiter=&quot;aaa&quot;&gt; &lt;field delimiter=&quot;WHITESPACE&quot;&gt;zz&lt;/field&gt; &lt;field delimiter=&quot;WHITESPACE&quot;&gt;zzz&lt;/field&gt; &lt;field delimiter=&quot;WHITESPACE&quot;&gt;zzzz&lt;/field&gt; &lt;/line&gt; &lt;line delimiter=&quot;aaaa&quot;&gt; &lt;field delimiter=&quot;WHITESPACE&quot;&gt;ccc&lt;/field&gt; &lt;field delimiter=&quot;WHITESPACE&quot;&gt;cc&lt;/field&gt; &lt;/line&gt; &lt;line delimiter=&quot;aa&quot;&gt; &lt;field delimiter=&quot;WHITESPACE&quot;&gt;ddd&lt;/field&gt; &lt;field delimiter=&quot;WHITESPACE&quot;&gt;dd&lt;/field&gt; &lt;/line&gt; &lt;line delimiter=&quot;&quot;&gt; &lt;field delimiter=&quot;WHITESPACE&quot;&gt;eee&lt;/field&gt; &lt;field delimiter=&quot;WHITESPACE&quot;&gt;ee&lt;/field&gt; &lt;/line&gt; &lt;/xmlfy&gt; </pre> <br><small><small>Goto: &nbsp;&nbsp;<a href="#top">Top of page.</a> &nbsp;&nbsp;<a href="index.html#section1">Section "Environment".</a> &nbsp;&nbsp;<a href="index.html#section2">Section "Summary".</a> &nbsp;&nbsp;<a href="index.html#section3">Section "Test cases".</a> </small></small> </div></div></div> <div class="clear"><hr></hr></div> <div id="footer"><div class="xright">&copy; 2008-2020, Arthur Gouros</div> <div class="clear"><hr></hr></div></div> </body> </html>