Visio is unable to open the XML file. It does not contain valid XML

 This article is suitable for an IT Adminstrator

Ref: AW20090406
Last Edited: September 28th, 2011
 
Symptom:
 
There are two known situations where this error occurs.
 
Case 1:
You try to open a Process Navigator file, and Visio opens a dialog similar to the following:
 
 
 
The Line and Column values may vary, as does the Error description. However, there is nothing wrong with the file and it can be opened on other PCs. 
 
Case 1 Cause:
 
This is an issue with Visio 2007 which has been formally raised with Microsoft. They have subsequently released the following KB and Hotfix: http://support.microsoft.com/kb/976478. Please see this article for more information.
 
Case 1 Solution:
 
There is a Hotfix available directly from Microsoft which will fix this problem. Please see the link above for more details.
 
 
Case 2:
You try to open a Process Navigator file, and Visio opens a dialog similar to the following:
(please click to enlarge)
 
 
Case 2 Cause:
This appears to be caused by a compatability clash between Process Navigator and another Visio add-on that adds SolutionXML into the Visio document. Further investigation is required to pin down exactly what is causing the problem.
 
Case 2 Solution:
From inspection of files that contain this issue, removing the following string from the file appears to fix the issue:
 
<SolutionXML Name="CustomPropertySets" xmlns="http://schemas/microsoft.com/visio/2003/CustomPropertyManager"><Custom_Property_Sets Version="11.0"><Set_Defns><Set name="Sample"><CustProp rowname="Description"><Label result="Description">"Description"</Label><Prompt result="" /><Type result="" /><Format result="" /><Value result="" /><SortKey result="" /><Invisible result="0" /><Ask result="0" /><LangID result="" /><Calendar result="" /></CustProp><CustProp rowname="ID"><Label result="ID">"ID"</Label><Prompt result="" /><Type result="" /><Format result="" /><Value result="" /><SortKey result="" /><Invisible result="0" /><Ask result="0" /><LangID result="" /><Calendar result="" /></CustProp></Set></Set_Defns><Change_Log><New_Items><Item name="SAMPLE" /></New_Items><Modified_Items /><Deleted_Items /><Renamed_Items /></Change_Log></Custom_Property_Sets></SolutionXML>
 
 
This string is added by the other Visio add-on and Triaster do not know what effect, if any, removing this string has on the functioning of that application. We do know however that removing it allows Visio to open the file.
 
 
Applies to:
  • Visio 2003, Visio 2007 

Need further help? Contact the Triaster Support team by e-mailing support@triaster.co.uk or by calling us on + 44 (0)870 402 1234.

 
Do you have any feedback or suggestions that you would like to share with Triaster? We would love to hear from you! Please e-mail feedback@triaster.co.uk