-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scott Penrose schrieb: | Hey Tom | | I got TomKit going today |
Great. Really great. | http://new.linux.dd.com.au/early/index.xml | | Just starting to work through modules and what is required and how then | to help contribute to what else needs migrating to the new version and | what works as is. | | BTW. Did find one bug that I can't figure out - if I use a file with an | ENTITY of another file, which works running "xsltproc" and from AxKit | 1, it fails with: | | This page contains the following errors: | error on line 1 at column 1: Extra content at the end of the document | Below is a rendering of the page up to the first error. | | Page looks like this: | | <?xml version="1.0" encoding="UTF-8"?> | <?xml-stylesheet type="text/xsl" href="passthru.xsl"?> | | <!DOCTYPE any [ | <!ENTITY theindex SYSTEM "simple.xml"> | ]> | | <html> | <head> | <title>Simple CSS</title> | </head> | &theindex; | </html> | | simple.xml is this | | <body> | <h1>What ever</h1> | </body> | | And of course the passthru.xsl | | <?xml version="1.0" encoding="UTF-8"?> | | <xsl:stylesheet | version="1.0" | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | > | | <xsl:template match="@*|node()"> | <xsl:copy> | <xsl:apply-templates select="@*|node()"/> | </xsl:copy> | </xsl:template> | | </xsl:stylesheet> | | | | In the error logs is the following | | [Thu Jun 23 09:38:16 2005] [error] Matched callback: simple.xml | [Thu Jun 23 09:38:16 2005] [error] [client 150.101.164.218] :12: error: | Failure to process entity theindex\n&theindex;\n ^\n: 12: | parser error : Entity 'theindex' not defined\n&theindex; \n ^\n | at /usr/local/share/perl/5.8.4/Apache2/TomKit/ TomKitEngine.pm line 97\n | | note that it did find the "Matched callback" but then failed to put it in. | I'll take a look at it. Thanks for the information. | | Scott -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCuXFokVPeOFLgZFIRAgNVAJ9zbxttj51gPPJXhZbsSq/cre+AjACeNRB8 bDM0tYZn/PQJS3ceVHY2GvU= =4Om/ -----END PGP SIGNATURE-----