I would have to agree that it seems like it is trying to parse the
document a second time which is causing the error. The "<meta
http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">" is
being put in by mod-xslt not me...
Below is the error log (nothing before the error that could be helpful):
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
/var/www/html/xml/winetest.xml:5:
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
error:
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
Opening and ending tag mismatch: meta line 3 and head
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
</head>
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
^
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
/var/www/html/xml/winetest.xml:7:
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
error:
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
Opening and ending tag mismatch: head line 2 and html
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
</html>
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
^
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
/var/www/html/xml/winetest.xml:14:
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
error:
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
Premature end of data in tag html line 1
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt: ^
[Mon Aug 16 09:24:09 2004] [error] [client 129.99.134.17] mod_xslt:
fatal - failed loading file: /var/www/html/xml/winetest.xml
uhm ... looks strange to me... the parser used by the command line
tool and by the apache code are exactly the same (same library :).
[Thu Aug 12 15:18:10 2004] [error] [client 129.99.134.] mod_xslt:
/var/www/html/xml/winetest.xml:5:
[Thu Aug 12 15:18:10 2004] [error] [client 129.99.134.] mod_xslt:
error:
[Thu Aug 12 15:18:10 2004] [error] [client 129.99.134.] mod_xslt:
Opening and ending tag mismatch: meta line 3 and head
Uhm... it seems like the code is parsed twice.. I mean, the first
time it is parsed and the html is generated, than it is parsed again
and the error is outputted, since the <meta tag is not valid .xml.
I just tryed your page on my installation, corrected the problem
highlited earlyer in other messages, and it worked for me (TM).
Is that possible it is an apache2 error page or something alike?
Have you changed them? Just guessint, but could that be some problem
like a ``403 forbidden'' page being parsed by mod-xslt?
Could you paste your apache2 configuration? Does your access.log
says anything before the 500 error page? Thanks :)
Cheers,
Carlo
--
GPG Fingerprint: 2383 7B14 4D08 53A4 2C1A CA29 9E98 5431 1A68 6975
-------------
The most important early product on the way to developing a good
product
is an imperfect version.