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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to