Created
February 26, 2012 21:47
-
-
Save robinpokorny/1919140 to your computer and use it in GitHub Desktop.
Valid XML with exotic characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.05" encoding="UTF-8"?> | |
<!-- With version 1.05 this should be processed as XML 1.0 --> | |
<exotic> | |
<!-- | |
"" Zero Width Joiner ‍ | |
"" Zero Width Non-Joiner ‌ | |
Note that a valid tag may not start with a number or be empty. Both of the following tags are still valid - there is a non-printable character on the first position. | |
--> | |
<3> "" Zero Width Joiner ‍ <>¡"" Zero Width Non-Joiner ‌!</></3> | |
<!-- | |
Chinese characters | |
--> | |
<繁體中文>traditional Chinese</繁體中文> | |
<繁体中文>simplified Chinese</繁体中文> | |
<!-- | |
ጁ Ethiopic Syllable Ju ጁ | |
ዪ Ethiopic Syllable Yi ዪ | |
--> | |
<ጁዪ Ju="ጁ" Yi="ዪ"/> | |
<!-- | |
ဪ Myanmar Letter Au ဪ | |
ဤ Myanmar Letter Ii ဤ | |
ဏ Myanmar Letter Nna ဏ | |
--> | |
<ဪဤဏ> | |
Myanmar Letter Au ဪ + | |
Myanmar Letter Ii ဤ + | |
Myanmar Letter Nna ဏ | |
</ဪဤဏ> | |
<!-- | |
€ Euro Sign € | |
₱ Peso Sign ₱ | |
Note that using $ or £ the tag would not valid. | |
--> | |
<price> | |
<€ code="EUR">200</€> | |
<₱ code="CUP">267</₱> | |
</price> | |
<!-- | |
℃ Degree Celsius ℃ | |
℉ Degree Fahrenheit ℉ | |
--> | |
<temperature> | |
<℃>36,9</℃> | |
<℉>98,42</℉> | |
</temperature> | |
<!-- | |
ℕ Double-Struck Capital N ℕ | |
ℤ Double-Struck Capital Z ℤ | |
ℚ Double-Struck Capital Q ℚ | |
ℝ Double-Struck Capital R ℝ | |
ℂ Double-Struck Capital C ℂ | |
--> | |
<numbers> | |
<ℕ>Natural</ℕ> | |
<ℤ>Integers</ℤ> | |
<ℚ>Rational - <↉>↉ Vulgar Fraction Zero Thirds ↉</↉></ℚ> | |
<ℝ>Real</ℝ> | |
<ℂ>Complex</ℂ> | |
</numbers> | |
</exotic> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment