Update libxml2 to version v2.13.5:
Bug fixes:
xmlTextReaderReadString
.Update libxml2 to version v2.13.4:
Improvements:
xmlXPathCompile
.Bug fixes:
xmlParseChunk
return an error if the parser was stopped.xmlInitParser
call to various xmlIO functions.xmlNodeListGetString
and xmlNodeListGetRawString
to return nil
instead of an empty string if they were passed a nil
list.Update libxml2 to version v2.13.3:
xmlParserGetDirectory
.xmlFileRead
.xmlParseBalancedChunkMemory
.xmlKeepBlanksDefault
.Update libxml2 to version v2.13.2:
xmlNewDocNode
.Update libxslt to version v1.1.42.
Update libxml2 to version v2.13.1:
xmlCtxtSetErrorHandler
xmlXPathSetErrorHandler
xmlXIncludeSetErrorHandler
XML_PARSE_NO_XXE
to disable loading of external entities or DTDs. Most useful in connection with XML_PARSE_NOENT
.xmlRegisterInputCallbacks
instead, like in DIXmlInputIndy
.Update libxslt to version v1.1.41:
Update libxml2 to version v2.12.7:
xmlNodeDumpOutput
and XML save functions.Update libxml2 to version v2.12.6:
xmlTextReaderConstEncoding
.xmlParseInNodeContext
with HTML documents.htmlCreatePushParserCtxt
with encoding.Update libxml2 to version v2.12.2:
xmlParseBalancedChunkMemoryRecover
.Other improvements:
xmlErrorLevel
values.xmlEncodingWrapper
encoding to non-UTF-8 encodings, and invalid input.<xsl:number …>
values.Update libxml2 to version v2.12.0:
xmlCtxtSetMaxAmplification
to allow parsing of files that would otherwise trigger the billion laughs protection.xmlGetUTF8Char
.Update libxslt to version v1.1.39:
Update libxml2 to version v2.11.5:
xmlCopyDocElementContent
.Update libxml2 to version v2.11.4:
number('-')
returns NaN.Update libxslt to version v1.1.38:
generate-id()
is now deterministic across multiple transformations.nil
pointer dereference.Update libxml2 to version v2.10.4:
Update libxml2 to version v2.10.3:
XML_PARSE_HUGE
.Update libxslt to version v1.1.37:
Update libxml2 to version v2.10.2:
xmlCtxtReadDoc
with encoding.xpath1()
XPointer scheme.xmlBuf
and xmlBuffer
xmlBuf
and xmlBuffer
functions.xmlBufAvail
so it returns length without including a byte for #0 terminator.xmlNodePtr
and xmlAttrPtr
fields in xmlSetTreeDoc
.xmlTextReaderClose
before ]]xmlFreeTextReader]] on post-validating parser.htmlDocContentDumpFormatOutput
to it preserves xmlDoc.Type_
.inputPush
.xmlBuf
functions.xmlNanoFTP…
functions.Update libxslt to version v1.1.36:
Update libxml2 to version v2.9.14:
<
followed by an ASCII letter. This is more in line with HTML5 and the old behavior in recovery mode. Emit a literal <
if the following character is invalid.ceiling()
and floor()
handle INF, NAN, and -0.0.xmlBuf
and xmlBuffer
.xi:include
.xmlCleanupGlobals
.Update libxml2 to version v2.9.13:
xmlOutputBufferWrite
.xmlSetTreeDoc
with entity references.xmlns()
scheme.Update libxslt to version v1.1.35:
<xsl:sort>
in <xsl:apply-templates>
twice.<xsl:message>
.Update libxml2 to version v2.9.12:
xmlPopOutputCallbacks
.xmlAddID
, xmlFreeIDTable
, xmlGetID
, xmlIsID
, xmlRemoveID
.xmlAddRef
, xmlFreeRefTable
, xmlIsRef
, xmlRemoveRef
, xmlGetRefs
.xmlXPathErr
.XML:
xmlOutputBufferWrite
. With memory buffers, the total size of the buffer was added again and again, potentially leading to an integer overflow.##other
namespace.XSLT:
xsl:template
without name and match attributes.xsl:number
.DIXmlConverters
to DIConverters 1.18.0 changes.XML Bug Fixes:
XML Improvements:
XSLT Bug Fixes:
XML Security:
XML Bug Fixes:
xmlStringLenDecodeEntities
.xmlParseEntityDecl
error path.xmlBuildRelativeURI
for URIs starting with './'.xmlValidateOneNamespace
.xmlStringLenGetNodeList
.xmlBufAttrSerializeTxtContent
.xmlSnprintfElementContent
.xmlCanonicPath
.xmlXPathCmpNodes
.XML Improvements:
xmlParseAttributeListDecl
.xmlXPathEvalExpression
call xmlXPathEval
.XSLT Bug Fixes:
xsltDefaultSortFunction
.xsltCopyTextString
optimization for extensions.<xsl:number level=“any”/>
for non-element nodes.XSLT Improvements:
xmlUTF8Strsize
in EXSLT string functions.xmlUTF8Strlen
.XSLT_STATE_STOPPED
as errors.XSLT_STATE_STOPPED
isn't overwritten.XML Bug Fixes:
XSLT Bug Fixes:
XSLT Improvements:
XML Security Fixes:
XML Bug Fixes:
xmlMemUsed
and xmlMemBlocks
thread-safe.XML Improvements:
XSLT Bug Fixes:
xsltNumberFormat
memory leak.XSLT Improvements:
xmlNanoFTPConnect()
.<
.xmlRMutexLock
and xmlRMutexUnlock
.XML_PARSE_IGNORE_ENC
.str:align
with UTF-8 strings.str:replace()
function. It is broken and can not be fixed with the current design of the library.math:abs()
, math:sqrt()
, math:power()
, math:log()
, math:sin()
, math:cos()
, math:tan()
, math:asin()
, math:acos()
, math:atan()
, math:atan2()
, math:exp()
.xmlXPathEvalExpression
as deprecated in favor of xmlXPathEval
.xmlC14NDocSaveTo
, xmlC14NDocDumpMemory
, xmlC14NDocSave
, and xmlC14NExecute
. They all used xmlCharPtr
where xmlChar_ptr_array_ptr
was required.htmlNodeDumpOutput
and htmlNodeDumpFormatOutput
. They both used xmlDocPtr
where xmlNodePtr
was required.DIXmlUtils
unit with various utility functions.xmlXPathSetContextNode
and xmlXPathNodeEval
. They make it easier to evaluate XPath expressions with a context node other than the document root without poking about inside the internals of the context.xmlCleanupParser
.xmlStopParser
: Add XML_ERR_USER_STOP
error code and try to stop parsing as quickly as possible.xmlInitializeDict
was called by two threads concurrently. Initialization is now automatic and xmlInitializeDict
deprecated.xmlSchemaValidateOneElement
.xmlCtxtReadFile
now works with literal IPv6 URLs.XML_PARSE_HUGE
parser option.xmlNodeDump
make sure the buffer grows quickly using a double-it scheme.XML_PARSE_NSCLEAN
option of the parser.XML Bug Fixes
XSLT Bug Fixes
XML New Features
XML Improvements
xmlTextWriter
.xmlBufShrink
in the public tree API.xmlBuffer
for serialization and use the new xmlBuf
instead.xmlBuf
and xmlBuffer
.xmlOutputBuffer
accessors xmlOutputBufferGetContent
and xmlOutputBufferGetSize
.xmlBufResetInput
.xmlTextReader
bails too quickly on error.xmlNodeSetContent
.xmlTextReaderRelaxNGValidateCtxt
.XML Bug Fixes
xmlInitParser
.xmlUnlinkNode
.XML_PARSER_EOF
state handling through the parser.xmlNewInputStream
.<noscript>
in the <head>
.htmlSetMetaEncoding
.HTML_PARSE_NOIMPLIED
flag.xmlParserInputBufferCreateIO
fails.XSLT Improvements
xsltMaxDepth
, introduce xsltMaxVars
.XSLT Bug fixes
xsltSetDebuggerStatus
, xsltSetDebuggerCallbacks
): See DIXml_XSLT_Tutorial demo for an example implementation.xmlParseInNodeContext
.xmlPreviousElementSibling
mistake.xmlParseInNodeContext
for HTML content.xmlXPathEvalExpression
.xmlCtxtResetLastError
should reset ctxt-errNo.XML_PARSE_OLD10
for old versions.XSLT bug fixes:
DIXmlConverters
unit with additional conversion functions based on the DIConverters] library.xmlSAXUserParseMemory
.