1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/result/isolat3.rde
Daniel Veillard 0df3bc3f28 fixed a serious problem when substituing entities using the Reader, the
* parser.c xmlreader.c include/libxml/parser.h: fixed a serious
  problem when substituing entities using the Reader, the entities
  content might be freed and if rereferenced would crash
* Makefile.am test/* result/*: added a new test case and a new
  test operation for the reader with substitution of entities.
Daniel
2004-06-08 12:03:41 +00:00

24 lines
493 B
Plaintext

0 1 rec 0 0
1 14 #text 0 1
1 1 eg 0 0
2 4 #cdata-section 0 1 <!ENTITY % pub "&#xc9;ditions Gallimard" >
<!ENTITY rights "All rights reserved" >
<!ENTITY book "La Peste: Albert Camus,
&#xA9; 1947 %pub;. &rights;" >
1 15 eg 0 0
1 3 #text 0 1
then the replacement text for the entity "
1 1 code 0 0
2 3 #text 0 1 book
1 15 code 0 0
1 3 #text 0 1 " is:
1 1 eg 0 0
2 3 #text 0 1 La Peste: Albert Camus,
© 1947 Éditions Gallimard. &rights;
1 15 eg 0 0
1 14 #text 0 1
0 15 rec 0 0