Hi, The CVS version of DocBookWiki is for sure an old one. You can get the latest version from SVN using a command like this:
bash$ svn checkout https://svn.sourceforge.net/svnroot/doc-book/books/trunk books Or maybe it is better to make a new release? But I don't have time right now to test it and to fix any things that need to be fixed. It is not good to make a release without testing it first, isn't it? Dashamir --- Yahya Mohammad <[EMAIL PROTECTED]> wrote: > Hi all, > I was getting an error when a --code block contained > xml. Apparently that text > wasn't being escaped. I added <!CDATA[[ and ]]> > inside the xml tags in > templates/docbook/edit/content/text_to_xml/class.Block.php > and now it works > fine. > I'm using the latest CVS sources. > > --- > ./templates/docbook/edit/content/text_to_xml/class.Block.php.old > 2006-09-12 17:49:22.000000000 +0400 > +++ > ./templates/docbook/edit/content/text_to_xml/class.Block.php > 2006-09-12 17:49:43.000000000 +0400 > @@ -98,9 +98,9 @@ > > if ($tag=='programlisting' or $tag=='screen' > or $tag=='literallayout') > { > - $xml = ("\n$indent<$tag>" > + $xml = ("\n$indent<$tag><![CDATA[" > . Tpl::to_xml() > - . "</$tag>\n"); > + . "]]></$tag>\n"); > } > else if ($tag=='figure' or $tag=='example') > { > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> _______________________________________________ > Doc-book-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/doc-book-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Doc-book-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/doc-book-users
