[Mono-devel-list] bug in XML?

Ingmar ingmar at interinx.com
Sun Jun 27 07:10:41 EDT 2004


Following situation:

1. I have xml file
2. I generate schema using Visual Studio.Net 2003
3. Generate Dataset using Visual Studio.Net 2003
4. Initialize dataset
5. Fill dataset using ReadXml
6. iterate throught table in this dataset

    class test
    {
        [STAThread]
        static void Main(string[] args)
        {
            dsXML ucs = new dsXML(); // dsXML is dataset generated from 
xml schema by Visual Studio
            ucs.ReadXml("structure.xml");
            for (int i = 0; i <= 5; i++)        
            {
                for (int j = 0; j <= 2; j++)
       // APPLICATION_SUBES should be table in dataset filled with values
                    
Console.WriteLine(ucs.APPLICATION_SUBES.Rows[i][j].ToString());
            }
        }
    }

On WinXP program outputs values of every column in every row
On mono 1.0rc @ fc1 program outputs only empty lines.

Is this a bug in mono? Should I send test project to help reproduce a bug?
This is very important to me...

Ingmar



More information about the Mono-devel-list mailing list