Skip to content

Commit ca011bb

Browse files
committed
Drop unsupported libxml2 2.10.0 symbols
The Docbook parser module has been removed completely. Support for XPointer locations (ranges and points) is disabled by default, and will eventually be removed completely. Given that the maintainer comments on the latter: "Be warned that this part of the code base is buggy and had many security issues in the past", it seems to be prudent to no longer build with XPointer locations support right away. To be able to build against libxml2 2.10.0, we remove the export definitions for Windows. Closes GH-9358.
1 parent 1179622 commit ca011bb

File tree

2 files changed

+2
-34
lines changed

2 files changed

+2
-34
lines changed

UPGRADING.INTERNALS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ PHP 8.2 INTERNALS UPGRADE NOTES
6262
2. Build system changes
6363
========================
6464

65+
* Unsupported libxml2 2.10.0 symbols are no longer exported on Windows.
66+
6567
========================
6668
3. Module changes
6769
========================

ext/libxml/php_libxml2.def

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
EXPORTS
2-
__docbDefaultSAXHandler
32
__htmlDefaultSAXHandler
43
__oldXMLWDcompatibility
54
__xmlBufferAllocScheme
@@ -53,17 +52,6 @@ cdataBlock
5352
characters
5453
checkNamespace
5554
comment
56-
docbCreateFileParserCtxt
57-
docbCreatePushParserCtxt
58-
docbDefaultSAXHandlerInit
59-
docbEncodeEntities
60-
docbFreeParserCtxt
61-
docbParseChunk
62-
docbParseDoc
63-
docbParseDocument
64-
docbParseFile
65-
docbSAXParseDoc
66-
docbSAXParseFile
6755
elementDecl
6856
endDocument
6957
endElement
@@ -137,7 +125,6 @@ htmlSetMetaEncoding
137125
htmlTagLookup
138126
ignorableWhitespace
139127
initGenericErrorDefaultFunc
140-
initdocbDefaultSAXHandler
141128
inithtmlDefaultSAXHandler
142129
initxmlDefaultSAXHandler
143130
inputPop
@@ -801,7 +788,6 @@ xmlRegisterHTTPPostCallbacks
801788
xmlRegisterInputCallbacks
802789
xmlRegisterNodeDefault
803790
xmlRegisterOutputCallbacks
804-
xmlRelaxNGCleanupTypes
805791
xmlRelaxNGDump
806792
xmlRelaxNGDumpTree
807793
xmlRelaxNGFree
@@ -849,7 +835,6 @@ xmlSAX2HasExternalSubset
849835
xmlSAX2HasInternalSubset
850836
xmlSAX2IgnorableWhitespace
851837
xmlSAX2InitDefaultSAXHandler
852-
xmlSAX2InitDocbDefaultSAXHandler
853838
xmlSAX2InitHtmlDefaultSAXHandler
854839
xmlSAX2InternalSubset
855840
xmlSAX2IsStandalone
@@ -1523,27 +1508,8 @@ xmlXPathWrapExternal
15231508
xmlXPathWrapNodeSet
15241509
xmlXPathWrapString
15251510
xmlXPatherror
1526-
xmlXPtrBuildNodeList
15271511
xmlXPtrEval
1528-
xmlXPtrEvalRangePredicate
1529-
xmlXPtrFreeLocationSet
1530-
xmlXPtrLocationSetAdd
1531-
xmlXPtrLocationSetCreate
1532-
xmlXPtrLocationSetDel
1533-
xmlXPtrLocationSetMerge
1534-
xmlXPtrLocationSetRemove
1535-
xmlXPtrNewCollapsedRange
15361512
xmlXPtrNewContext
1537-
xmlXPtrNewLocationSetNodeSet
1538-
xmlXPtrNewLocationSetNodes
1539-
xmlXPtrNewRange
1540-
xmlXPtrNewRangeNodeObject
1541-
xmlXPtrNewRangeNodePoint
1542-
xmlXPtrNewRangeNodes
1543-
xmlXPtrNewRangePointNode
1544-
xmlXPtrNewRangePoints
1545-
xmlXPtrRangeToFunction
1546-
xmlXPtrWrapLocationSet
15471513
xmlBufContent
15481514
xmlBufUse
15491515
xmlBufferDetach

0 commit comments

Comments
 (0)