Hello, I have a program that does the following: set err [catch { tDOM::xmlReadFile $file encoding } xml] ... set err [catch { dom parse -html $xml } doc] ... ...
... That doesn't make much sense (read: is probably plain wrong), if $file is a HTML file. ... As you first write correctly, it doesn't crash, it panics. That...
Rolf Ade
rolf@...
Oct 2, 2008 11:15 am
1884
... No, that's not true. I have not an encoding problem. The user of my program has an encoding problem. As he/she is the one that selects the file, that can...
... Except for the exceptions of that rule. Do you find it cooperative, to insist, that everyone out there have to follow what you think is right? You want a...
Rolf Ade
rolf@...
Oct 2, 2008 4:59 pm
1886
... It's been there for years. It's frustrated and annoyed many people who have tried to use tDOM. Perhaps you will be luckier in trying to get Rolf to fix...
The earlier part of this thread started with a post or two from me, I think. In my developer's case, they actually got a specific warning message from tDOM...
Come on, Dossy. Yes, you're belong to the ones, which has whined about that. And, allow me to say that, you're also belong te ones, which didn't listened to...
Rolf Ade
rolf@...
Oct 2, 2008 8:33 pm
1890
... Just because my code has a bug in it doesn't mean yours doesn't, too. tDOM is, without question, broken in this regard. Nowhere else in the Tcl core does...
... Yes, tDOM catch the breaking of a very elementar, basic internal rule in a rude way. At least, you can hardly ignore the notice. And as long as you play...
Rolf Ade
rolf@...
Oct 2, 2008 11:28 pm
1892
... Oh, I absolutely care - but, in a multi-threaded application, having the whole thing blow up is not okay. One thread terminating would be one thing, but...
... I have to agree. Stopping computation and raising an error would be much more user friendly. By that you could catch it and tell your user - sorry, we...
Martin S. Weber
Ephaeton@...
Oct 3, 2008 2:24 pm
1894
... Just to stress an analogy: Take any libc function you like and in your mind replace "returning -1 (or returning NULL (or returning whatever value that...
Martin S. Weber
Ephaeton@...
Oct 3, 2008 2:34 pm
1895
English isn't my native language; I guess, that's obvious. But normally, I seem to be able to express myself anyway. With the exception of this topic. What I...
Rolf Ade
rolf@...
Oct 4, 2008 6:17 pm
1896
... I still feel, I haven't made my point clear enough. Gimme one more try. This is not about panic while feeding a broken document into tdom. If you feed a...
Rolf Ade
rolf@...
Oct 4, 2008 10:35 pm
1897
... Nowhere in the Tcl core does it blow up with a Tcl_Panic on the same malformed Tcl_Obj. Only tDOM does. Yet, you're convinced your decision is the...
Hi Dossy, hi Rolf, while I agree with Dossy that a Tcl_Panic() isn't the nicest thing to do in an extension, it still is a valid response. The Tcl core does...
Hello, You seem to agree that you can only arrive to this situation by using an incorrect or buggy C extension. This is not true. The following code can lead...
... As I already wrote: if $file is in fact an HTML file, it's probably plain wrong, to use xmlReadFile. ... Ahhh! Great. That's probably a bug in xmlReadFile....
Rolf Ade
rolf@...
Oct 6, 2008 5:38 pm
1921
Sorry to follow up on this heated thread, but i got now the same problem with an "incorrect user input" causing aolserver to restart. The problem happens in...
... Hi! This is my fault. We moved the repository to another server and since then the CVS access is down. I promised to check that but never got to it due to...
Hi Zoran, Any news on this? I've tried accessing CVS on cvs.tdom.org for the last two days, but just keeps timing out. Cheers, Neil ... This message has been...
... BTW, I am waiting for the CVS to come up again, too. What do you think about converting it to GIT and setting it up on github.com? Rolf, what do you think...
Hi Rolf, Zoran, others, this is the third attempt to send this message. I obviously are unable to send messages to this group using the Yahoo! Web interface....
... If you do it only occasionally why bother mirroring at all? You should do it regularly, automatically and at a high frequency, if at all... -Martin...
Martin S. Weber
Ephaeton@...
Feb 13, 2009 12:43 pm
1930
... No, Martin, I wont. I earn my money with other things and I spend it with my family. Occasionally and manually is fair enough as Rolf is mostly maintaining...
For all I know the following should work: set nodesList [$doc cget -selectNodes {//*[not(*)]}] However, I get the following error: wrong # args: should be...