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

Jon Benson Jon at destra.com
Fri Oct 22 01:07:34 EDT 2004


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041022/3a5eb2ef/attachment.html 


More information about the Mono-devel-list mailing list