mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00

Throw an error if entity substitution was requested. Now we only downgrade to a warning if - XML_PARSE_DTDLOAD wasn't specified, and - entity aren't substituted or XML_PARSE_NO_XXE was specified. Should fix #724.
7 lines
252 B
Plaintext
7 lines
252 B
Plaintext
./test/errors/rec_att_default.xml:3: parser error : Entity 'b' not defined
|
|
<!ATTLIST x y CDATA "&a;">
|
|
^
|
|
./test/errors/rec_att_default.xml:6: parser error : Detected an entity reference loop
|
|
<doc attr="&a;"/>
|
|
^
|