[Mono-bugs] [Bug 599889] New: DataContract's doesn't respect the Default Namespace in [assembly: ContractNamespace]
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Apr 26 19:12:59 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=599889
http://bugzilla.novell.com/show_bug.cgi?id=599889#c0
Summary: DataContract's doesn't respect the Default Namespace
in [assembly: ContractNamespace]
Classification: Mono
Product: Mono: Class Libraries
Version: 1.2.0
Platform: 32bit
OS/Version: Windows 7
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web.Services
AssignedTo: atsushi at ximian.com
ReportedBy: demis.bellot at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1045 Safari/532.5
DataContract's doesn't respect the Default Namespace in the AssemblyInfo.cs
file e.g. this:
[assembly: ContractNamespace("http://www.u2u.be/samples/wcf/2009", ClrNamespace
= "U2U.DataContracts")]
Should set the namespace for all non-specified DataContract types in the
U2U.DataContracts C# namespace
For more info check out:
http://www.u2u.info/Blogs/Peter/Lists/Posts/Post.aspx?ID=295
Reproducible: Always
Steps to Reproduce:
1. Serializing a DataContract object with the DataContractSerializer and
observe results
2.
3.
Actual Results:
as if no namespace was specified
Expected Results:
The namespace specified i.e. "http://www.u2u.be/samples/wcf/2009"
--
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