66 context->
error(QtXmlPatterns::tr(
"The namespace URI in the name for a " 67 "computed attribute cannot be %1.")
75 context->
error(QtXmlPatterns::tr(
"The name for a computed attribute " 76 "cannot have the namespace URI %1 " 77 "with the local name %2.")
83 else if(!qName.hasPrefix() && qName.hasNamespace())
106 return visitor->visit(
this);
virtual NamePool::Ptr namePool() const =0
#define QT_END_NAMESPACE
This macro expands to.
QString formatKeyword(const QString &keyword)
virtual Item evaluateSingleton(const DynamicContext::Ptr &) const
static const SequenceType::Ptr ExactlyOneQName
AttributeNameValidator(const Expression::Ptr &source)
virtual ExpressionVisitorResult::Ptr accept(const ExpressionVisitor::Ptr &visitor) const
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
void error(const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation)
static QNameValue::Ptr fromValue(const NamePool::Ptr &np, const QXmlName name)
The namespace for the internal API of QtXmlPatterns.
const QLatin1String XMLNS("http://www.w3.org/2000/xmlns/")
virtual SequenceType::Ptr staticType() const =0
virtual SequenceType::Ptr staticType() const
The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way...
Contains functions used for formatting arguments, such as keywords and paths, in translated strings...
Represents an item in the XPath 2.0 Data Model.
Implements the value instance of the xs:QName type.
virtual SequenceType::List expectedOperandTypes() const
Expression::Ptr m_operand
static QString formatURI(const NamePool::Ptr &np, const QXmlName::NamespaceCode &uri)
Formats uri, that's considered to be a URI, for display.
virtual Item evaluateSingleton(const DynamicContext::Ptr &context) const
The QList class is a template class that provides lists.
Base class for expressions that has exactly one operand.