1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00
Files
libxml2/result
Nick Wellnhofer 2f3655c9c3 parser: Pop PEs that start markup declarations explicitly
We currently only handle "Validity constraint: Proper Declaration/PE
Nesting", but we must detect "Well-formedness constraint: PE Between
Declarations" separately:

> The replacement text of a parameter entity reference in a DeclSep must
> match the production extSubsetDecl.

PEs in DeclSeps are PEs that start with a full markup declaration (or
another PE). These are handled in xmParse{Internal|External}Subset. We
set a flag on these PEs and don't close them implicitly in
xmlSkipBlankCharsPE. This will make unterminated declarations in such
PEs cause a parser error. The PEs are closed explicitly in
xmParse{Internal|External}Subset, the only location where they are
allowed to end.
2025-05-25 14:26:30 +02:00
..
2022-04-04 04:18:07 +02:00
2022-12-13 01:43:49 +01:00
2013-03-11 15:59:21 +08:00
2013-03-11 15:59:21 +08:00
2000-08-27 21:12:29 +00:00
2000-08-27 21:12:29 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
2001-04-10 16:38:06 +00:00
1999-06-02 17:44:04 +00:00
2023-10-06 12:28:59 +02:00
2023-10-06 12:28:59 +02:00
2001-04-10 16:38:06 +00:00
1999-06-02 17:44:04 +00:00