bugDotGNU Portable.NET - Bugs: bug #4506, CSDoc outputs invalid XML (pnet...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4506: CSDoc outputs invalid XML (pnet v0.5.10)

Submitter:  Invalid User ID <#21318>
Submitted:  Mon 28 Jul 2003 07:02:33 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 28 Jul 2003 07:36:04 AM UTC, comment #1: 

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

Rhys Weatherley <rweather>
Group administrator
Mon 28 Jul 2003 07:02:33 AM UTC, 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.

Invalid User ID <#21318>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2003-07-28 rweather StatusNone None
    Open/ClosedOpen None

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code