[Mono-devel-list] Mono.Xml.MiniParser

Matthijs ter Woord (meddochat) meddochat at zonnet.nl
Sat Jun 11 04:51:28 EDT 2005


I don't use the miniparser stuff, i only use the Mono.Security.Protocols
stuff. See www.indyproject.org

Greets



----- Original Message ----- 
From: "Atsushi Eno" <atsushi at ximian.com>
To: "Matthijs ter Woord (meddochat)" <meddochat at zonnet.nl>
Cc: <mono-devel-list at ximian.org>
Sent: Saturday, June 11, 2005 10:49 AM
Subject: Re: [Mono-devel-list] Mono.Xml.MiniParser


> No. Those types which inside non-CLSCompliant type can never be
> CLSCompliant. Such inner type itself may already be in conflict
> with another member in the outer non-CLSCompliant type.
>
> BTW you could also copy my SmallXmlParser in corlib into your
> project. It is a replacement of MiniParser.
>
> Atsushi Eno
>
> Matthijs ter Woord (meddochat) wrote:
> > Hi Atsushi,
> >
> > I get your point. MiniParser isn't CLS Compliant.
> >
> > [Error] E2421 Imported identifier 'Names' conflicts with 'names' in
> > 'MiniParser.AttrListImpl'
> > [Error] E2421 Imported identifier 'Values' conflicts with 'values' in
> > 'MiniParser.AttrListImpl'
> > [Error] E2421 Imported identifier 'Line' conflicts with 'line' in
> > 'MiniParser.XMLError'
> > [Error] E2421 Imported identifier 'Column' conflicts with 'column' in
> > 'MiniParser.XMLError'
> >
> >
> > But shouldn't AttrListImpl and XMLError be marked with
[CLSCompliant(false)]
> > then too?
> >
> > Greets,
> >
> > Matthijs
> >
> >> I have never tried to use Delphi.NET but it is really weird if it
> >> really tries to validate(?) non-CLSCompliant types while it should
> >> not (MiniParser is not CLS compliant) and rejects them because
> >> of that.
> >>
> >> It sounds like a bug in Delphi.NET.
> >>
> >> Atsushi Eno
> >>
> >>
> >> Matthijs ter Woord (meddochat) wrote:
> >>> Hi everybody,
> >>>
> >>> For the Indy project we use the SSL/TLS implementation of
> > Mono.Security.dll.
> >>> You guys did a great job with that.
> >>>
> >>> But we have a problem. We're trying to build the project without
> > compiler
> >>> hints/warning but when linking to the Mono.Security.dll assembly, the
> > delphi
> >>> compiler can't cope with members with case-insensitive duplicate
names:
> >>>
> >>> [Error] E2421 Imported identifier 'Names' conflicts with 'names' in
> >>> 'MiniParser.AttrListImpl'
> >>> [Error] E2421 Imported identifier 'Values' conflicts with 'values' in
> >>> 'MiniParser.AttrListImpl'
> >>> [Error] E2421 Imported identifier 'Line' conflicts with 'line' in
> >>> 'MiniParser.XMLError'
> >>> [Error] E2421 Imported identifier 'Column' conflicts with 'column' in
> >>> 'MiniParser.XMLError'
> >>>
> >>>
> >>> Is this the coding style used in the class libraries? or could this be
> >>> changed?
> >>>
> >>>
> >>>
> >>> Greets,
> >>>
> >>> Matthijs ter Woord
> >>>
> >>>
>
>>> ------------------------------------------------------------------------
> >>>
> >>> _______________________________________________
> >>> Mono-devel-list mailing list
> >>> Mono-devel-list at lists.ximian.com
> >>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >>
> >
> >
> >
>
>





More information about the Mono-devel-list mailing list