Hello, everyone.
when I use MSXML4.0 to load the XML config file, I meet some question.
The code segment of my xml file is below:
<?xml version="1.0" encoding="UTF-8"?>
<!--DaVinci Network Designer document-->
<fx:FIBEX xmlns:fx="
http://www.asam.net/xml/fbx" xmlns:ho="
http://www.asam.net/xml" xmlns:can="
http://www.asam.net/xml/fbx/can" xmlns:lin="
http://www.asam.net/xml/fbx/lin" xmlns:flexray="
http://www.asam.net/xml/fbx/flexray" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:vi="
http://www.vector-informatik.com/xml/fbx/vector-flexray" xmlns:all="
http://www.asam.net/xml/fbx/all" xsi:schemaLocation="
http://www.asam.net/xml/fbx/all http://www.asam.net/xml/fbx/2_0_0d/x...tiplatform.xsd" VERSION="2.0.0d">
<fx:PROJECT ID="Project_1">
<ho:SHORT-NAME>FlexRaySystemDemo</ho:SHORT-NAME>
<ho:LONG-NAME>Vehicle</ho:LONG-NAME>
<ho:DESC>This is the FIBEX database for Vector's system demo for FlexRay.</ho:DESC>
</fx:PROJECT>
<fx:ELEMENTS>
<fx:CLUSTERS>
<fx:CLUSTER ID="Cluster_1" xsi:type="flexray:CLUSTER-TYPE">
the last line below can not be parse:
--------------------------------------------------------------------------------------------
<fx:CLUSTER ID="Cluster_1" xsi:type="flexray:CLUSTER-TYPE">
--------------------------------------------------------------------------------------------
I have declare the namespace like this:
pXMLDoc->setProperty("SelectionLanguage", "XPath");
pXMLDoc->setProperty("SelectionNamespaces","xmlns:fx='http ://www.asam.net/xml/fbx' xmlns:flexray='http://www.asam.net/xml/fbx/flexray' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'");
But when I load the xml file, code is below:
IXMLDOMDocument2Ptr pXMLDoc = NULL;
HRESULT hr = pXMLDoc.CreateInstance(__uuidof(DOMDocument40));
// Set parser property settings
pXMLDoc->async = VARIANT_FALSE;
// Load the sample XML file
hr = pXMLDoc->load("davinci.xml");
the error information is:
at line 11,Type '{http://http://www.asam.net/xml/fbx/flexray}CLUSTER-TYPE is not find inSchema.
I see the problem maybe the xsi that can not be identifyed by DOM, I can not resolve this.
please help me!

Thank you very much!
