You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Krzysztof KucybaƂa <kk...@echo.fr> on 2007/08/30 18:08:18 UTC

Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype

Hi,

I encountered this problem when trying to look at the log produced by 
ant during a continuous build (cc):

Error loading stylesheet: An XSLT stylesheet does not have an XML 
mimetype: 
http://myserver.net:8081/dashboard/build/download/artifacts/SPP_CPP_1_0/log20070830171818.xml/ant/log.xsl

I imagine this to be the result of the first two lines of each log file 
produced by ant, which look like this:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="log.xsl"?>

Does anyone know how to resolve this issue, so that I can see the log in 
the browser window, even as plain xml - this would do perfectly. This 
log is a product of a cruise control build, so I don't want to manually 
remove the second line each time, or do any other silly thing like this.

Best regards,
Krzysztof

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org