<!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-32BE.css"); @import url("../../style/theme_UTF-32BE.css"); </style> <link rel="stylesheet" href="../../style/print_UTF-32BE.css" type="text/css" media="print"></link> <meta http-equiv="Content-Type" content="text/html; charset=UTF-32BE"></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_001703_option_unxml_UTF-32BE"></a> <h3>test_001703_option_unxml_UTF-32BE</h3> <p><b>NOTE: This web page is encoded in UTF-32BE format.</b> <br>Some web browsers may have difficulty displaying this page. <h4>Test description</h4> <pre> Test for the conversion of a wide-UTF encoded XML input stream to normal text. </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 -U -F2 : -F3 &quot;, &quot; -X UTF-32BE </pre> <h4>Input data</h4> <pre class="boxed"> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-32BE&quot;?&gt; &lt;!DOCTYPE xmlfy SYSTEM &quot;xmlfy.dtd&quot;&gt; &lt;xmlfy&gt; &lt;line&gt; &lt;field&gt;admin&lt;/field&gt; &lt;field&gt;use_crypt&lt;/field&gt; &lt;field&gt;500&lt;/field&gt; &lt;field&gt;544&lt;/field&gt; &lt;!-- BOFH --&gt; &lt;field&gt;Administrator&lt;/field&gt; &lt;field&gt;/home/admin&lt;/field&gt; &lt;field&gt;/bin/bash&lt;/field&gt; &lt;/line&gt; &lt;!-- old &lt;line&gt; &lt;field&gt;Ro&lt;/field&gt; &lt;field&gt;use_crypt&lt;/field&gt; &lt;field&gt;211&lt;/field&gt; &lt;field&gt;544&lt;/field&gt; &lt;field&gt;Ro&lt;/field&gt; &lt;field&gt;/export/home/Ro&lt;/field&gt; &lt;field&gt;/bin/sh&lt;/field&gt; &lt;/line&gt; &lt;/xmlfy --&gt; &lt;line&gt; &lt;field&gt;Ro&lt;/field&gt; &lt;field&gt;&lt;/field&gt; &lt;field&gt;649&lt;/field&gt; &lt;field&gt;544&lt;/field&gt; &lt;field&gt;&quot;&lt;Ro&brvbar;&amp;Ro&apos;s&gt;&quot;&lt;/field&gt; &lt;field&gt;/home/Ro&lt;/field&gt; &lt;field&gt;/bin/bash&lt;/field&gt; &lt;/line&gt; &lt;/xmlfy&gt; this line is orphaned data &lt;xmlfy&gt; &lt;line&gt; &lt;field&gt;al0&lt;/field&gt; &lt;field&gt;*&lt;/field&gt; &lt;field&gt;650&lt;/field&gt; &lt;field&gt;777&lt;/field&gt; &lt;field&gt;&lt;name&gt;Another Level 0&lt;/name&gt;&lt;ph&gt;12345678&lt;/ph&gt;&lt;loc&gt;6th floor&lt;/loc&gt;&lt;/field&gt; &lt;field&gt;/home/al0&lt;/field&gt; &lt;field&gt;/bin/sh&lt;/field&gt; &lt;/line&gt; &lt;/xmlfy&gt; </pre> <h4>Output result</h4> <pre class="boxed"> admin:use_crypt:500:544:Administrator:/home/admin:/bin/bash Ro::649:544:&quot;&lt;Ro&brvbar;&Ro&apos;s&gt;&quot;:/home/Ro:/bin/bash al0:*:650:777:Another Level 0, 12345678, 6th floor:/home/al0:/bin/sh </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>