mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
cb35f01d94
* tree.c: xmlAttrSerializeTxtContent don't segfault if NULL is passed. * test/att7 result//att7*: adding an old regression test laying around on my laptop Daniel
12 lines
184 B
XML
12 lines
184 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE x [
|
|
<!ELEMENT x (test)*>
|
|
<!ELEMENT test EMPTY>
|
|
<!ATTLIST test att CDATA "attvalue">
|
|
<!ENTITY test.ent "<test/>">
|
|
]>
|
|
<x>
|
|
<test/>
|
|
&test.ent;
|
|
</x>
|