Guys, Have you even looked at TinyXML?
I have a project once where we use XML as a message passing protocol and we were using XSLT as C++ code generator for classes handling XML and converting them to data structures handling all data we need. This freed us from portability problems (Litte Endian, Big Endian) which is not case here. For the application like LyX binary structure may be better to handle - certainly much work to do. We in our project hadn't found any known DOM useful for our purpose. Cheers! M. 2008/7/23 José Matos <[EMAIL PROTECTED]>: > On Wednesday 23 July 2008 12:19:16 Pavel Sanda wrote: > > i've done incorrect file, it's my fault if lyx crashes. i take my > > responsibility, no problem. > > trial method is the fastest if you want something quickly. > > If LyX crashes that is a bug. LyX should not ever crash, it can refused to > load a file because it is invalid, or to truncate it but it should not ever > crash. > > In the whole picture our parser is one of our weak links so we should do > something about it. Replace it in this case. > > > > First make it correct and then make it fast. > > > > i have exactly oposite view as far as the tweaking i was talking about > > is concerned; i just need quickly output of something, may be i will > throw > > it away after few days. > > > > or take Steve's example - if he takes your 'First make it correct and > then > > make it fast' it would take some two weaks to invent some beast to be > > correct in your sense. but then the whole point is lost, since after this > > time he could do it manually. > > > > i guess we can't agree on this, since i'm not talking about lyx > internals, > > while your job is to make lyx format conversions on lyx level... but this > > is users list, not the the devel one, so i feel free to speak this way :) > > Yes, I know but I can pretend otherwise. ;-) > > > pavel > > -- > José Abílio > -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
