mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
f5582f156c
* parser.c: applied a couple of patches from Peter Jacobi to start to get rid of ctxt->token, with a possible significant speed improvement to be gained once done. Better compliance with PE references constructs in DTDs too. * test/valid/t[0-9]* result/valid/t[0-9]*: added a set of tests from Peter too Daniel
9 lines
291 B
XML
9 lines
291 B
XML
<?xml version='1.0'?>
|
|
<!DOCTYPE root [
|
|
<!ENTITY % deftest '<!ELEMENT test (#PCDATA) >' >
|
|
<!ENTITY % defmiddle '<!ELEMENT middle (test) >' >
|
|
<!ENTITY % defroot '<!ELEMENT root (middle) >' >
|
|
%defroot; %defmiddle; %deftest;
|
|
]>
|
|
<root><middle><test>sample</test></middle></root>
|