[Mono-bugs] [Bug 568763] New: DataFormatSerializer can't deserialize XML element without proper namespace
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jan 6 23:23:33 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=568763
http://bugzilla.novell.com/show_bug.cgi?id=568763#c0
Summary: DataFormatSerializer can't deserialize XML element
without proper namespace
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: WCF
AssignedTo: atsushi at ximian.com
ReportedBy: vargaz at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
To compile:
gmcs -r:System.Runtime.Serialization -r:rtl.dll bug.cs
To run:
mono bug.exe
Expected results:
nothing is printed
Actual results:
Unhandled Exception: System.Runtime.Serialization.SerializationException:
Expected element 'Configuration' in namespace
'http://schemas.datacontract.org/2004/07/SkyInteractive.Media.Web.Player.Rtl',
but found Element node 'Configuration' in namespace ''
at System.Runtime.Serialization.XmlFormatterDeserializer.Deserialize
(System.Xml.XmlReader reader, System.Type type,
System.Runtime.Serialization.KnownTypeCollection knownTypes,
IDataContractSurrogate surrogate, System.String name, System.String ns, Boolean
verifyObjectName) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.DataContractSerializer.ReadObject
(System.Xml.XmlDictionaryReader reader, Boolean verifyObjectName) [0x00000] in
<filename unknown>:0
at System.Runtime.Serialization.XmlObjectSerializer.ReadObject
(System.Xml.XmlDictionaryReader reader) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.DataContractSerializer.ReadObject
(System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Runtime.Serialization.XmlObjectSerializer.ReadObject
(System.IO.Stream stream) [0x00000] in <filename unknown>:0
at Tests.Main (System.String[] args) [0x00000] in <filename unknown>:0
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list