Test results for Linux

test_006010_UTF-8

Test description

Test for the handling of a UTF-8 input stream.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -F1 TEST -F2 "\n" -F3 \¦ -T1 name test

Input data

TEST UTF-8 Test for xmlfy
This test is a subset of a more comprehensive test located at
http://www.cl.cam.ac.uk/~mgk25/ucs/examples
Please note that some web browsers have problems displaying the UTF-8 character set in its entirety.
The test and permission to use it has been provided courtesy of
Markus Kuhn http://www.cl.cam.ac.uk/~mgk25
TEST You should see the Greek word "kosme"¦"κόσμε"
TEST First possible sequence of a certain length
U-00000000¦""
U-00000080¦"€"
U-00000800¦"ࠀ"
U-00010000¦"𐀀"
U-00200000¦""
U-04000000¦""
TEST Last possible sequence of a certain length
U-0000007F¦""
U-000007FF¦"߿"
U-0000FFFF¦"￿"
U-001FFFFF¦""
U-03FFFFFF¦""
U-7FFFFFFF¦""
TEST Other boundary conditions
U-0000D7FF¦"퟿"
U-0000E000¦""
U-0000FFFD¦"�"
U-0010FFFF¦"􏿿"
U-00110000¦""

Output result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xmlfy SYSTEM "xmlfy.dtd">
<xmlfy>
  <test>
    <field> UTF-8 Test for xmlfy</field>
    <field>This test is a subset of a more comprehensive test located at</field>
    <field>http://www.cl.cam.ac.uk/~mgk25/ucs/examples</field>
    <field>Please note that some web browsers have problems displaying the UTF-8 character set in its entirety.</field>
    <field>The test and permission to use it has been provided courtesy of</field>
    <field>Markus Kuhn http://www.cl.cam.ac.uk/~mgk25</field>
    <field></field>
  </test>
  <test>
    <field>
      <field> You should see the Greek word "kosme"</field>
      <field>"κόσμε"</field>
    </field>
    <field></field>
  </test>
  <test>
    <field> First possible sequence of a certain length</field>
    <field>
      <field>U-00000000</field>
      <field>""</field>
    </field>
    <field>
      <field>U-00000080</field>
      <field>"€"</field>
    </field>
    <field>
      <field>U-00000800</field>
      <field>"ࠀ"</field>
    </field>
    <field>
      <field>U-00010000</field>
      <field>"𐀀"</field>
    </field>
    <field>
      <field>U-00200000</field>
      <field>""</field>
    </field>
    <field>
      <field>U-04000000</field>
      <field>""</field>
    </field>
    <field></field>
  </test>
  <test>
    <field> Last possible sequence of a certain length</field>
    <field>
      <field>U-0000007F</field>
      <field>""</field>
    </field>
    <field>
      <field>U-000007FF</field>
      <field>"߿"</field>
    </field>
    <field>
      <field>U-0000FFFF</field>
      <field>"￿"</field>
    </field>
    <field>
      <field>U-001FFFFF</field>
      <field>""</field>
    </field>
    <field>
      <field>U-03FFFFFF</field>
      <field>""</field>
    </field>
    <field>
      <field>U-7FFFFFFF</field>
      <field>""</field>
    </field>
    <field></field>
  </test>
  <test>
    <field> Other boundary conditions</field>
    <field>
      <field>U-0000D7FF</field>
      <field>"퟿"</field>
    </field>
    <field>
      <field>U-0000E000</field>
      <field>""</field>
    </field>
    <field>
      <field>U-0000FFFD</field>
      <field>"�"</field>
    </field>
    <field>
      <field>U-0010FFFF</field>
      <field>"􏿿"</field>
    </field>
    <field>
      <field>U-00110000</field>
      <field>""</field>
    </field>
    <field></field>
  </test>
</xmlfy>

Goto:   Top of page.   Section "Environment".   Section "Summary".   Section "Test cases".