1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

legacy: Merge SAX.c into legacy.c

This commit is contained in:
Nick Wellnhofer
2024-06-16 19:16:47 +02:00
parent 1341deac13
commit 33a1f8978d
8 changed files with 100 additions and 146 deletions

View File

@@ -20,7 +20,7 @@
* different ranges of character are actually implanted either in
* parserInternals.h or parserInternals.c
* The DOM tree build is realized from the default SAX callbacks in
* the module SAX.c.
* the module SAX2.c.
* The routines doing the validation checks are in valid.c and called either
* from the SAX callbacks or as standalone functions using a preparsed
* document.
@@ -4395,8 +4395,8 @@ xmlParseAttValueInternal(xmlParserCtxtPtr ctxt, int *attlen, int *alloc,
if ((val == '&') && (!replaceEntities)) {
/*
* The reparsing will be done in xmlStringGetNodeList()
* called by the attribute() function in SAX.c
* The reparsing will be done in xmlNodeParseContent()
* called from SAX2.c
*/
xmlSBufAddCString(&buf, "&", 5);
inSpace = 0;