From: Nicolas C. <war...@fr...> - 2003-04-23 05:06:50
|
> > I'm currently rewriting my Xml-Light library which is a minimal Xml > > parser/printer and adding DTD support to it. > > Is it? Is it _really_ a minimal XML parser/printer? > I fear it is just a parser/printer for a minimal _subset_ of XML! Yes it is. > (e.g. Does it supports UNICODE characters? What about Entities? > What about Notation? Is it 100% fully compliant with the spec?) No, no, no, and no :-) > We do not need yet another standard for documents. Either it is > fully XML compliant (and there is already PXP - native ocaml - > or gdome2-ocaml - binding to libgdome) or it is unuseful/threatening. Why do you think then I am "loosing" my time writing it then ? PXP is huge, complex, didn't managed to compiled it under Win32 in one day, but quite complete : this library is for "professionnal" XML users. Let me explain my thoughts... As far as I know, there is a lot of differents ways of using XML, and I'm pretty sure that about 85% of the usages are for configuration files and import/export of XML data. Theses usages needs only the _subset_ of all the XML specs that Xml Light will support, I have no ambition of rewriting a PXP, but I think it will be good for the OCaml community to have such a small thing available. Of course, I would like to be as much compliant with the spec, so please review the code once released. So I don't think its unuseful since I already had several users enjoying the previous version of Xml Light which was not even supporting CDATA et PCDATA ! And I don't think it's threatening either since with the help of the community we will stick to a given subset of the specs. Nicolas Cannasse |