[Mono-devel-list] [Fwd: Re: the patch status followup]

Andrew Skiba andrews at mainsoft.com
Wed Mar 2 08:47:13 EST 2005


Atsushi Eno wrote:
> Hi Andrew,
> 
> Thanks for forwarding it to public list as per my request.
> 
> Well, can you please give me an "yes/no" answer that if this
> question is related to your XmlTextWriter patch? (Of course it is
> no problem if this Q is nothing to do with the patch though.)
> 
Yes.

What happens in my patch (attached for reference) is unified processing
of namespace declarations, whether it's in form xmlns:prefix='url' or
xmlns='url'. As I understood from your explanations, I should not treat
xmlns='url' as namespace declarations when I process them in
XmlTextWriter.WriteStartAttribute(). Yesterday you shown me a test case
in which DOM API creates xmlns attribute, which does not declare a
namespace. Is that a bug in both Mono/MS.NET, or a bug in the DOM API
and ECMA standard, or was that done on purpose? If so, what was the
purpose of allowing such strange attribute name? I call it strange
because you can not declare xmlns attribute in XML source text, it's a
reserved word. Tell me as much as you know, so I can fix the patch the
best way.

Thank you.
Andrew Skiba.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: XmlTextWriter.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050302/a5400cbc/attachment.pl 


More information about the Mono-devel-list mailing list