Re: AW: [xml] xmlTextWriter



Amazing! After looking at your code and if I didn't know it better :) I'd 
say I copied at least some parts from your code :-).

  Okay, can we get a merged version ? Pick the best of both, 
assemble it put both of you as Copyright owners and we will 
integrate this, okay ?

I'm all for that option :) I haven't had time to have a proper look at your 
version yet, so can't say yet which parts should be used from which :)

I like my api on the xml writer better cause that's the one I'm already using 
in my own programs using the xml writer ^-^

But that's easy to change really :)

Like I said I was also waiting for some patches, would like to get those in 
before any integrating :)

I still think we need a cvs somewhere for this thing btw. ^.^

I even found a bug that we share in our code (I think it's a
bug): the xmlTextWriter allows for multiple xml prologs in the same
document (you can call xmlTextWriterWriteStartDocument after calling
xmlTextWriterWriteEndDocument), which in my opinion does not conform
with the xml standard.

  Hum, the big problem is that if you serialize multiple documents
on a single stream, an XML parser reading it has no way to detect the
end of a document. This open the door to more troubles then it's
useful IMHO.

I basicly just followed the .net specification I think :) which seems to 
allow it, but I'm not sure of that :)


I am quite new on this list so I didn't know that you were working on the 
same thing.

  Do not underestimate the search engine
    http://xmlsoft.org/search.php?query=xmlTextWriter
allows to locate the threead where this was discussed
  http://mail.gnome.org/archives/xml/2003-May/msg00076.html

Yup, read what I wrote on the topic ^-^

 

Well, maybe I should stop the work on xmlTextWriter. I do not know, if 
two slightly different aproaches are the best thing we should do.

  No, no, don't stop now. Just make sure you end up with something
which souns correct to both of you. Otherwise I will have to pick one
and you don't want me to be the one deciding in an arbitrary manner 
:-)

I agree! ^-^

I only started work on it in hopes that others would take the effort to 
finish it once they see the benefit of an xmlwriter :) I don't have much time 
to spend on it myself ^.^

So, lets see if we can come up with an integrating scheme ? :)
If you think you can get any good bits from my code and make a single version 
with that that'll be fine with me too :)



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