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

This should only be done in xmlParseReference. The handling of undeclared entities is still somewhat inconsistent. In element content we create references even if entity substitution is enabled. In attribute values undeclared entities are always ignored.
15 lines
235 B
Plaintext
15 lines
235 B
Plaintext
0 8 #comment 0 1 Having an external DTD makes undeclared entities a warning.
|
|
0 10 doc 0 0
|
|
0 1 doc 0 0
|
|
1 14 #text 0 1
|
|
|
|
1 1 elem 1 0
|
|
1 14 #text 0 1
|
|
|
|
1 1 elem 0 0
|
|
2 5 undeclared 0 0
|
|
1 15 elem 0 0
|
|
1 14 #text 0 1
|
|
|
|
0 15 doc 0 0
|