summaryrefslogtreecommitdiff
path: root/README.zOS
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2023-05-08 17:58:02 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2023-05-08 19:15:44 +0200
commit235b15a590eecf97b09e87bdb7e4f8333e9de129 (patch)
tree253e15af0e8f132962e155802687ac41cdc6fe90 /README.zOS
parent3463063001f36c16e5f6ce9ad33cd12a376fc874 (diff)
downloadlibxml2-235b15a590eecf97b09e87bdb7e4f8333e9de129.tar.gz
SAX: Always initialize SAX1 element handlers
Follow-up to commit d0c3f01e. A parser context will be initialized to SAX version 2, but this can be overridden with XML_PARSE_SAX1 later, so we must initialize the SAX1 element handlers as well. Change the check in xmlDetectSAX2 to only look for XML_SAX2_MAGIC, so we don't switch to SAX1 if the SAX2 element handlers are NULL.
Diffstat (limited to 'README.zOS')
0 files changed, 0 insertions, 0 deletions