title: Getting an error when running ANT command on build.xml
body: <p>Testng by itself works and I can get results generating.  I'm trying to use XSLT reports to make things prettier but I'm not having any luck.  Here is how eclipse is setup:  <a href="http://i.imgur.com/A6XRbKt.jpg" rel="nofollow">http://i.imgur.com/A6XRbKt.jpg</a></p>
  
  <p><strong>BUILD.XML FILE:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="iso-8859-1"?&gt;
  &lt;!DOCTYPE project [
  ]&gt;
  
  &lt;project name="TestNG" default="usage" basedir="."&gt;  
  
  &lt;!-- ========== Initialize Properties =================================== --&gt;
  &lt;property environment="env"/&gt;
  &lt;property name="ws.home" value="${basedir}"/&gt;
  &lt;property name="ws.jars" value="E:\Selenium Main\TestNG\lib"/&gt;
  &lt;property name="test.dest" value="${ws.home}/build"/&gt;
  &lt;property name="test.src" value="${ws.home}/src"/&gt;
        &lt;property name="ng.result" value="test-output"/&gt;
  
  &lt;!--target name="start-selenium-server"&gt;
      &lt;java jar="${ws.home}/lib/selenium-server.jar"/&gt;
  &lt;/target--&gt;
  
  &lt;target name="setClassPath" unless="test.classpath"&gt;
      &lt;path id="classpath_jars"&gt;
          &lt;fileset dir="${ws.jars}" includes="*.jar"/&gt;
      &lt;/path&gt;
      &lt;pathconvert pathsep=":" 
          property="test.classpath" 
          refid="classpath_jars"/&gt;
  &lt;/target&gt;
  
  &lt;target name="init" depends="setClassPath"&gt;
      &lt;tstamp&gt;
          &lt;format property="start.time" pattern="MM/dd/yyyy hh:mm aa" /&gt;
      &lt;/tstamp&gt;
      &lt;condition property="ANT" 
          value="${env.ANT_HOME}/bin/ant.bat" 
          else="${env.ANT_HOME}/bin/ant"&gt;
          &lt;os family="windows" /&gt;
      &lt;/condition&gt;
      &lt;taskdef name="testng" classpath="${test.classpath}"
             classname="org.testng.TestNGAntTask" /&gt;
  
  &lt;/target&gt;
  
  &lt;!-- all --&gt;
  &lt;target name="all"&gt;
  &lt;/target&gt;
  
  &lt;!-- clean --&gt;
  &lt;target name="clean"&gt;
      &lt;delete dir="${test.dest}"/&gt;
  &lt;/target&gt;
  
  &lt;!-- compile --&gt;
  &lt;target name="compile" depends="init, clean" &gt; 
                 &lt;delete includeemptydirs="true" quiet="true"&gt;
          &lt;fileset dir="${test.dest}" includes="**/*"/&gt;
                 &lt;/delete&gt;
      &lt;echo message="making directory..."/&gt;
                 &lt;mkdir dir="${test.dest}"/&gt;
      &lt;echo message="classpath------: ${test.classpath}"/&gt;
      &lt;echo message="compiling..."/&gt;
      &lt;javac 
          debug="true" 
          destdir="${test.dest}" 
          srcdir="${test.src}" 
          target="1.5" 
          classpath="${test.classpath}"
      &gt;
      &lt;/javac&gt;
    &lt;/target&gt;
  
  &lt;!-- build --&gt;
  &lt;target name="build" depends="init"&gt;
  &lt;/target&gt;
  
  &lt;!-- run --&gt;
  &lt;target name="run" depends="compile"&gt;
  &lt;testng classpath="${test.classpath}:${test.dest}" suitename="sivaprasad"&gt; 
          &lt;xmlfileset dir="${ws.home}" includes="testng.xml"/&gt;
      &lt;/testng&gt;
      &lt;!--
      &lt;testng classpath="${test.classpath}:${test.dest}" groups="fast"&gt;
          &lt;classfileset dir="${test.dest}" includes="example1/*.class"/&gt;
      &lt;/testng&gt;
      --&gt;
  &lt;/target&gt;
  
  &lt;target name="usage"&gt;
      &lt;echo&gt;
          ant run will execute the test
      &lt;/echo&gt;
  &lt;/target&gt;
  
        &lt;path id="test.c"&gt;
                &lt;fileset dir="${ws.jars}" includes="*.jar"/&gt;
        &lt;/path&gt;
  
          &lt;target name="makexsltreports"&gt;
                &lt;mkdir dir="${ws.home}/XSLT_Reports/output"/&gt;
  
     &lt;xslt in="${ng.result}/testng-results.xml" style="src/xslt/testng-results.xsl"
                     out="${ws.home}/XSLT_Reports/output/index.html"                  classpathref="test.c" processor="SaxonLiaison"&gt;
                    &lt;param name="testNgXslt.outputDir"  expression="${ws.home}/XSLT_Reports/output/"/&gt;
     &lt;param name="testNgXslt.showRuntimeTotals" expression="true"/&gt;
                &lt;/xslt&gt;
            &lt;/target&gt;
  
  &lt;!-- ****************** targets not used ****************** --&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>ERROR MESSAGE:</strong>
  E:\Selenium Main\TestNG>ant makexsltreports
  Buildfile: E:\Selenium Main\TestNG\build.xml</p>
  
  <p>makexsltreports:
       [xslt] Processing E:\Selenium Main\TestNG\test-output\testng-results.xml to E:\Selenium Main\TestNG\XSLT_Reports\output\index.html
       [xslt] Loading stylesheet E:\Selenium Main\TestNG\src\xslt\testng-results.xsl
       [xslt] E:\Selenium Main\TestNG\src\xslt\testng-results.xsl:34:71: Fatal Error! Error reported by XML parser Cause: org.xml.sax.SAXParseException; systemId: file:/E:/Selenium%20Main/TestNG/src/xslt/testng-results.xsl; lineNumber: 34; columnNumber
  : 71; Attribute name "data-pjax-transient" associated with an element type "meta" must be followed by the ' = ' character.
       [xslt] : Fatal Error! org.xml.sax.SAXParseException; systemId: file:/E:/Selenium%20Main/TestNG/src/xslt/testng-results.xsl; lineNumber: 34; columnNumber: 71; Attribute name "data-pjax-transient" associated with an element type "meta" must be fol
  lowed by the ' = ' character. Cause: org.xml.sax.SAXParseException; systemId: file:/E:/Selenium%20Main/TestNG/src/xslt/testng-results.xsl; lineNumber: 34; columnNumber: 71; Attribute name "data-pjax-transient" associated with an element type "meta" m
  ust be followed by the ' = ' character.
       [xslt] Failed to process E:\Selenium Main\TestNG\test-output\testng-results.xml</p>
  
  <p>BUILD FAILED
  E:\Selenium Main\TestNG\build.xml:100: Fatal error during transformation using E:\Selenium Main\TestNG\src\xslt\testng-results.xsl: org.xml.sax.SAXParseException; systemId: file:/E:/Selenium%20Main/TestNG/src/xslt/testng-results.xsl; lineNumber: 34;
  columnNumber: 71; Attribute name "data-pjax-transient" associated with an element type "meta" must be followed by the ' = ' character.</p>
  
  <p>Total time: 1 second</p>
  
  <p>E:\Selenium Main\TestNG></p>
  
  <p>Thank you</p>