mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-31 17:17:37 +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
11 lines
327 B
XML
11 lines
327 B
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE root [
|
|
<!ENTITY % deftest "<!ELEMENT test (#PCDATA) >">
|
|
<!ENTITY % defmiddle "<!ELEMENT middle (test) >">
|
|
<!ENTITY % defroot "<!ELEMENT root (middle) >">
|
|
<!ELEMENT root (middle)>
|
|
<!ELEMENT middle (test)>
|
|
<!ELEMENT test (#PCDATA)>
|
|
]>
|
|
<root><middle><test>sample</test></middle></root>
|