From: Randy J. <rj...@ak...> - 2000-12-10 19:01:16
|
Hi Steve, Thanks for your prompt reply! I downloaded TclXML-2.0 and it worked much better for me (in this application) than did TclXML-1.2. There were still problems (different ones which may have been related to my script), but I was able to work around them by using the "continue" Callback Return Code to ignore the element which was giving me trouble. Thanks Again, Randy Jones > -----Original Message----- > From: Steve Ball [mailto:Ste...@zv...] > Sent: Friday, December 08, 2000 5:49 PM > To: rj...@ak... > Cc: tcl...@li... > Subject: Re: [Tclxml-users] Problem with CharacterData > > > Randy Jones wrote: > > I'm using TclXML-1.2 to parse a XML file which among other things > > contains some C source code generated from a user interface > > specification tool. Character data in the C source code appears to > > have been properly processed so that C special characters do not > > collide with XML special characters (e.g. "&" is converted > to "amp"). > > This XML file is parsed cleanly by TclXML _without_ the C > code in it. > > With the C code in it, it can be parsed cleanly by XMLSpy editor. > > There is a TclXML "Highlight.tcl" example I pulled off the > web, it has > > the same problem with the XML file in question that my script does. > [...snip...] > > I'd suggest grabbing a copy of TclXML v2.0, preferably via NetCVS > from the SourceForge repository. V2.0 has various fixes for handling > entities (pre-defined and otherwise). > > It is not surprising that 'highlight.tcl' encounters the same problem, > since it is using the same underlying parser. > > If you have further problems, then please let me know. > > Cheers, > Steve Ball > > -- > Steve Ball | waX Me Lyrical XML Editor | Training > & Seminars > Zveno Pty Ltd | Web Tcl Complete | XML XSL > 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 > _______________________________________________ > Tclxml-users mailing list > Tcl...@li... > http://lists.sourceforge.net/mailman/listinfo/tclxml-users > |