From: Steve B. <Ste...@zv...> - 2000-12-08 22:43:07
|
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 |