Suppose you have an xml string like this: <table><row attr1="val1" attr2="val2"/><row attr1="val11" attr2="val12"/></table> Only instead of two row elements...
... Well, so will it be. Your XML isn't wellformed. (Or, popular variation, you've an encoding problem.) XML input of a few MBytes are almost nothing to tDOM....
rolf@...
Sep 9, 2007 1:24 am
1720
... Yes, using a DTD you can have default values for attributes not given in the XML. Though, there isn't a #DEFAULT token in the DTD syntax (a #FIXED,...
rolf@...
Sep 9, 2007 1:35 am
1721
1) XML is definitely well-formed and doesn't have any encoding issues. It's coming out of Microsoft SQL Server 2000's SELECT FOR XML. 2) Simply placing...
... The XML specifications say that the order of attributes is not relevant. If you need ordering you should consider rewriting your XML to use child elements...
OK, let's try again. I suspect, your first mail under this subject was some kind of bug report. But you don't provide a clear, small and stripped down example,...
rolf@...
Sep 9, 2007 1:22 pm
1727
Hi, I would like to mention that the problem reported in http://tech.groups.yahoo.com/group/tdom/message/1364 is still present in the latest tdom release. The...
You're right. I've fixed that in CVS head. Thanks! rolf...
rolf@...
Oct 3, 2007 11:20 am
1734
XimpleWare is proud to announce the the release of version 2.2 of VTD- XML, the next generation open source XML parsers/indexer/slicer/editor. This release...
Hi everybody, Previously i had the impression that tdom accepts all valid UTF-8 characters as input in e.g. textnode commands (commands created by "dom...
Hi Gustav, ... Yeah. You hit one of the finer points (you may say: problems) of XML. First, there is only well-formed XML. Everything, that is not well-formed,...
rolf@...
Oct 26, 2007 12:20 pm
1737
... Rolf, many thanks for your detailed answer. ... Even more, accroding to the definitions, XML cannot contain all valid UTF-8 strings. Interestingly, the...
... For XHTML, the rule is clear: it's XML, so the XML rules about the allowed chars are valid. I'm also uncertain about HTML 4.01 - I don't know for sure. A...
rolf@...
Oct 29, 2007 4:20 pm
1739
I am currently using an ActiveTcl distribution with tdom 0.8.1. The node documentation has the following for the replaceChild command: replaceChild newChild...
Kevin Partin
Kevin.Partin@...
Oct 29, 2007 6:01 pm
1740
... w3c tidy deletes this characters silently http://cgi.w3.org/cgi-bin/tidy ... that is true about most decisions of an implementation. Depending on the kind...
... 0.8.2 is even sweeter. ;-) Recent ActiveTcl distributions include that version. ... You are right. I've just fixed that in cvs head. Thanks for reporting! ...
rolf@...
Oct 29, 2007 7:18 pm
1743
[Send that out more than 15 hours ago, but it seems, it didn't got through. Sorry, if you get it 2 times.] Gustav, thanks for doing the studies. ... [...] ... ...
rolf@...
Oct 30, 2007 11:33 am
1744
... The explanation of the validator this is unusual imprecise, compared to other messages. The validator accepts certainly 0x9, 0x0a and 0x0d ... but not...
hi,everybody I am a fresh man in tdom and tcl language. And I found that we can share dom tree across threads in tdom. But when I try to do this,I can't get...
... from where did you get this information? You can't share tdom structures across multiple threads. What you can do is to have a single thread holding the...
... Good question. Could you say a word about that, qiangqianggao? ... Well, you can. Although the documentation is silent about that, as I just realized....
rolf@...
Nov 2, 2007 12:48 pm
1751
I am getting an error msg "Wrong # of arguments" from the following command. If the command only has one attribute test, then it works, but not with two...
Kevin Partin
Kevin.Partin@...
Nov 7, 2007 7:58 pm
1752
... $root selectNode {(DMM|OTM)/file[attribute::type="geometry" or attribute::type="matrix"]} Enclose string literals in {curly-braces}. You also avoid having...
... Dossy is right. The selectNodes method(*) expects the XPath expression as one argument. If your XPath expression includes spaces you've to do the normal...
rolf@...
Nov 8, 2007 4:38 pm
1755
Thanks for the tdom education! In the short term, you can also use Tcl's append command to put together XPath instructions that contain quotes, braces and...
Kevin Partin
Kevin.Partin@...
Nov 8, 2007 5:19 pm
1761
I keep getting: couldn't load file "./libtdom0.8.2.so": ./libtdom0.8.2.so: undefined symbol: __ctype_tolower_loc while executing "load ./libtdom0.8.2.so" ...
... Hm. Yes, looks like a libc or linking problem. ... gcc 2.95.4 - wasn't that the egcs gcc? What does ldd libtdom0.8.2.so say? Strange; never saw nor heard...
rolf@...
Nov 26, 2007 2:48 pm
1763
... libc.so.6 => /lib/libc.so.6 (0x4007e000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) ... It's not a libc5 system. The problem seems to be that...