<!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-16LE.css"); @import url("../../style/theme_UTF-16LE.css"); </style> <link rel="stylesheet" href="../../style/print_UTF-16LE.css" type="text/css" media="print"></link> <meta http-equiv="Content-Type" content="text/html; charset=UTF-16LE"></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_001161_option_keyvaluepairs_UTF-16LE"></a> <h3>test_001161_option_keyvaluepairs_UTF-16LE</h3> <p><b>NOTE: This web page is encoded in UTF-16LE format.</b> <br>Some web browsers may have difficulty displaying this page. <h4>Test description</h4> <pre> Test for key/value pairing functionality in a multi level environment as read from a wide-UTF encoded input stream. The first field of the new level should become the element name for that level. </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 -k -F2 : -F2 , -F3 &quot;=&quot; -t -q -X UTF-16LE </pre> <h4>Input data</h4> <pre class="boxed"> # comment @ package sdesc: &quot;some text&quot; ldesc: &quot;some text&quot; skip: curr: version=1.4 prev: version=1.2,version=1.3 test: version category: name1[ name2...] requires: package[ package...] external-source: package </pre> <h4>Output result</h4> <pre class="boxed"> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-16LE&quot;?&gt; &lt;!DOCTYPE xmlfy SYSTEM &quot;xmlfy.dtd&quot;&gt; &lt;xmlfy&gt; &lt;line&gt; &lt;field&gt;# comment&lt;/field&gt; &lt;/line&gt; &lt;line&gt; &lt;field&gt;@ package&lt;/field&gt; &lt;/line&gt; &lt;sdesc&gt;some text&lt;/sdesc&gt; &lt;ldesc&gt;some text&lt;/ldesc&gt; &lt;skip&gt;&lt;/skip&gt; &lt;curr&gt; &lt;version&gt;1.4&lt;/version&gt; &lt;/curr&gt; &lt;prev&gt; &lt;version&gt;1.2&lt;/version&gt; &lt;version&gt;1.3&lt;/version&gt; &lt;/prev&gt; &lt;test&gt;version&lt;/test&gt; &lt;category&gt;name1[ name2...]&lt;/category&gt; &lt;requires&gt;package[ package...]&lt;/requires&gt; &lt;external-source&gt;package&lt;/external-source&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>