Support Article
Unable to parse XML content with colons in element names
SA-11360
Summary
You are unable to parse XML content that has colons in the element names.
Error Messages
Element name invalid.
Steps to Reproduce
Create a parse XML rule with a colon in the element name, for example:
<diffgr:diffgram xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
Observe that this is mapped to an element named "diffgr:diffgram".
Root Cause
You must not have a colon in an element name.
Resolution
This issue is resolved through the following Local-change:
When you configure a Parse XML rule, you name the node as (for the example above) diffgram and in the node properties, there is a node namespace field where you need to enter (for the example above) urn:schemas-microsoft-com:xml-diffgram-v1. This allows you to correctly name the element and give it a namespace.
Published July 2, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.