[Mono-devel-list] System.Data.DataColumn.ColumnMapping = System.Data.MappingType.Attribute broken in Mono?

Atsushi Eno atsushi at ximian.com
Fri Oct 22 08:34:39 EDT 2004


Hello,

This looks like a bug. Report a bug on http://bugzilla.ximian.com
with small reproducable test code and data, mono version info etc.

Thanks,
Atsushi Eno


Jon Benson wrote:
> Hi folks,
> 
> Another problem has cropped up in the application I'm working on.  If
> there is a more appropriate forum for me to mention these sorts of
> things please let me know.
> 
> It seems Mono can't handle attribute mapping of DataTables and the
> output of XML
> 
> An example of what it ends up doing:
> 
>   <perditionLogsip d2p1:="" d2p2:="" d2p3:="" d2p4:="" d2p5:="" d2p6:=""
> xmlns:d2p6="bytes_out" xmlns:d2p1="ip" xmlns:d2p2="timestamp"
> xmlns:d2p3="auth_ok" xmlns:d2p4="auth_fail" xmlns:d2p5="bytes_in" />
>   <perditionLogsip d2p1:="" d2p2:="" d2p3:="" d2p4:="" d2p5:="" d2p6:=""
> xmlns:d2p6="bytes_out" xmlns:d2p1="ip" xmlns:d2p2="timestamp"
> xmlns:d2p3="auth_ok" xmlns:d2p4="auth_fail" xmlns:d2p5="bytes_in" />
> 
> 
> This is instead of something like the following:
> 
>   <perditionLogsip ip="10.228.236.28" timestamp="3/10/2004 5:50:00 AM"
> auth_ok="1" auth_fail="0" bytes_in="18" bytes_out="111" />
>   <perditionLogsip ip="10.137.49.146" timestamp="3/10/2004 5:50:00 AM"
> auth_ok="1" auth_fail="0" bytes_in="12" bytes_out="77" />
> 
> Can anyone perhaps suggest a workaround?
> 
> This isn't critical to my application as I plan to run part of it on
> Windows (.NET) anyway but I would prefer to have it work under Linux
> (Mono) if possible.
> 
>  
> 
> Thanks,
> 
> Jon Benson
> Mail/DNS/Linux Administrator
> OzHosting.com
> 




More information about the Mono-devel-list mailing list