Re: XML stream writer library

2021-01-12 Thread Richard Kimberly Heck
On 1/12/21 6:19 PM, Thibaut Cuvelier wrote: > On Tue, 12 Jan 2021 at 16:33, Lorenzo Bertini > mailto:lorenzobertin...@gmail.com>> wrote: > > Il 08/01/21 03:00, Thibaut Cuvelier ha scritto: > > A tour of some C++ libraries for XML: > > - RapidXML: mostly unmaintained since 2013, no

Re: XML stream writer library

2021-01-12 Thread Thibaut Cuvelier
On Tue, 12 Jan 2021 at 16:33, Lorenzo Bertini wrote: > Il 08/01/21 03:00, Thibaut Cuvelier ha scritto: > > A tour of some C++ libraries for XML: > > - RapidXML: mostly unmaintained since 2013, no support for namespaces > > (except in forks: https://github.com/dwd/rapidxml > >

Re: XML stream writer library

2021-01-12 Thread Lorenzo Bertini
Il 08/01/21 03:00, Thibaut Cuvelier ha scritto: A tour of some C++ libraries for XML: - RapidXML: mostly unmaintained since 2013, no support for namespaces (except in forks: https://github.com/dwd/rapidxml ) - Boost Property Tree: no XML parser, which limits

Re: XML stream writer library

2021-01-07 Thread Thibaut Cuvelier
On Thu, 7 Jan 2021 at 18:23, Thibaut Cuvelier wrote: > On Thu, 7 Jan 2021, 12:52 Lorenzo Bertini, > wrote: > >> I think almost all the options are on the table at this point. For the >> sake of completeness I think it's worth mentioning DOM library Boost >> Property Tree, which popped up

Re: XML stream writer library

2021-01-07 Thread Thibaut Cuvelier
On Thu, 7 Jan 2021, 12:52 Lorenzo Bertini, wrote: > I think almost all the options are on the table at this point. For the > sake of completeness I think it's worth mentioning DOM library Boost > Property Tree, which popped up frequently while searching. > > I think Thibaut is right when saying

Re: XML stream writer library

2021-01-07 Thread Lorenzo Bertini
I think almost all the options are on the table at this point. For the sake of completeness I think it's worth mentioning DOM library Boost Property Tree, which popped up frequently while searching. I think Thibaut is right when saying that, for the way LyX is structured now, a SAX writer

Re: XML stream writer library

2021-01-06 Thread Thibaut Cuvelier
On Tue, 5 Jan 2021 at 10:37, Joel Kulesza wrote: > On Tue, Jan 5, 2021 at 1:19 AM Pavel Sanda wrote: > >> On Mon, Jan 04, 2021 at 09:48:42PM +0100, Thibaut Cuvelier wrote: >> > There are multiple issues here. What is needed to generate HTML and >> DocBook >> > is a simple SAX writer, not a

Re: XML stream writer library

2021-01-05 Thread Joel Kulesza
On Tue, Jan 5, 2021 at 1:19 AM Pavel Sanda wrote: > On Mon, Jan 04, 2021 at 09:48:42PM +0100, Thibaut Cuvelier wrote: > > There are multiple issues here. What is needed to generate HTML and > DocBook > > is a simple SAX writer, not a parser. I've done plenty of research about > > it, there's no

Re: XML stream writer library

2021-01-05 Thread Pavel Sanda
On Mon, Jan 04, 2021 at 09:48:42PM +0100, Thibaut Cuvelier wrote: > There are multiple issues here. What is needed to generate HTML and DocBook > is a simple SAX writer, not a parser. I've done plenty of research about > it, there's no XML library that does that. Most of them are using a DOM, >

Re: XML stream writer library

2021-01-04 Thread Richard Kimberly Heck
On 1/4/21 5:10 PM, Pavel Sanda wrote: > On Mon, Jan 04, 2021 at 09:48:42PM +0100, Thibaut Cuvelier wrote: >> My recommendation, based on a quite long study of XML libraries (i.e. >> several years, but quite far from full-time): either use QXmlStreamWriter >> (which is mostly a SAX implementation

Re: XML stream writer library

2021-01-04 Thread Pavel Sanda
On Mon, Jan 04, 2021 at 09:48:42PM +0100, Thibaut Cuvelier wrote: > My recommendation, based on a quite long study of XML libraries (i.e. > several years, but quite far from full-time): either use QXmlStreamWriter > (which is mostly a SAX implementation in C++) or write our own. > QXmlStreamWriter

Re: XML stream writer library

2021-01-04 Thread Yuriy Skalko
TinyXML2 (https://github.com/leethomason/tinyxml2), pugixml ( https://github.com/zeux/pugixml), and Xerces-C++ ( https://xerces.apache.org/xerces-c/) are only DOM-based. There are quite a few C libraries, like libxml2, that can be SAX-like, but C libraries are horrible to use

Re: XML stream writer library

2021-01-04 Thread Thibaut Cuvelier
On Mon, 4 Jan 2021 at 20:30, Richard Kimberly Heck wrote: > On 1/3/21 3:37 PM, Lorenzo Bertini wrote: > > Hello list, > > In 12055 , discussing the merge of > some MathMLStream and XmlStream components, we were contemplating the > possibility of using an

Re: XML stream writer library

2021-01-04 Thread Richard Kimberly Heck
On 1/3/21 3:37 PM, Lorenzo Bertini wrote: > > Hello list, > > In 12055 , discussing the merge > of some MathMLStream and XmlStream components, we were contemplating > the possibility of using an external library to handle XML streams, > for example with

XML stream writer library

2021-01-03 Thread Lorenzo Bertini
Hello list, In 12055 , discussing the merge of some MathMLStream and XmlStream components, we were contemplating the possibility of using an external library to handle XML streams, for example with indentation and tag insertion. One of the candidates was