EXCEPTION_INVALID_STRING

Code Value: 16

This exception is thrown when a string is supplied as a parameter to a method that sets a text or attribute value, and the string contains characters that do not conform to the W3C specifications for acceptable XML characters.

Methods in which this exception might be thrown include SetText in PBDOM_ATTRIBUTE and SetAttribute in PBDOM_ELEMENT.