XdmException.Xpty0004 FieldXdmException.Xpty0004 FieldXdmException::Xpty0004 Field

It is a type error if, during the static analysis phase, an expression is found to have a static type that is not appropriate for the context in which the expression occurs, or during the dynamic evaluation phase, the dynamic type of a value does not match a required type as specified by the matching rules in 2.5.4 SequenceType Matching.

Syntax

Public Shared ReadOnly Xpty0004 As System.Xml.XmlQualifiedName
public static readonly System.Xml.XmlQualifiedName Xpty0004
public:
static initonly System.Xml::XmlQualifiedName^ Xpty0004