Microsoft XML 2.5 SDK


 

XML DOM Error Messages

[This is preliminary documentation and subject to change.]

The following errors generated by the DOM 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 Can not have 2 datatype attributes on one element.
XMLOM_INSERTPOS_NOTFOUND Insert position node not found
XMLOM_NODE_NOTFOUND Node not found
XMLOM_INVALIDTYPE This operation can not 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 Node.
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 0 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 can not be performed on DOCTYPE node.
XMLOM_INVALID_MODEL Cannot mix different threading models in document.
XMLOM_INVALID_DATATYPE Datatype '%1' is not supported.