I just compiled tdom 0.7.8 on Solaris 9 successfully. I figured I'd mention it here because I searched through the postings and only read failure reports...
How can I preserve the CDATA sections? The seem to be getting "lost" between the parse and output. set xml "\ {?xml version="1.0"?} {publication} {article} ...
... You can't. CDATA sections are only a special (some would say dubious) way, to write character data. While building the DOM tree, tDOM treats them as text...
rolf@...
Apr 21, 2004 4:18 pm
781
CDATA is required since the fields can contain script code and other HTML tags that shouldn't get parsed. As you pointed out, tDOM does the right thing here by...
[You replied with three mails with similar text. I may quote parts out of any of that 3 mails] ... This isn't a valid argument, that CDATA is 'required'. If...
rolf@...
Apr 22, 2004 1:29 pm
783
No you are absolutely correct on all points. It definitly doesn't make sense to "hack" tDOM to account for poor coding practices... Thanks for the pointers, I...
when there is parsing error I wished the errorInfo would be a bit more informative. for example: dom parse <test><a><b><c></c></a></test> error "mismatched...
... Well, sure. I agree, that msxml error msg is better. Unfortunately there isn't much we can do here. In case of well-formedness errors like this, the 'core'...
rolf@...
Apr 29, 2004 3:26 pm
786
I've nearly no experience with xml. I apologize for and admit that right up front. I've some XML I'd like to process in a Tcl script. I was using another xml...
... You're doing SAX processing, here. It looks like, you've only to change the [package require ...] line: package require tdom and your code probably run, as...
rolf@...
May 3, 2004 4:17 pm
788
Hello, The following code outputs something that does not look as an XML tree. Is this a bug or am I doing something wrong? set html { <!DOCTYPE HTML PUBLIC...
... Looks like you're doing something wrong. An xslt transformation creates an external general parsed entity, that is not necessarily a well-formed XML...
rolf@...
May 4, 2004 5:42 pm
790
Rolf, Thanks for the information. It was only necessary to add: <xsl:template match="html"> <xsl:apply-templates select="body"/> </xsl:template> The xslt...
Hello, When I try the following code, I obtain: set html { <HTML><HEAD></HEAD> <BODY> <H1>HTML Clipboard Format </H1> </BODY> </HTML> } puts [package require...
... Looks like a bug. Strange. I'll look into this. Thanks for reporting! ... Hmm. There isn't a <layer> tag either in any HTML standard nor in XHTML. It's a...
rolf@...
May 5, 2004 5:32 pm
793
... What's that quote? "Be generous in what you accept, but strict in what you produce"? Something like that anyway. I'd vote for adding this stuff in. I...
... reporting! ... will ... element ... HTML ... Rolf, I agree with adding it. In fact, I would add any strange tag, that the fact of adding it, does not break...
Hi If you are an expert in C, C++ on Unix, then this might be the opportunity you are looking for. Our client, a world Top 10 brand, has set up their new...
Hi all, just managed to get tDOM from cvs to compile under MSYS/MinGW. It errors out compiling the stubs table, but this is fixable with the following...
Hi If you are an expert in Unix/Linux with C, C++, then this might be the opportunity you are looking for. Our client, a world Top 10 brand, has set up their...
... Errrm... It worked for me on linux with any gcc version, I've ever given a try. IIRC the oldest linux box, I build 0.7.8 on was a SuSE 6.4 with an egcs...
rolf@...
Jun 9, 2004 1:25 pm
802
Hi, I get the latest copy from CVS instead of here: http://www.tdom.org/tDOM-0.7.8.tar.gz, and it works now! Thanks. mk ... it's ... required?...
Hello, Have there been any improvements in tdom related to below email? I currently substituted tdom by htmlparse for this, but I'd like to use tdom again. ...
... With current CVS HEAD: % set html { <HTML><HEAD></HEAD> <BODY> <H1>HTML Clipboard Format </H1> </BODY> </HTML> } puts [package require tdom] dom parse...
rolf@...
Jun 11, 2004 8:56 am
805
I was really far into debt. Like Most I was in Financial dispair. I could not seem to get ahead no matter how hard I tried. Untill I found this place. ...
Hello, Is there a way to extend (add additional ones) methods under the dom and domNode objects? For example the current methods for a domMode are nodeType,...