[Mono-list] Re: xmlns dupes
ginga(A.E.)
ginga@kit.hi-ho.ne.jp
Sat, 18 Jan 2003 11:52:47 +0900
Hello Sebastien. Sorry to be late (since last November!).
> In the second iteration "xmlns" is __also__ added to the XML output - but is
> already present! The same sanity check (in WriteAttributeString,
> XmlWriter.cs) don't catch the dupe (but should it ? or is it for attributes
> prefix ?).
Thanks for your clear pointing out. I started to fix similar problem
few days ago, and crashed against the wall of XmlNamespaceManager.
Now Miguel agreed with me, so I'll start to fix this implementation
against the buggy spec. XmlTextWriter must be affected. It should
also consider another naming rule of programmaticaly created nodes
which conflict with the other nodes with prefix already determined.
Thanks,
-- Atsushi Eno