I think that I know what is a problem, however following the method wich
called it
SomeClass.Serializer ser = new SomeClass.Serializer();
System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.AppendChild(doc.ImportNode(SomeOtherClass.GetObjectsData(),true)); //
return serialized XML Node
return ser.DeSerialize(doc); //make deserialization
-------------------------
Strange thing,
doc.InnerXML == doc.OuterXml.
The XML was previously serialized and saved:
Here is the beginning of this XML
doc.OuterXml "<TESTData xmlns:xsd=\"
http://www.w3.org/2001/XMLSchema\"
xmlns:xsi=\"
http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"Some
Processes\"><ProcessCollection Name=\"Process
1\"> said:
2</p3><p4>1</p4></SIG><Position><PinX>0</PinX><PinY>0</PinY></Position></Na
mes>" string
etc...etc As you can see all " are covered by \
What to do. Desiarilization failed on
There is an error in XML document (1, 2). --->
System.InvalidOperationException:
<TESTData xmlns='TestNameSpace'> was not expected.
Why it need it???
--
Tamir Khason
You want dot.NET? Just ask:
"Please,
www.dotnet.us "