Microsoft XML SDK 2.6 - XML Reference

XML DOM Error Messages

The following errors are generated by the XML document object model:

DOM Errors

XMLOM_DUPLICATE_ID The ID %1 is duplicated.
XMLOM_DATATYPE_PARSE_ERROR Error parsing %1 as %2 datatype.
XMLOM_NAMESPACE_CONFLICT There was a namespace conflict for the "%1" namespace.
XMLOM_OBJECT_EXPAND_NOTIMPL Unable to expand an attribute with "object" value.
XMLOM_DTDT_DUP Cannot have two datatype attributes on one element.
XMLOM_INSERTPOS_NOTFOUND Insert position node not found.
XMLOM_NODE_NOTFOUND Node not found.
XMLOM_INVALIDTYPE This operation cannot be performed with a node of type %1.
XMLOM_INVALID_XMLDECL_ATTR %1 is not a valid attribute on the XML declaration. Only version, encoding, or standalone attributes are allowed.
XMLOM_INVALID_INSERT_PARENT Inserting a node or its ancestor under itself is not allowed.
XMLOM_INVALID_INSERT_POS Insert position node must be a child of the node to insert under.
XMLOM_NO_ATTRIBUTES Attributes are not allowed on nodes of type %1.
XMLOM_NOTCHILD The parameter node is not a child of this ode.
XMLOM_CREATENODE_NEEDNAME createNode requires a name for given nodeType.
XMLOM_UNEXPECTED_NS Unexpected namespace parameter.
XMLOM_MISSING_PARAM Required parameter is missing (or null/empty).
XMLOM_INVALID_NAMESPACENODE Namespace node is invalid.
XMLOM_READONLY Attempt to modify a read-only node.
XMLOM_ACCESSDENIED Access denied.
XMLOM_ATTRMOVE Attributes must be removed before adding them to a different node.
XMLOM_BADVALUE Invalid data for a node of type %1.
XMLOM_USERABORT Operation aborted by caller.
XMLOM_NEXTNODEABORT Unable to recover node list iterator position.
XMLOM_INVALID_INDEX The offset must be zero or a positive number that is not greater than the number of characters in the data.
XMLOM_INVALID_ATTR The provided node is not a specified attribute on this node.
XMLOM_INVALID_ONDOCTYPE This operation cannot be performed on a DOCTYPE node.
XMLOM_INVALID_MODEL Cannot mix different threading models in the document.
XMLOM_INVALID_DATATYPE Datatype %1 is not supported.