mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-31 17:17:37 +03:00
57c9db0725
* encoding.c: poblem with encoding detection for UTF-16 reported by Ashwin and found by Bill * test/valid/dtds/utf16b.ent test/valid/dtds/utf16l.ent test/valid/UTF16Entity.xml result/valid/UTF16Entity.xml*: added the example to the regression tests Daniel svn path=/trunk/; revision=3700
9 lines
201 B
XML
9 lines
201 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE foo [
|
|
<!ELEMENT foo (root)*>
|
|
<!ELEMENT root EMPTY>
|
|
<!ENTITY utf16b SYSTEM "dtds/utf16b.ent">
|
|
<!ENTITY utf16l SYSTEM "dtds/utf16l.ent">
|
|
]>
|
|
<foo> &utf16b; &utf16l; </foo>
|