Deprecated API

Contents

Deprecated Classes

DynamicError
since 9.0 - use the superclass XPathException instead
StaticError
since 9.0: use the superclass, XPathException

Deprecated Methods

net.sf.saxon.ant.AntTransform.configureLiaison(File)
since Ant 1.7
net.sf.saxon.Controller.setPrincipalSourceDocument(DocumentInfo)
From Saxon 8.7, replaced by setInitialContextItem(Item)
net.sf.saxon.Controller.getPrincipalSourceDocument()
net.sf.saxon.Controller.unravel(Source,Configuration)
net.sf.saxon.value.DurationValue.normalizeDuration()
since 9.0 - the method does nothing
net.sf.saxon.query.DynamicQueryContext.setContextNode(NodeInfo)
From Saxon 8.7, the method setContextItem(Item) is preferred
net.sf.saxon.expr.Expression.display(int,PrintStream,Configuration)
since 9.0 - use the explain method
net.sf.saxon.om.Navigator.isWhite(CharSequence)
net.sf.saxon.query.QueryResult.serialize(NodeInfo,Result,Properties,Configuration)
net.sf.saxon.query.StaticQueryContext.declarePassiveNamespace(String,String,boolean)
since 9.0.
net.sf.saxon.query.StaticQueryContext.clearPassiveNamespaces()
since 9.0 - use clearNamespaces()
net.sf.saxon.sxpath.XPathEvaluator.setStripSpace(boolean)
since 8.9.
net.sf.saxon.sxpath.XPathEvaluator.build(Source)
since 8.9.
net.sf.saxon.xpath.XPathEvaluator.setStripSpace(boolean)
since 8.9.
net.sf.saxon.xpath.XPathEvaluator.createExpression(String)
since Saxon 8.9 - use compile(String)
net.sf.saxon.xpath.XPathEvaluator.setContextNode(NodeInfo)
since Saxon 8.9 - use the various method defined in the JAXP interface definition, which allow a NodeInfo object to be supplied as the value of the Source argument
net.sf.saxon.xpath.XPathEvaluator.evaluate(String)
since Saxon 8.9 - use the various method defined in the JAXP interface definition
net.sf.saxon.xpath.XPathEvaluator.evaluateSingle(String)
since Saxon 8.9 - use the methods defined in the JAXP interface
net.sf.saxon.sxpath.XPathExpression.rawIterator(Source)
net.sf.saxon.xpath.XPathExpressionImpl.setSortKey(XPathExpressionImpl)
since 9.0.
net.sf.saxon.xpath.XPathExpressionImpl.setContextNode(NodeInfo)
since 9.0.
net.sf.saxon.xpath.XPathExpressionImpl.evaluate()
since 9.0.
net.sf.saxon.xpath.XPathExpressionImpl.evaluateSingle()
since 9.0.
net.sf.saxon.xpath.XPathExpressionImpl.rawIterator()
since 9.0.
net.sf.saxon.query.XQueryExpression.getController()
since 8.5.1 - use newController()

Deprecated Constructors

net.sf.saxon.StandardURIResolver.StandardURIResolver()
since 8.7
net.sf.saxon.expr.XPathContextMajor.XPathContextMajor(Item,Configuration)