116 const QUrl base(node.asNode().baseUri());
120 else if(
base.isValid())
123 "The base URI must be absolute.");
139 const QUrl documentURI(node.asNode().documentUri());
141 if(documentURI.isValid())
143 if(documentURI.isEmpty())
148 "The document URI must be absolute.");
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
Expression::List m_operands
virtual NamePool::Ptr namePool() const =0
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
#define QT_END_NAMESPACE
This macro expands to.
Due to strong interdependencies, this file contains the definitions for the classes Item...
Item toItem(const QExplicitlySharedDataPointer< T > atomicValue)
The QUrl class provides a convenient interface for working with URLs.
static AtomicString::Ptr fromValue(const QString &value)
static const AtomicType::Ptr xsString
#define QT_BEGIN_NAMESPACE
This macro expands to.
static QNameValue::Ptr fromValue(const NamePool::Ptr &np, const QXmlName name)
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
The namespace for the internal API of QtXmlPatterns.
T & first()
Returns a reference to the first item in the list.
virtual SequenceType::Ptr staticType() const =0
#define Q_ASSERT_X(cond, where, what)
virtual Expression::Ptr typeCheck(const StaticContext::Ptr &context, const SequenceType::Ptr &reqType)
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
Represents an item in the XPath 2.0 Data Model.
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
static const AtomicValue::Ptr EmptyString
virtual ItemType::Ptr itemType() const =0
static const AtomicValue::Ptr BooleanFalse
Contains classes implementing the functions found in XQuery 1.0 and XPath 2.0 Functions and Operators...
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
static AnyURI::Ptr fromValue(const QString &value)