You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(18) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(11) |
Feb
(2) |
Mar
(1) |
Apr
(4) |
May
(23) |
Jun
(17) |
Jul
(1) |
Aug
(17) |
Sep
(4) |
Oct
(14) |
Nov
(1) |
Dec
(2) |
2002 |
Jan
|
Feb
(2) |
Mar
(15) |
Apr
|
May
(19) |
Jun
(2) |
Jul
(8) |
Aug
(24) |
Sep
(21) |
Oct
(17) |
Nov
(11) |
Dec
(20) |
2003 |
Jan
(17) |
Feb
(19) |
Mar
(21) |
Apr
(13) |
May
(14) |
Jun
(7) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
2004 |
Jan
(5) |
Feb
(2) |
Mar
|
Apr
(3) |
May
(1) |
Jun
(5) |
Jul
(12) |
Aug
(3) |
Sep
(14) |
Oct
(1) |
Nov
(4) |
Dec
(3) |
2005 |
Jan
(1) |
Feb
(6) |
Mar
(3) |
Apr
|
May
(2) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
2006 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2007 |
Jan
(1) |
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
(8) |
Oct
(1) |
Nov
|
Dec
|
From: Steve B. <Ste...@zv...> - 2002-05-05 02:35:01
|
P. Eric Chi wrote: > After I download and install tcllib 1.2, the TclXML install.tcl still > says, "Package tcllib version 0.8 is required by TclXML, but is not > installed. ..." > > I have set TCLLIBPATH=/usr/local/lib/tnm2.1.9 > /usr/local/lib/tkined1.4.9 /usr/local/lib/tcllib1.2 > Is ther eother environment variable I should set or how to let the > TclXml know the tcllib is already there/ The problem with tcllib is fixed in the CVS repository, but I haven't made a new release yet that contains the fix. In order to fix the current version, edit the install.data file in the source directory. Change the 'Require tcllib' line. Cheers, Steve Ball -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: P. E. C. <ec...@ci...> - 2002-05-04 02:12:28
|
Hi, After I download and install tcllib 1.2, the TclXML install.tcl still says, "Package tcllib version 0.8 is required by TclXML, but is not installed. ..." I have set TCLLIBPATH=/usr/local/lib/tnm2.1.9 /usr/local/lib/tkined1.4.9 /usr/local/lib/tcllib1.2 Is ther eother environment variable I should set or how to let the TclXml know the tcllib is already there/ Thanks, Eric. |
From: Steve B. <Ste...@zv...> - 2002-03-17 21:26:29
|
Dear Robert, You wrote: > * I need to have elements like this: > > <Include File="Echo.xml"/> > > and have the "compiler" find Echo.xml in a search path of > directories. I don't see any way XInclude can do that, so > I have the tool doing an initial (internal) transformation > on the include tree that looks for these elements and > converts them to the correct XInclude element using an > extension function that finds the correct directory. Does > this seem like the correct approach. None of the inclusion mechanisms (external entities, document(), XInclude) fail gracefully, so you do indeed need to have higher-level mechanism. There are two ways to do it: have the framework do the search and pass in the filename/URI as a parameter or use an extension function. We've done it either way in various projects. My latest effort uses extensions and I've cut it down to the barest primitives - I have a function that checks to see if a resource exists and another to list subresources. You can get a long way with just those two. To do this I register an extension in TclXSLT that calls out to a couple of very simple Tcl procedures. The Tcl package is attached. Here's the setup Tcl code: package require xslt package require resources ::xslt::extension add http://www.zveno.com/resources ::resources set doc [::dom::libxml2::parse <Test/>] set styledoc [::dom::libxml2::parse $stylesheetxml] set style [::xslt::compile $styledoc] set result [::xslt::transform $style $doc] puts [::dom::libxml2::serialize $result] My stylesheet ($stylesheetxml) looks like this: <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:resource='http://www.zveno.com/resources' extension-element-prefixes='resource'> <xsl:template match='/'> <xsl:text>The directory /tmp does </xsl:text> <xsl:choose> <xsl:when test='resource:exists("/tmp")'/> <xsl:otherwise> <xsl:text>not </xsl:text> </xsl:otherwise> </xsl:choose> <xsl:text> exist</xsl:text> </xsl:template> </xsl:stylesheet> NB. the 'resource' XML namespace declaration and the attribute 'extension-element-prefixes' set up the extension. This ties in with the '::xslt::extension' command in the Tcl code. Now the XML Namespace and the Tcl namespace are tied together. Using the extension approach, rather than pre-process to convert your Include elements into xi:include elements you could just have a template that matches Include and uses the document() function to read in the external file. For example, <xsl:template match='Include'> <xsl:call-template name='processFile'> <xsl:with-param name='dirList' select='"/tmp /var/tmp /usr/local/share/lib"'/> <xsl:with-param name='filename' select='.'/> </xsl:call-template> </xsl:template> <xsl:template name='processFile'> <xsl:param name='dirList'/> <xsl:param name='filename'/> <xsl:variable name='thisDir' select='substring-before($dirList, " ")'/> <xsl:choose> <xsl:when test='not($dirList)'> <!-- No more directories to search --> </xsl:when> <xsl:when test='resource:exists(concat($thisDir), "/", $filename))'> <xsl:apply-templates select='document(concat($thisDir), "/", $filename))'/> </xsl:when> <xsl:otherwise> <xsl:call-template name='processFile'> <xsl:with-param name='dirList' select='substring-after($dirList, " ")'/> <xsl:with-param name='filename' select='$filename'/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:template> > * All the "standard" tools seem to expect you to use one stylesheet > to process multiple documents. My application wants to take > one document and process it with multiple stylesheets. I expect > I'll just have to write the tool to do that. That's essentially the job of a Content Management System (CMS). They have varying degrees of sophistication. In fact, developing a simple CMS is one of my major projects at the moment. For a really simple approach you can simply use Makefiles. You may also wish to keep an eye on the XML Pipeline Note submitted recently to the W3C. I've also written XSL stylesheets that acts as Makefiles, see the doc subdirectory of the XSLT Standard Library. HTHs, Steve Ball -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: Steve B. <Ste...@zv...> - 2002-03-15 09:48:15
|
George Lewis wrote: > I would like to get create or access a simple XML file to get started using TclXML. > At the present I have not been able to find any documentation that really helps. > > Could someone provide a simple XML example (one or two tags, one or two attributes) > and some simple Tcl using TclXML or DOM to manipulate it? Try looking at the courseware on the Zveno website: http://www.zveno.com/courses/samples/XML-App-Dev-Tcl/ Feel free to send me some suggestions on how to improve it. Adding more examples to the TclXML website is on my TODO list, which unfortunately is very long at the moment! > Sorry if I am being dense about this problem. Any book suggestions would also be > appreciated on the subject of Tcl and XML. I suggested last week that we start an Open Content book on the website, and received some positive responses. Again, lack of time has prevented me from making a start, but I'll get there soon ;-) Cheers, Steve Ball -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: George L. <gh...@op...> - 2002-03-14 21:37:32
|
Hello: I would like to get create or access a simple XML file to get started using TclXML. At the present I have not been able to find any documentation that really helps. Could someone provide a simple XML example (one or two tags, one or two attributes) and some simple Tcl using TclXML or DOM to manipulate it? Sorry if I am being dense about this problem. Any book suggestions would also be appreciated on the subject of Tcl and XML. -George H. Lewis |
From: Steve B. <Ste...@zv...> - 2002-03-12 22:21:15
|
> Larry W. Virden wrote: > >>On sparc solaris 2.6, using Sun's C compiler, configure is not filling >>in all the information in the Makefile when it generates it. The following >>fields are not expanded, resulting in Makefile failures: >> >>DL_LIBS = @DL_LIBS@ >>MATH_LIBS = @MATH_LIBS@ >>[...] My autoconf skills are pretty poor :-( and I don't have access to a Sun machine (any more). Perhaps someone would be kind enough to supply a patch. Joe English wrote: > Which directory are you trying to compile in? > > These variables don't appear in tcldom/src/Makefile.in, > which AFAIK is where tcldom::c currently lives (at least > that's the directory I've been using.) Larry's trying to build the libxml2 wrapper, which is separate to your sources and lives in the src-libxml2 directory. In fact, the toplevel directory now has the TclDOM generic layer code. I haven't integrated building the TclDOMPro code into the toplevel configure/make files - I'm leaving that for you to do. Cheers, Steve -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: Larry W. V. <lv...@ca...> - 2002-03-12 16:25:24
|
From: Joe English <jen...@fl...> > Which directory are you trying to compile in? > > These variables don't appear in tcldom/src/Makefile.in, > which AFAIK is where tcldom::c currently lives (at least > that's the directory I've been using.) This is using the cvs snapshot tars from activestate.com's ftp site. I'm in the tcldom top level directory, which comes with a configure script. I was running the configure first with --enable-xml2 and then with --disable-xml2 . I will try with a fresh copy and just do the wish install.tcl by itself. -- Never apply a Star Trek solution to a Babylon 5 problem. Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Joe E. <jen...@fl...> - 2002-03-12 15:40:42
|
Larry W. Virden wrote: > > On sparc solaris 2.6, using Sun's C compiler, configure is not filling > in all the information in the Makefile when it generates it. The following > fields are not expanded, resulting in Makefile failures: > > DL_LIBS = @DL_LIBS@ > MATH_LIBS = @MATH_LIBS@ > [...] Which directory are you trying to compile in? These variables don't appear in tcldom/src/Makefile.in, which AFAIK is where tcldom::c currently lives (at least that's the directory I've been using.) --Joe English jen...@fl... |
From: Larry W. V. <lv...@ca...> - 2002-03-12 11:52:46
|
I'm encountering a problem that I thought I would mention. This might be no surprise to others - I just wanted to mention it in case people were not aware. On sparc solaris 2.6, using Sun's C compiler, configure is not filling in all the information in the Makefile when it generates it. The following fields are not expanded, resulting in Makefile failures: DL_LIBS = @DL_LIBS@ MATH_LIBS = @MATH_LIBS@ TK_BIN_DIR_NATIVE = @TK_BIN_DIR_NATIVE@ TK_LIB_FILE = @TK_LIB_FILE@ TK_SRC_DIR = @TK_SRC_DIR@ tcldom_LIB_DIR = @tcldom_LIB_DIR@ tcldom_INCLUDE_DIR = @tcldom_INCLUDE_DIR@ tcldom_DIR = @tcldom_DIR@ -- Never apply a Star Trek solution to a Babylon 5 problem. Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Steve B. <Ste...@zv...> - 2002-03-05 20:49:42
|
George Lewis wrote: > I would like to get create or access a simple XML file to get started using TclXML. > At the present I have not been able to find any documentation that really helps. > > Could someone provide a simple XML example (one or two tags, one or two attributes) > and some simple Tcl using TclXML or DOM to manipulate it? You've pre-empted me a bit, but just last week Zveno (my company) made the course "XML Application Development Using Tcl" available online (for free!). Go to http://www.zveno.com/courses/ and follow the link to "Online Courseware". Updating the TclXML website is on my TODO list (sigh... along with a million other things!). > Sorry if I am being dense about this problem. Any book suggestions would also be > appreciated on the subject of Tcl and XML. A couple of publishers have contacted me to write such a book, but at the moment I'm engaged in writing an XSLT book. However, it would be interesting to write an Open Content book with collaboration from members of this mailing list. Would anyone be interested? Cheers, Steve Ball -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: Steve B. <Ste...@zv...> - 2002-03-05 20:45:03
|
Kala Veda wrote: > Similarly, can i write into an XML file using TCLXML? No - TclXML is only for reading XML documents. To write an XML document you will want to use TclDOM. Cheers, Steve Ball -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: George L. <gh...@op...> - 2002-03-05 17:56:27
|
Hello: I would like to get create or access a simple XML file to get started using TclXML. At the present I have not been able to find any documentation that really helps. Could someone provide a simple XML example (one or two tags, one or two attributes) and some simple Tcl using TclXML or DOM to manipulate it? Sorry if I am being dense about this problem. Any book suggestions would also be appreciated on the subject of Tcl and XML. -George H. Lewis |
From: <tim...@as...> - 2002-03-05 16:32:20
|
Kala, I believe XML requires you to have one "root" tag -- ie the outermost tag. Your modified example has two. Try placing the <another> tag just after the <Inner> tag and see what happens. I've been reading "Beginning XML 2nd Edition (XML Schemas, SOAP, XSLT, DOM, and SAX 2.0" From WROX Press and find it to be a pretty good tutorial on XML and related technologies. Kala Veda wrote: > Hi, > > Thanks a lot for your time. > I have some more doubts. In the script using TCLXML, variable > $xml is parsed to the parser object. Can this $xml be an xml file > name? Or should it be a string. I tried to run the script by defining > the $xml variable with different options, > > set xml "<Outer><Inner> Testing </Inner></Outer>" > > I am able to retrieve the Inner tag value without any problem, > but if i add another tag to the same string, say, > > set xml "<Outer><Inner> Testing > </Inner></Outer><Another>AnotherTag</Another>" > > then, i am getting an error as follows : > > emch-sp22-ultra# tclsh8.3 test2.tcl > error "junk after document element" at line 1 character 91 > while executing > "$p parse $xml" > (file "test2.tcl" line 35) > emch-sp22-ultra# -- Tim Davis |
From: Kala V. <kv...@ci...> - 2002-03-05 12:14:38
|
Hi, Thanks a lot for your time. I have some more doubts. In the script using TCLXML, variable $xml is parsed to the parser object. Can this $xml be an xml file name? Or should it be a string. I tried to run the script by defining the $xml variable with different options, set xml "<Outer><Inner> Testing </Inner></Outer>" I am able to retrieve the Inner tag value without any problem, but if i add another tag to the same string, say, set xml "<Outer><Inner> Testing </Inner></Outer><Another>AnotherTag</Another>" then, i am getting an error as follows : emch-sp22-ultra# tclsh8.3 test2.tcl error "junk after document element" at line 1 character 91 while executing "$p parse $xml" (file "test2.tcl" line 35) emch-sp22-ultra# Similarly, can i write into an XML file using TCLXML? Thanks in Advance Kala At 07:08 AM 3/5/2002 +1100, Steve Ball wrote: >Kala Veda wrote: >> I need to parse the xml document using a TCL Function, by passing a >> tag name to retrieve the value of the tag. Something similar to >> "Simple.pm" in perl. For example i have an example xml document : >><Outer> >> <Inner> >> Testing >> </Inner> >></Outer> >><Another> >> AnotherTag >></Another> >> Say to retrive the value contained in the tag "Another", i should >> pass "Another" to a TCL function, which should retreive me "AnotherTag". >> How can i use TCLXML to implement this? > >There are two ways to do this, using TclXML or by using TclDOM. > >If all you want to do is extract the value from that one element >then TclXML can do that by using an element handler. You need to >know about the start of the desired tag, capture its content >and then stop capturing when the end tag occurs. For example: > >package require xml >set p [xml::parser -elementstartcommand EStart \ > -elementendcommand EEnd \ > -characterdatacommand Data] > >proc EStart {tag attrs args} { > global capture > > if {[string equal $tag "Another"]} { > set capture 1 > } >} >proc EEnd {tag args} { > global capture > > if {[string equal $tag "Another"]} { > set capture 0 > } >} >proc Data data { > global capture pcdata > > if {$capture} { > append pcdata $data > } >} > >set pcdata {} >set capture 0 >$p parse $xml > >puts "captured data is \"$pcdata\"" > >------- > >Now, using TclDOM v2.0 with its XPath support is a little >easier: > >package require dom 2.0 > >set doc [dom::DOMImplementation parse $xml] > ># First get the desired element. ># This will return a list (nodeset) of all elements ># that match the expression. >set element_list [dom::document selectNode $doc //Another] >set one_element [lindex $element_list 0] > ># Now get its string value (the textual content). > >puts "element content is \"[dom::node stringValue $one_element]\"" > >> Moreover, i tried to run the flatten.tcl with the sample xml file >> given in the examples, it is giving an error. The error is as follows : > >Please submit a SF bug report. > >> Can you let me know what the problem is? Is there any detailed >> documentation for TCLXML implementation? > >There is the reference documentation (ie. the man page) on the >website. I should probably write up a "roadmap" for the >Tcl parser implementation. Why don't you submit a tracker >item on SF for that too? > >Cheers, >Steve Ball > >-- >Steve Ball | XSLT Standard Library | Training & Seminars >Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas >http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development >Ste...@zv... +---------------------------+--------------------- >Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 > |
From: Steve B. <Ste...@zv...> - 2002-03-04 20:08:21
|
Kala Veda wrote: > I need to parse the xml document using a TCL Function, by passing a > tag name to retrieve the value of the tag. Something similar to > "Simple.pm" in perl. For example i have an example xml document : > > <Outer> > <Inner> > Testing > </Inner> > </Outer> > <Another> > AnotherTag > </Another> > > Say to retrive the value contained in the tag "Another", i should > pass "Another" to a TCL function, which should retreive me "AnotherTag". > How can i use TCLXML to implement this? There are two ways to do this, using TclXML or by using TclDOM. If all you want to do is extract the value from that one element then TclXML can do that by using an element handler. You need to know about the start of the desired tag, capture its content and then stop capturing when the end tag occurs. For example: package require xml set p [xml::parser -elementstartcommand EStart \ -elementendcommand EEnd \ -characterdatacommand Data] proc EStart {tag attrs args} { global capture if {[string equal $tag "Another"]} { set capture 1 } } proc EEnd {tag args} { global capture if {[string equal $tag "Another"]} { set capture 0 } } proc Data data { global capture pcdata if {$capture} { append pcdata $data } } set pcdata {} set capture 0 $p parse $xml puts "captured data is \"$pcdata\"" ------- Now, using TclDOM v2.0 with its XPath support is a little easier: package require dom 2.0 set doc [dom::DOMImplementation parse $xml] # First get the desired element. # This will return a list (nodeset) of all elements # that match the expression. set element_list [dom::document selectNode $doc //Another] set one_element [lindex $element_list 0] # Now get its string value (the textual content). puts "element content is \"[dom::node stringValue $one_element]\"" > Moreover, i tried to run the flatten.tcl with the sample xml file > given in the examples, it is giving an error. The error is as follows : Please submit a SF bug report. > Can you let me know what the problem is? Is there any detailed > documentation for TCLXML implementation? There is the reference documentation (ie. the man page) on the website. I should probably write up a "roadmap" for the Tcl parser implementation. Why don't you submit a tracker item on SF for that too? Cheers, Steve Ball -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Ste...@zv... +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 |
From: Kala V. <kv...@ci...> - 2002-03-04 12:07:45
|
Hi, I need to parse the xml document using a TCL Function, by passing a tag name to retrieve the value of the tag. Something similar to "Simple.pm" in perl. For example i have an example xml document : <Outer> <Inner> Testing </Inner> </Outer> <Another> AnotherTag </Another> Say to retrive the value contained in the tag "Another", i should pass "Another" to a TCL function, which should retreive me "AnotherTag". How can i use TCLXML to implement this? Moreover, i tried to run the flatten.tcl with the sample xml file given in the examples, it is giving an error. The error is as follows : emch-sp22-ultra# tclsh8.3 flatten.tcl REC-xml-20001006.xml can't read "config(wantElementDecls)": no such variable while executing "if {$config(wantElementDecls)} { $parser configure -elementdeclcommand [list ElementDeclaration $out] }" (procedure "Process" line 13) invoked from within "Process [read $ch] [expr {[file extension $filename] == ".dtd" ? "dtd" : "xml"}] stdout -baseurl file://[file join [pwd] $filename]" ("foreach" body line 6) invoked from within "foreach filename $argv { if {$filename == "-"} { Process [read stdin] xml stdout } else { set ch [open $filename] Process [read $ch] [..." ("default" arm line 2) invoked from within "switch [llength $argv] { 0 { if {![catch {package require Tk}]} { # Create a nice little GUI array set config {wantElementDecls 1 wantP..." (file "flatten.tcl" line 270) emch-sp22-ultra# Can you let me know what the problem is? Is there any detailed documentation for TCLXML implementation? Thanks in Advance, Kala |
From: Palani S. <tmp...@ho...> - 2002-03-04 06:02:11
|
Hi! I want to join in this group. Now only I have started to learn Tcl. Pls = subscribe me. Thanks & regards, palani. |
From: Andreas K. <aku...@sh...> - 2002-02-24 22:24:01
|
Call For Papers 9th Annual Tcl/Tk Conference September 16-20, 2002 Vancouver, BC, Canada We are pleased to announce the 9th Annual Tcl/Tk conference, to be held September 16-20, 2002, in Vancouver, BC, Canada. This conference is a forum to: * bring together Tcl/Tk researchers and practitioners * publish and present current work involving Tcl/Tk * learn about the latest developments in Tcl/Tk * plan for future Tcl/Tk related developments The conference program will include paper presentations, tutorials, Birds of a Feather (BOF) sessions and invited key-note talks. This call invites you to submit extended abstracts to be considered for the conference program. The conference schedule will consist of 2 days of tutorials (Monday - Tuesday) and 3 days for the main conference (Wednesday - Friday). Submission of Extended Abstracts The conference provides an opportunity to report on original Tcl/Tk research. The audience is practitioners and researchers who are intermediate or experienced users of Tcl/Tk. For this reason, reports on experiences and applications must draw out lessons for other Tcl/Tk developers. Topics include, but are not limited to: * System extensions * Novel Tcl/Tk-based applications * Experience reports on building applications in Tcl/Tk * Comparative evaluations of Tcl/Tk and other languages or toolkits for building applications * Use of different programming paradigms in Tcl/Tk and proposals for new directions. * New areas of exploration for the Tcl/Tk language Extended Abstracts should be written in English and 600 to 1000 words long (1-2 pages). Omit extraneous or redundant information. Length is not a direct factor in judging the quality of the submission. Send submissions as plain text to <tcl2002@-SPAM-.tcl.tk> no later than April 28, 2002. Authors of accepted abstracts will have until August 20, 2002 to submit their final paper for the inclusion in the conference proceedings. The proceedings will be made available on CD-ROM, so extra materials like code samples are welcome. The authors will have 20-25 minutes to present the paper at the conference. The program committee will review and evaluate papers according to the following criteria: * Quantity and quality of novel content * Relevance and interest to the Tcl/Tk community * Suitability of content for presentation at the conference Proposals may report on commercial or non-commercial systems, but those with only blatant marketing content will not be accepted. Application and experience papers need to strike a balance between background on the application domain and the relevance of Tcl/Tk to the application. Application and experience papers should clearly explain how the application or experience illustrates a novel use of Tcl/Tk, and what lessons the Tcl/Tk community can derive from the application or experience to apply to their own development efforts. Papers accompanied by non-disclosure agreement forms will be returned to the author(s) unread. All submissions are held in the highest confidentiality prior to publication in the Proceedings, both as a matter of policy and in accord with the U. S. Copyright Act of 1976. Other Forms of Participation The program committee also welcomes proposals for panel discussions of up to 90 minutes. Proposals should include a list of confirmed panelists, a title and format, and a panel description with position statements from each panelist. Panels should have no more than four speakers, including the panel moderator, and should allow time for substantial interaction with attendees. Panels are not presentations of related research papers. Slots for Works-in-Progress (WIP) presentations and Birds-of-a-Feather sessions (BOFs) are available on a first-come, first-served basis starting in August 2002. Specific instructions for reserving WIP and BOF time slots will be provided in the registration information available in June 2002. Some WIP and BOF time slots will be held open for on-site reservation, so we encourage all attendees with interesting work in progress to consider presenting that work at the conference. Registration Information More information on the conference will be available in Spring 2002 at the conference web site (http://www.tcl.tk/community/tcl2002/) and published on various Tcl/Tk-related information channels. To keep in touch with conference announcements and Tcl events in general, subscribe to the tcl-announce list at: http://listserv.activestate.com/mailman/mysubs?show=announce by entering your email and selecting Tcl-announce. Conference Committee Jeff Hobbs ActiveState Corp General Chair Gerald Lester Aspen Technology Program Co-chair Kevin Kenny GE Global Research Center Program Co-chair Andreas Kupries ActiveState Corp Andrej Vckovski NetCetera Clif Flynt Noumena Corp Ken Jones Avia Training Larry Virden Chemical Abstracts Service (CAS) Mac Cody Raytheon Company Mark Roseman Sonexis, Inc. Steve Landers Digital Smarties Contact Information tcl2002@-SPAM-.tcl.tk http://www.tcl.tk/community/tcl2002/ -- Sincerely, Andreas Kupries <aku...@sh...> Developer @ <http://www.activestate.com/> Private <http://www.purl.org/NET/akupries/> ------------------------------------------------------------------------------- |
From: PERRIN B. <ber...@cs...> - 2002-02-20 13:12:17
|
Hi, I'm using tclxml version 2.1 theta. I tried to parse xml files with an external dtd file. I would like to validate my xml file, so I use: set parser [::xml::parser -validate 1 ....] However, even when my xml file is incorrect (according to the dtd) I never get an error. Can I really use this tool for validation? Do I miss something? The same test works fine with libxml2. Below are the files that I use. Thanks for any suggestion, Bernard ex1.dtd: <!ELEMENT tutorial (#PCDATA)> ex1_ok.xml: <!DOCTYPE tutorial SYSTEM "ex1.dtd"> <tutorial>This is an XML document</tutorial> ex1_ko.xml: <!DOCTYPE tutorial SYSTEM "ex1.dtd"> <text>This is an XML document</text> validate.tcl: package require xml cd d:/tclxml-2.1theta/examples set fp [open "ex1_ko.xml" "r"] set parser [::xml::parser -validate 1 -baseurl "file://d:/tclxml-2.1theta/examples/"] $parser parse [read $fp] close $fp |
From: Mats B. <ma...@pr...> - 2001-12-16 11:29:36
|
Don't know if this already fixed, but in ActiveState's 8.3.3 distro there is a dll, tclxml20.dll that crashes right away, even before trying to parse anything, with message: Tcl_AppendStringsToObj called with shared object, which means that someone hasn't got the reference counts on a Tcl_Obj right. The code is roughly this: set myParser [xml::parser] $myParser configure -final 0 \ -elementstartcommand HandleStart \ -elementendcommand HandleEnd -characterdatacommand HandleText \ -errorcommand HandleError Any comments on this? Mats |
From: Mats B. <ma...@pr...> - 2001-12-13 11:54:19
|
Hi all, I've made a number of bug fixes that has mainly to do with the -final 0 option to the TclXML parser, and a few other things. I was desperate! Now it should be possible to correctly parse XML that is chopped off anywhere. However, there may be side effects I haven't been able to see. So, I'd like someone to go through the tests, and test particularly the -final 0 option on arbitrarily chopped off XML. Perhaps someone could add similar tests to the test suit so we don't see this happen again. Download at: "http://hem.fyristorg.com/matben/download/tclxml-2.1theta-p1.tar.gz" /Mats CHANGES ------- (2001-12-13) by Mats Bengtsson (ma...@pr...) Fixes mainly to make the -final 0 option work. Only for *8.1* files. - Added the -statevariable to ::sgml::parseEvent call; initialization fix in parseEvent - Added the -statevariable to ::sgml::tokenise call to handle cases with chopped off xml at arbitrary places; added the 'leftover' array element to 'parse' - Now also takes the first four elements of tokenised for parsing in ::sgml::parseEvent, see comments there - Added error checking in xml::tclparser::configure - Added call to xml::tclparser::configure from xml::tclparser::parse - Added one-word error description to all -errorcommand calls, and fixed all list structures |
From: Jeff H. <Je...@Ac...> - 2001-11-02 19:01:53
|
ActiveState has added a section of Tcl mailing lists with back archives to their ASPN site. The available lists are noted at: http://aspn.activestate.com/ASPN/Tcl/Mail all ASPN lists are here: http://aspn.activestate.com/ASPN/Mail/ and example of the presentation is here (very slick): http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/tcl-core We believe this is especially well timed given the uncertainty of GeoCrawler (presumably being absorbed by SourceForge directly). Also, this has nice searching capabilities. If you are an ASPN member (ASPN Open is a free subscription), you can have a customized front page which tracks the latest messages in any available list without have to be subscribed. We hope you find this to be a valuable resource. Also note that we have recently created an ActiveTcl-at-listserv.ActiveState.com mailing list that you can join for discussions related to ActiveTcl features and development. -- Jeff Hobbs The Tcl Guy Senior Developer http://www.ActiveState.com/ Tcl Support and Productivity Solutions |
From: Philip E. <pe...@li...> - 2001-10-26 15:21:05
|
Cameron Laird wrote: > > The internal format has nice things like this: > > > > (line has been wrapped) > > > > <int_4s compression='9' format='base64' name='my_data' > > comment='this is my data'> ... </int_4s> > > > > So, I guess XML is to prevent us from writing non-portable > > but more readable formats. But I, for one, think maybe > > it's got a bit out of hand. > > . > > . > > . > > I, for a second, sure can't figure out some > > of the marketing perpetrated on XML's behalf. > > > > Back to technical matters: Phil, I don't > > understand of what the above is an example. > > Why can't it be XML? > > It is an example of a format that anybody involved in processing > numerical data can intuitively understand. The myth about XML is > that it is immediately interpretable by some magical interpreter, > and no magical interpreter will interpret the above example. > > QOTW? > . > . > . > Sure. > > The fragment above: it *can* be well-formed XML, right? > I still don't get your claim that your group invented a > syntax which is not XML. I understand that to mean there's > some syntax which violates XML, but which your group finds > better-than-XML. What's an example of that? Because there is no DTD. It is XML-like, but XML is just HTML-like, which is just like something else, etc. I guess it is nice to latch on to something and to say it can be all things to all people, but other than Tcl, I have yet to see any such thing. The XML people here screamed bloody murder about the "internal lightweight format" because their visual interpreter could not color syntaxify it. |
From: Philip E. <pe...@li...> - 2001-10-26 15:13:58
|
Steve Cassidy wrote: > > One of my main motivations for using XML as a serialisation format is that it > removes the need to invent a new format and write a parser for it. I'm bad > at inventing new formats and when I've done it I've always found a little > later that I need to extend it in some way that I didn't forsee. XML makes it > much more likely that I'll be able to do that. It also means that I don't > need to write the parser (of course this argument doesn't hold if you're > Steve Ball :-) Ah, but parsers are easy... interpreters are the hard part. |
From: ski <sk...@eD...> - 2001-10-26 11:52:51
|
> And dont get me started on the raft of applications and/or application > instances that have expensive database backends (purchase cost / system > resource or admin labour wise) when all they need is a decent filesystem > and structured content .... peter, if a small amount of time could be invested, and you think it of any value, please "do start" on a simple example of where you have used XML for an application. help me [and others?] understand its "calling" so to speak. my reseach has indicated that it can have value, but not in Sunil's scenario [and yes, i agree not enough info was given]. thanks -ski |