mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
Add test case for recursive external parsed entities
This commit is contained in:
parent
f20daa9e51
commit
32cb5dccda
5
result/errors/rec_ext_ent.xml
Normal file
5
result/errors/rec_ext_ent.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE doc [
|
||||
<!ENTITY e SYSTEM "rec_ext.ent">
|
||||
]>
|
||||
<doc>&e; &e; &e; &e;</doc>
|
243
result/errors/rec_ext_ent.xml.ent
Normal file
243
result/errors/rec_ext_ent.xml.ent
Normal file
@ -0,0 +1,243 @@
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Entity 'e' failed to parse
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
test/errors/rec_ext.ent:1: parser error : Detected an entity reference loop
|
||||
<ent>&e; &e; &e; &e;</ent>
|
||||
^
|
||||
test/errors/rec_ext.ent:2: parser error : chunk is not well balanced
|
||||
|
||||
^
|
||||
./test/errors/rec_ext_ent.xml:4: parser error : Entity 'e' failed to parse
|
||||
<doc>&e; &e; &e; &e;</doc>
|
||||
^
|
0
result/errors/rec_ext_ent.xml.err
Normal file
0
result/errors/rec_ext_ent.xml.err
Normal file
0
result/errors/rec_ext_ent.xml.str
Normal file
0
result/errors/rec_ext_ent.xml.str
Normal file
1
test/errors/rec_ext.ent
Normal file
1
test/errors/rec_ext.ent
Normal file
@ -0,0 +1 @@
|
||||
<ent>&e; &e; &e; &e;</ent>
|
4
test/errors/rec_ext_ent.xml
Normal file
4
test/errors/rec_ext_ent.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<!DOCTYPE doc [
|
||||
<!ENTITY e SYSTEM "rec_ext.ent">
|
||||
]>
|
||||
<doc>&e; &e; &e; &e;</doc>
|
Loading…
x
Reference in New Issue
Block a user