ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krzysztof KucybaƂa <kkucyb...@echo.fr>
Subject Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype
Date Thu, 30 Aug 2007 16:08:18 GMT
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


Mime
View raw message