Closed smitjain87 closed 9 years ago
Hi Smit,
I just downloaded sample from the web and executed ant, its working fine.
Error on line 70?..ant xml is not having line 70, could you please validate once your not missing anything.!!!
my testing log :
C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master>ant Buildfile: C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\build.xml
clean:
compile-test: [mkdir] Created dir: C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\classes [javac] Compiling 4 source files to C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\classes
runTestNG: [testng] [TestNG] Running: [testng] C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\testng.xml [testng] [testng] [testng] =============================================== [testng] Simple Reporter Suite [testng] Total tests run: 15, Failures: 4, Skips: 7 [testng] =============================================== [testng] [testng] pdf report file path :E:\rivetsys\automation\pdfngreport\pdfng-report-22-Jun-2015-01-07-31-PM.pdf [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #1. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #2. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #3. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #4. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #5. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #6. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #7. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #8. [testng] The tests failed.
BUILD SUCCESSFUL Total time: 4 seconds
On Mon, Jun 22, 2015 at 1:01 PM, smitjain87 notifications@github.com wrote:
Hi I am running my Test Case through Ant build.xml
I am getting given issue:
[testng] Error on line 70 of : [testng] Cannot find a matching 2-argument function named { http://xml.apache.org/xslt/java}format() [testng] ; SystemID: ; Line#: 70; Column#: -1 [testng] net.sf.saxon.trans.DynamicError: Cannot find a matching 2-argument function named {http://xml.apache.org/xslt/java}format() [testng] at net.sf.saxon.expr.ErrorExpression.evaluateItem(ErrorExpression.java:53) [testng] at net.sf.saxon.expr.ErrorExpression.iterate(ErrorExpression.java:66) [testng] at net.sf.saxon.expr.Atomizer.iterate(Atomizer.java:99) [testng] at net.sf.saxon.expr.FirstItemExpression.evaluateItem(FirstItemExpression.java:81)
Please find given my build.xml
``` ``` Please help
I am defining pdfreport listeners in my TestNG.xml file
Thanks & Regards Smit Jain 9663310652
— Reply to this email directly or view it on GitHub https://github.com/uttesh/pdfngreport/issues/3.
I'm online on https://gitter.im/uttesh/pdfngreport, you can ping me for quick support on any issues
On Mon, Jun 22, 2015 at 1:09 PM, uttesh kumar uttesh@gmail.com wrote:
Hi Smit,
I just downloaded sample from the web and executed ant, its working fine.
Error on line 70?..ant xml is not having line 70, check one are u missing anything.
my testing log :
C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master>ant Buildfile: C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\build.xml
clean:
compile-test: [mkdir] Created dir: C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\classes [javac] Compiling 4 source files to C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\classes
runTestNG: [testng] [TestNG] Running: [testng] C:\Users\uttesh\Downloads\pdfngreportdemo-master (1)\pdfngreportdemo-master\testng.xml [testng] [testng] [testng] =============================================== [testng] Simple Reporter Suite [testng] Total tests run: 15, Failures: 4, Skips: 7 [testng] =============================================== [testng] [testng] pdf report file path :E:\rivetsys\automation\pdfngreport\pdfng-report-22-Jun-2015-01-07-31-PM.pdf [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #1. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #2. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #3. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #4. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #5. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #6. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #7. [testng] Jun 22, 2015 1:07:33 PM org.apache.fop.events.LoggingEventListener processEvent [testng] INFO: Rendered page #8. [testng] The tests failed.
BUILD SUCCESSFUL Total time: 4 seconds
On Mon, Jun 22, 2015 at 1:01 PM, smitjain87 notifications@github.com wrote:
Hi I am running my Test Case through Ant build.xml
I am getting given issue:
[testng] Error on line 70 of : [testng] Cannot find a matching 2-argument function named { http://xml.apache.org/xslt/java}format() [testng] ; SystemID: ; Line#: 70; Column#: -1 [testng] net.sf.saxon.trans.DynamicError: Cannot find a matching 2-argument function named {http://xml.apache.org/xslt/java}format() [testng] at net.sf.saxon.expr.ErrorExpression.evaluateItem(ErrorExpression.java:53) [testng] at net.sf.saxon.expr.ErrorExpression.iterate(ErrorExpression.java:66) [testng] at net.sf.saxon.expr.Atomizer.iterate(Atomizer.java:99) [testng] at net.sf.saxon.expr.FirstItemExpression.evaluateItem(FirstItemExpression.java:81)
Please find given my build.xml
``` ``` Please help
I am defining pdfreport listeners in my TestNG.xml file
Thanks & Regards Smit Jain 9663310652
— Reply to this email directly or view it on GitHub https://github.com/uttesh/pdfngreport/issues/3.
pdfngreport 2.0.5 RELEASED and new features are.
Hi I am running my Test Case through Ant build.xml
I am getting given issue:
[testng] Error on line 70 of : [testng] Cannot find a matching 2-argument function named {http://xml.apache.org/xslt/java}format() [testng] ; SystemID: ; Line#: 70; Column#: -1 [testng] net.sf.saxon.trans.DynamicError: Cannot find a matching 2-argument function named {http://xml.apache.org/xslt/java}format() [testng] at net.sf.saxon.expr.ErrorExpression.evaluateItem(ErrorExpression.java:53) [testng] at net.sf.saxon.expr.ErrorExpression.iterate(ErrorExpression.java:66) [testng] at net.sf.saxon.expr.Atomizer.iterate(Atomizer.java:99) [testng] at net.sf.saxon.expr.FirstItemExpression.evaluateItem(FirstItemExpression.java:81)
Please find given my build.xml
Please help
I am defining pdfreport listeners in my TestNG.xml file
Thanks & Regards Smit Jain 9663310652