[Mono-devel-list] [Fwd: Re: the patch status followup]
Atsushi Eno
atsushi at ximian.com
Thu Mar 3 07:18:06 EST 2005
I see. Then feel free to wait anyone replying to the message.
Of course we need clear and understandable explaination to
apply patches, without breakage unless the fix is so significant.
Atsushi Eno
Andrew Skiba wrote:
> If you don't understand my questions, please don't answer.
>
> Atsushi Eno wrote:
>
>>Andrew Skiba wrote:
>>
>>
>>>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
>>
>>
>>?? XmlTextWriter does treat that xmlns attribute as namespace
>>declaration internally.
>>
>>
>>
>>>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.
>>
>>
>>"xmlns" is reserved for namespace http://www.w3.org/2000/xmlns/
>>
>>In general, giving empty string as a local name never makes sense.
>>If you don't understand why, read XML 1.0 specification and
>>Namespaces in XML specification.
>>
>>Atsushi Eno
>>_______________________________________________
>>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