... 5.8) ... Hi. No, CFLAGS is not set. It seems this is a bug in the tDOM-configure script. I added the string "-DHAVE_MEMMOVE=1" to the Makefile at TCL_DEFS...
Hi, I am writinga WebDAV server and constructing the XML responses with tDOM. One of the responses takes a while to contructs so I am trying to improve the...
... You can't. The appendFromList method always appends one subtree (or, in XML speech, what you append must be a well-formed XML document, not only a...
rolf@...
Jul 6, 2004 6:29 pm
831
Hi, I am processing xml docbook documents using tdom. The encoding of these documents is iso8859-1 and they contains some non-ascci characters like accented...
... That code skeleton looks about right (assuming, that you've also [fconfigure]d the $out channel to -encoding iso8859-1). ... That's, how the tcl I/O system...
rolf@...
Jul 9, 2004 6:31 pm
833
... I'm sorry. I was confussed about the contents of my file. It doesn't really contain non-ascci characters; instead it contains entities like "á" . ...
... Sure. Just provide an external entity resolver with the -externalentitycommand option. If your XML files have a valid file SYSTEM identifier just use the...
rolf@...
Jul 11, 2004 5:36 pm
835
There seem to be a bunch of xml diff utilities out there, but none appear to provide a tcl interface. are there any tdom procs/methods out there for comparing...
... Nothing, that I'm aware of. Simple things, like comparing two (non namespaced) documents for equality is a matter of just a few lines of tcl code. ...
rolf@...
Jul 20, 2004 11:25 am
837
... rolf, good points ... i noticed other xml diff tools have an option, but this is something i probably wouldn't need ... hadn't even thought about this, but...
Hello, is there work being planned to support the new xpath2.0 regex functions? %$connectlib::deviceInfo selectNodes {matches(//connection/protocol,'tel')} ...
... I continue to dislike W3C XML Schema (or more frankly spoken I think W3C XML Schema is a POS^H^H^Hdisaster) and parts of xpath/xslt 2.0 (especially their...
rolf@...
Jul 22, 2004 10:08 pm
840
... absolutely not. given infinite time, it would be nice. but frankly, only some things are actually going to be used. i see the regex stuff as very useful...
... Hm. Are you searching for {/foo/bar/bobo | /foo/moo/bobo} ? ... Should work. Or use another custom tcl coded xpath function. Something along the lines of ...
rolf@...
Jul 22, 2004 11:43 pm
842
... # wrong. ... # use instead: foreach node $arg1Value { ... Obviously. And still not. rolf...
rolf@...
Jul 22, 2004 11:50 pm
843
Hello all, I have not been able to read, parse and write again an XML text so spacing (newlines in particular) is preserved in the process. In particular, ...
Rolf, it appears that XML expat parsing crashes AOLserver under certain circumstances. I can reliably crash AOLserver 4.0.5 with tDOM 0.7.8 by executing the...
... Being in a hurry I just did a few first tests. Well, it basically seems to work for me. But using valgrind I can see some invalid mem reads under some...
rolf@...
Jul 24, 2004 11:34 am
848
Rolf, [snip] ... The filename is correct, in fact if the filename is incorrect then tDOM produces an appropriate error message. ... I just downloaded CVS HEAD...
... I guess, after checking the expat.html, that this is for external DTDs. I'm trying to get default values for the internal dtd attributes. Is this the same...
... If the parser has the information about attribute default values, they will be inserted in the tree. Your example document doesn't has a DTD - how should...
rolf@...
Jul 27, 2004 9:56 pm
853
... Ok, now it works. Isnt' this such a general need that could be better be provided as the default behaviour? A default externalEntityRefHandler , such as...
... I'm not sure, what do you mean. To feed an external subset into the parser, although the document doesn't have a doctype declaration? It happens, that...
rolf@...
Jul 28, 2004 2:02 pm
855
... Well, I said this several times and will say it again, now: tDOM CVS HEAD is normally the best tDOM you can get. I try hard, to keep CVS in good shape (and...