TiXI
3.3.0
|
API Changes:
tixiXPathEvaluateNodeNumber
will not throw an error anymore when an xml node does not exist. Rather, the function will succeed and return zero. (issue #198)tixiUpdateTextElement
: This function should only work, when the element path refers to a single element with no XML child nodes or at most one text child node. This is now explicitly checked and an error is thrown, if these prerequisites are not met. Without this, it is not clear how the function behaves e.g. at the presence of comment child nodes.tixiXPathExpressionGetTextByIndex
now retrieves the complete content of an element including text and comments.New Functions:
tixiExportElementAsString
retrieves the xml string of a given element (issue #202)tixiImportElementFromString
imports a char-string as a child element into an existing tixi-document (issue #202).API Changes:
tixiAddExternalLink
. The function now creates external node links consistent to tixiOpenDocumentRecursive
. A new required argument defines, whether the newly created external node should be directly loaded into the xml tree (issue #173).General Changes:
tixiAddFloatVector
and tixiUpdateFloatVector
by changing the quadratic runtime behaviour to a linear behaviour (issue #183).Fixes:
tixiGetFloatVector
, if a vector element is not a number (issue #184).Fixes:
tixiGetDoubleElement
and tixiGetIntegerElement
and elements with trailing whitespace.API Changes:
Deprecated all array functions. These are
tixiGetArray
tixiGetArrayDimensionNames
tixiGetArrayDimensions
tixiGetArrayDimensionSizes
tixiGetArrayDimensionValues
tixiGetArrayElementCount
tixiGetArrayElementNames
tixiGetArrayParameterNames
tixiGetArrayParameters
tixiGetArrayValue
These functions will be removed in TiXI 3.3.0!
tixiGetDoubleElement
and tixiGetIntegerElement
now return the error code NO_NUMBER
, if the element is not a number. Before, TiXI returned '0' as a number without error.tixiGetFloatVector
and tixiGetVectorSize
do not check for mapType="vector"
anymore.General Changes:
tixiSchemaValidateFromFile
, tixiSchemaValidateWithDefaultsFromFile
and tixiSchemaValidateFromString
now show line numbers of the error in the xml file.New Functions:
tixiRemoveExternalLinks
to remove links to external files to improve validation of xml files.Fixes:
tixiAddFloatVector
tixiGetTextElement
General Changes:
-DBUILD_SHARED_LIBS=ON
has to be passed to cmake.tixiXPathExpressionGetXPath
and tixiXPathEvaluateNodeNumber
to speed up queries on large files.New Functions:
tixiSwapElements
allows to exchange two xml elements.Fixes:
tixiGetChildNodeName
to returns also the namespace prefix.New Functions:
General Changes:
New Functions:
Fixes:
General Changes:
Fixes:
tixiUIDCheckExists
if a uID is duplicatetixiUIDCheckExists
General Changes:
New Functions:
- tixiCreateElementNS - tixiCreateElementNSAtIndex - tixiAddBooleanElementNS - tixiAddDoubleElementNS - tixiAddIntegerElementNS - tixiAddTextElementNS - tixiAddTextElementNSAtIndex
- tixiSetElementNamespace - tixiDeclareNamespace
- tixiRegisterNamespace - tixiRegisterNamespacesFromDocument
Fixes:
General Changes:
General Changes:
Fixes:
API Changes:
New Functions:
General Changes:
New Functions:
Fixes:
General Changes:
API Changes:
New Functions:
Fixes:
General Changes:
API Changes:
New Functions:
Fixes:
New Functions:
-Changes:
Fixes:
New Functions:
New Functions:
Fixes: