dotgnu-general
[Top][All Lists]
Advanced

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

[DotGNU]Proposal for XML based error reporting


From: James Michael DuPont
Subject: [DotGNU]Proposal for XML based error reporting
Date: Tue, 18 Feb 2003 02:07:12 -0800 (PST)

Dear all,

One of my pet peeves are error messages :

I would like to make a patch for Error reporting that will produce xml
based error messages from the compiler, but want to get support from
rhys before I start on such a contraversial task.

This will include : 
1. Filenames as attributes
<error file=./blah.cs line=45 col=32><!--content--></error>

2. Methods descriptors 
when we are in a method, then we can reference it like this.
<error file=./blah.cs line=45 col=32><method name="t"
class="myclass"><!--content--><method></error>

2. Error Objects
when we are in a method, then we can reference it like this.
Each error type will be its own xml element.
<error file=./blah.cs line=45 col=32><method name="t"
class="myclass"><unknowntype name="FunkyClass"
/><!--content--><method></error>

2. More TypeCast information
<badcast From="FUnkyCompl3X" To="int">
     <possible totype="char" method="toInt"/>
</badcast>

mike


=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com


reply via email to

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