Re: [Gambas-user] New XML component

2012-04-25 Thread Caveat
Thanks Adrien! Your change has inspired me to go through and re-check the logic of my XMLParserToModel class and I have made a few changes to tighten up on checking the reader.Node for NULL and to implement the change you suggested (check state of the reader for EndElement instead of checking for

Re: [Gambas-user] New XML component

2012-04-25 Thread Adrien Prokopowicz
Le lundi 23 avril 2012 12:05:13 Caveat a écrit : > Benoit and Fabien, you're both right of course. > > Sorry, I was a little frustrated by how broken gb.xml now appears to be. > > The project I've sent does allow you guys to get some serious testing in > and I'm here should you have any questions

Re: [Gambas-user] New XML component

2012-04-23 Thread Caveat
Benoit and Fabien, you're both right of course. Sorry, I was a little frustrated by how broken gb.xml now appears to be. The project I've sent does allow you guys to get some serious testing in and I'm here should you have any questions about the project and the code. There are plenty of simple

Re: [Gambas-user] New XML component

2012-04-23 Thread Fabien Bodard
Le 23 avril 2012 11:09, Benoît Minisini a écrit : > Le 23/04/2012 00:22, Caveat a écrit : >> Note that there are 3 possibilities in my project to test XML stuff. >> Depending on what you set as the startup class, you can either try >> converting XML to a treeview, viewing the XML in a dynamically-

Re: [Gambas-user] New XML component

2012-04-23 Thread Benoît Minisini
Le 23/04/2012 00:22, Caveat a écrit : > Note that there are 3 possibilities in my project to test XML stuff. > Depending on what you set as the startup class, you can either try > converting XML to a treeview, viewing the XML in a dynamically-built GUI > or running a test suite which also applies c

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
Note that there are 3 possibilities in my project to test XML stuff. Depending on what you set as the startup class, you can either try converting XML to a treeview, viewing the XML in a dynamically-built GUI or running a test suite which also applies changes to the XML once it's in the internal mo

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
Nope, rev 4656 is not working with relative path (saved the xml as simple.xml in the project dir and referred to it as "simple.xml")... now it just fails silently giving wrong results, no error message any more. With absolute path is the same as before, still not working, silent failure with wrong

Re: [Gambas-user] New XML component

2012-04-22 Thread Adrien Prokopowicz
Le dimanche 22 avril 2012 13:51:22 Caveat a écrit : > If I put the xml file in the same dir as the project and reference it in > a relative way, then it works perfectly (as expected) using gb.libxml. > Using gb.xml I get an error "File or directory does not exist". > > Regards, > Caveat > > On Su

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
If I put the xml file in the same dir as the project and reference it in a relative way, then it works perfectly (as expected) using gb.libxml. Using gb.xml I get an error "File or directory does not exist". Regards, Caveat On Sun, 2012-04-22 at 13:40 +0200, Fabien Bodard wrote: > 2012/4/22 Cavea

Re: [Gambas-user] New XML component

2012-04-22 Thread Fabien Bodard
2012/4/22 Caveat : > Still not working with rev 4655. > > Did you get a chance to test using the project I sent?  It's quite clear > that it works with gb.libxml but not with gb.xml. > > I wish this change had been introduced in a more careful manner, perhaps > providing "gb.newxml" that we could t

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
Still not working with rev 4655. Did you get a chance to test using the project I sent? It's quite clear that it works with gb.libxml but not with gb.xml. I wish this change had been introduced in a more careful manner, perhaps providing "gb.newxml" that we could transition to over time instead

Re: [Gambas-user] New XML component

2012-04-22 Thread Adrien Prokopowicz
Le dimanche 22 avril 2012 11:42:20 Caveat a écrit : > It's not working for me. > > I have a project that builds an internal model of an xml file. the > project is working fine with gb.libxml but doesn't work with gb.xml and > gb.xml.xslt. > > The xml I am trying to parse is the following: > >

Re: [Gambas-user] New XML component

2012-04-22 Thread Caveat
It's not working for me. I have a project that builds an internal model of an xml file. the project is working fine with gb.libxml but doesn't work with gb.xml and gb.xml.xslt. The xml I am trying to parse is the following: Belgian Waffles $5.95

Re: [Gambas-user] New XML component

2012-04-21 Thread Sebastian Kulesz
Hi! I have added most of the missing pages for the gb.xml and gb.xml.html documentation. I noticed that most of them where not even created. To the ones that seemed most relevant and important to the end user, I added some information. To the rest (i.e. constants, obvious properties or methods, et

[Gambas-user] New XML component

2012-04-21 Thread Benoît Minisini
Hi, Adrien Prokopowicz has rewrote the XML component, the old one being renamed as gb.libxml. Sorry for the surprise! Please report any problem or incompatibility. I am not a user of XML, I know the basic things only, so Adrien is the guy who will fix the problem and help you. :-) Regards, -