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:36:04 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

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

Changes by: Rhys Weatherley <address@hidden>
Date: Mon 07/28/2003 at 07:36 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
I have committed a more comprehensive fix to CVS,
which also handles the ilasm types - 28 July 2003.



=================== BUG #4506: FULL BUG SNAPSHOT ===================


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:  Fixed                    
Assigned to:  None                    Status:  Closed                       

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

Original Submission:  When running CSDoc over C# code with references, it 
outputs '&', instead of '&amp;'.  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.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Mon 07/28/2003 at 07:36       By: rweather
I have committed a more comprehensive fix to CVS,
which also handles the ilasm types - 28 July 2003.


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&amp;bug_id=4506&amp;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]