dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #4506] CSDoc outputs invalid XML (pnet v0.5.10)


From: nobody
Subject: [Pnet-developers] [bug #4506] CSDoc outputs invalid XML (pnet v0.5.10)
Date: Mon, 28 Jul 2003 03:02:33 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030516 Mozilla Firebird/0.6

=================== BUG #4506: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4506&group_id=353

Submitted by: bbulten                 Project: DotGNU Portable.NET          
Submitted on: Mon 07/28/2003 at 07:02
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  CSDoc outputs invalid XML (pnet v0.5.10)

Original Submission:  When running CSDoc over C# code with references, it 
outputs '&', instead of '&'.  This sample will demonstrate this:

using System;

namespace CSDocTset 
{
    public class Test
    {
        public Test() { }

        public void RefTest(ref int i)
        {
            i = 2 * i;
        }

        public static void Main(String[] args)
        {
            Console.WriteLine("Test!");
        }
    }
}


The result is that when any of the csdoc2* programs are run, the XML parser 
fails at these points.

I looked through the source, and was able to fix the ouput for C# exports 
(attached diff.)  This patch also effects compiler error output, and displays 
'ref' insteada of '&'.  I'm not sure of the implications.

What I was not able to fix, is the ILASM output, generated from 
cscc/csdoc.c:943, where the ILASM output is written to a stream.



No Followups Have Been Posted


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Mon 07/28/2003 at 07:02  Name: cs_cast.tc.diff  Size: 0KB   By: bbulten
Possible fix for C# compiler error output and csant XML output.
http://savannah.gnu.org/bugs/download.php?group_id=353&bug_id=4506&bug_file_id=559


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4506&group_id=353

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]