[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSLT Windows v's Unix

  • From: JackBrody <flannanbrody@h...>
  • To: xml-dev@l...
  • Date: Fri, 15 Dec 2006 08:28:48 -0800 (PST)

xslt windows

Hi
I having a problem processing XSLT on unix at the moment, it works fine on
windows but when I try process the same file on Unix I keep getting the same
error. I'm wondering does anyone know is there a difference between the two
operating systems that maay cause this problem....if so have you any
solutions 
Most current operating systems have an XSLT processor installed. For
example, Windows XP comes with the MSXML3 library, which includes an XSLT
processor. Earlier versions may be upgraded and there are many alternatives,
see the External Links section.
Seems like JMeter is generating some dodgy XML, but not sure why that
wouldn't fail on Windows also
JMeter uses an XSLT file, jmeter-detail-report.xsl to transform the JMeter
JTL output into a nicely formatted html table of results.
The version of the file which I run with ant-jmeter (as a task in build.xml)
runs well on Windows but fails on Unix with the following exception:
[xslt] Processing /export/home/sfuser/sola/JMeter/JMeterResults.jtl to
/export/home/sfuser/sola/JMeter/JMeterResults_detail.html
[xslt] Loading stylesheet
/export/home/sfuser/sola/JMeter/jmeter-results-detail-report.xsl
[xslt] : Error! Content is not allowed in prolog.
[xslt] : Error!
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Content is
not allowed in prolog.
[xslt] Failed to process /export/home/sfuser/sola/JMeter/JMeterResults.jtl

BUILD FAILED
/export/home/sfuser/sfv4-client/staging/sfv4client_jmeter.xml:132:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException:
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Content is
not allowed in prolog.

I tried removing spaces, changed the xml prolog in the xsl file, etc but it
still doesn’t work.

Could you suggest what I can do to fix the problem?

cheers 
flannan 

-- 
View this message in context: http://www.nabble.com/XSLT-Windows--v%27s-Unix-tf2828024.html#a7894631
Sent from the Xml.org Dev mailing list archive at Nabble.com.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.