CMarkup GetElemFlags Method

int CMarkup::GetElemFlags() const;

This function returns the "custom user" and "public" flags of the current main position element. See the SetElemFlags method for details of the "custom user" flags.

The public element bit flags are set for non-well-formed problems during parsing. The MNF_NONENDED bit flag indicates an element is regarded as non-ended, i.e. no end tag was found where expected (see Containment Hierarchy). The MNF_ILLDATA bit flag means that while the element's start and end tags may have been parsed as correct, the element contains badly formed data in its content such as an unrecognized tag.