javax.xml.transform.TransformerException: org.xml.sax.SAXException: invalid EntityValue

Atlassian JIRA | Susan Hayes | 1 decade ago
  1. 0

    The following error is received when attempting the Export Page as PDF: Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! Referer URL: http://appdevas2:8080/confluence/display/qa/Calculation+Types Build Information: Uptime: 7 days, 22 hours, 42 minutes, 15 seconds Version: 1.4.1 Build Number: 212 Server Information: Application Server: Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) Servlet Version: 2.3 Database Dialect: net.sf.hibernate.dialect.OracleDialect Memory Information: Total Memory: 658 MB Free Memory: 409 MB Used Memory: 249 MB System Information: System Date: Wednesday, 20 Jul 2005 System Time: 09:15:23 System Favourite Colour: Lime Java Version: 1.4.2_06 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_06-b03 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: administrator User Timezone: America/Los_Angeles Operating System: Windows 2003 5.2 OS Architecture: x86 Request Information: URL: http://appdevas2:8080/confluence/500page.jsp - Scheme: http - Server: appdevas2 - Port: 8080 - URI: /confluence/500page.jsp - - Context Path: /confluence - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: pageId=10353&type=TYPE_PDF Attributes: - javax.servlet.error.exception : com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - javax.servlet.error.message : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /confluence/pages/doexportpage.action - javax.servlet.error.status_code : 500 - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@179ea59 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /pages/doexportpage.action?pageId=10353&type=TYPE_PDF - javax.servlet.jsp.jspException : com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - type = TYPE_PDF - pageId = 10353 Logging: 10 log statements generated by this request: [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\wink.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\sad.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\star_yellow.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\smile.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\tongue.gif already exists [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput Throwable: javax.xml.transform.TransformerException: org.xml.sax.SAXException: invalid EntityValue at com.icl.saxon.om.Builder.build(Builder.java:273) at com.icl.saxon.Controller.transform(Controller.java:936) at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:178) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] WIKI Style: h3.(!)*{color:red}This page is currently under construction!{color}*(!) h3.+Calculation Types+ The Sabrix Solution currently offers the three following Calculation Types: * *[Forward|#Forward]* (where the Gross Amt is passed in) * *[Reverse from Tax|#Reverse from Tax]* (where Tax Amt is passed in) * *[Reverse from Total|#Reverse from Total]* (where a combined Gross Amt and Tax Amt are passed in as a Total amount). {anchor: Forward} h4.Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. h5._Calculation Steps:_ # Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 # Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Forward.doc] - [xmlInput|^Forward xmlInput.txt] {anchor: Reverse from Tax} h4.Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. *Note:* Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. h5._Calculation Steps:_ # Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 # Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Reverse from Tax.doc] - [xmlInput|^Rev from Tax xmlInput.txt] {anchor: Reverse from Total} h4.Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. h5._Calculation Steps:_ # Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 # Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 # Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 # Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 # Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Reverse from Total.doc] - [xmlInput|^Rev from Total xmlInput.txt] [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] XHTML Style: This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] Error while generating XSL-FO for 'qa:Calculation Types'! Throwable: com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:201) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:252) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy26.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:108) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)

    Atlassian JIRA | 1 decade ago | Susan Hayes
    javax.xml.transform.TransformerException: org.xml.sax.SAXException: invalid EntityValue
  2. 0

    The following error is received when attempting the Export Page as PDF: Cause: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! Stack Trace: [hide] org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! Referer URL: http://appdevas2:8080/confluence/display/qa/Calculation+Types Build Information: Uptime: 7 days, 22 hours, 42 minutes, 15 seconds Version: 1.4.1 Build Number: 212 Server Information: Application Server: Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) Servlet Version: 2.3 Database Dialect: net.sf.hibernate.dialect.OracleDialect Memory Information: Total Memory: 658 MB Free Memory: 409 MB Used Memory: 249 MB System Information: System Date: Wednesday, 20 Jul 2005 System Time: 09:15:23 System Favourite Colour: Lime Java Version: 1.4.2_06 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.4.2_06-b03 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: administrator User Timezone: America/Los_Angeles Operating System: Windows 2003 5.2 OS Architecture: x86 Request Information: URL: http://appdevas2:8080/confluence/500page.jsp - Scheme: http - Server: appdevas2 - Port: 8080 - URI: /confluence/500page.jsp - - Context Path: /confluence - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: pageId=10353&type=TYPE_PDF Attributes: - javax.servlet.error.exception : com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - javax.servlet.error.message : org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /confluence/pages/doexportpage.action - javax.servlet.error.status_code : 500 - os_authstatus : null - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@179ea59 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /pages/doexportpage.action?pageId=10353&type=TYPE_PDF - javax.servlet.jsp.jspException : com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - type = TYPE_PDF - pageId = 10353 Logging: 10 log statements generated by this request: [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\wink.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\sad.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\star_yellow.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\smile.gif already exists [WARN] Wed Jul 20 09:15:23 PDT 2005 [bucket.util.FileUtils] D:\atlassian\confluence\temp\export_07202005_091523\icons\emoticons\tongue.gif already exists [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput Throwable: javax.xml.transform.TransformerException: org.xml.sax.SAXException: invalid EntityValue at com.icl.saxon.om.Builder.build(Builder.java:273) at com.icl.saxon.Controller.transform(Controller.java:936) at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:178) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] WIKI Style: h3.(!)*{color:red}This page is currently under construction!{color}*(!) h3.+Calculation Types+ The Sabrix Solution currently offers the three following Calculation Types: * *[Forward|#Forward]* (where the Gross Amt is passed in) * *[Reverse from Tax|#Reverse from Tax]* (where Tax Amt is passed in) * *[Reverse from Total|#Reverse from Total]* (where a combined Gross Amt and Tax Amt are passed in as a Total amount). {anchor: Forward} h4.Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. h5._Calculation Steps:_ # Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 # Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Forward.doc] - [xmlInput|^Forward xmlInput.txt] {anchor: Reverse from Tax} h4.Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. *Note:* Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. h5._Calculation Steps:_ # Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 # Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Reverse from Tax.doc] - [xmlInput|^Rev from Tax xmlInput.txt] {anchor: Reverse from Total} h4.Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. h5._Calculation Steps:_ # Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 # Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 # Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 # Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 # Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) h5._Examples:_ - [Workbench Scenario and Tax Calculation Results|^Reverse from Total.doc] - [xmlInput|^Rev from Total xmlInput.txt] [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] XHTML Style: This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.atlassian.confluence.importexport.impl.WikiExporter] Error while generating XSL-FO for 'qa:Calculation Types'! Throwable: com.atlassian.confluence.renderer.WikiRenderException: Can not transform XHTML to XSL-FO due to an error! %HTMLlat1; --> ]> This page is currently under construction! Calculation Types The Sabrix Solution currently offers the three following Calculation Types: Forward (where the Gross Amt is passed in) Reverse from Tax (where Tax Amt is passed in) Reverse from Total (where a combined Gross Amt and Tax Amt are passed in as a Total amount). Forward: Gross Amt is passed in. The Tax Amt is arrived at by (1) passing in the Gross Amt and multiplying by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, to arrive at the Tax Amt. The Total is calculated as (2) the Tax Amt plus the Gross Amt. Calculation Steps: Gross Amt * Rate(s) = Tax Amt 10000.00 * 0.08 = 800.00 Tax Amt + Gross Amount = Total 800.00 + 10000.00 = 10800.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Tax Tax Amt is passed in. Total is arrived at by (1) dividing the Tax Amt by the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) adding the Total to the Tax Amt to arrive at the Total. Note: Gross Amt can be passed in with the Tax Amount, but may be overridden by the calculated Total. Calculation Steps: Tax Amt / Rate(s) = Sub-total 500.00 / 0.08 = 6250.00 Subtotal + Tax Amt = Total 6250.00 + 500.00 = 6750.00 Examples: Workbench Scenario and Tax Calculation Results xmlInput Reverse from Total A combinination of the Gross Amt and Tax Amt are passed in as the Total. The Gross Amt is arrived at (1) adding 100% to the applicable Rate(s), which are based on the Authority determined through the evaluation of other variables passed into the calculation, and (2) dividing the Total by the adjusted Rate(s). The Tax Amt is calculated by (3) multiplying the Gross Amt by original, non-adjusted Rates(s). The Gross Amt plus the Tax Amt will add up to the Total (4). The Eff Rate is arrived at by (5) dividing the Tax Amt by the Gross Amt. Calculation Steps: Rate(s) + 100% = Sub-total 0.08 + 1.00 = 1.08 Total / Sub-total = Gross Amt 20000.00 / 1.08 = 18518.52 Gross Amt * Rate = Tax Amt 18518.52 * 0.08 = 1481.48 Gross Amt + Tax Amt = Total 18518.52 + 1481.48 = 20000.00 Tax Amt / Gross Amt = Eff Rate 1481.48 / 18518.52 = 0.0799999136 (0.08) Examples: Workbench Scenario and Tax Calculation Results xmlInput at com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:201) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121) at com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71) at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) [ERROR] Wed Jul 20 09:15:23 PDT 2005 [com.opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action Throwable: com.atlassian.confluence.importexport.ImportExportException: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'exportWikiToXslFo' in class com.atlassian.confluence.importexport.impl.WikiExporter threw exception class com.atlassian.confluence.renderer.WikiRenderException : Error while generating XSL-FO for 'qa:Calculation Types'! at com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:252) at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144) at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110) at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:83) at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:113) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy26.exportAs(Unknown Source) at com.atlassian.confluence.importexport.actions.ExportPageAction.execute(ExportPageAction.java:108) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)

    Atlassian JIRA | 1 decade ago | Susan Hayes
    javax.xml.transform.TransformerException: org.xml.sax.SAXException: invalid EntityValue
  3. 0

    GitHub comment 46#47930070

    GitHub | 2 years ago | darkjune
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.agilejava.docbkx:docbkx-maven-plugin:2.0.14:generate-html (html) on project jetty-documentation: Failed to transform jetty.xml.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to debug XSL in Intellij? URI http://xml.apache.org/xslt/java does not identify an external Java class

    Stack Overflow | 8 months ago | John Doe
    javax.xml.transform.TransformerException: The URI http://xml.apache.org/xslt/java does not identify an external Java class
  6. 0

    Fun (well, not really..) with character encoding

    Coderanch | 9 years ago | Adam Schweitzer
    javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: bad continuation of multi-byte UTF-8 sequence (code: 0x3f)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.transform.TransformerException

      org.xml.sax.SAXException: invalid EntityValue

      at com.icl.saxon.om.Builder.build()
    2. com.icl.saxon
      Controller.transform
      1. com.icl.saxon.om.Builder.build(Builder.java:273)
      2. com.icl.saxon.Controller.transform(Controller.java:936)
      2 frames
    3. com.atlassian.confluence
      WikiExporter.exportWikiToXslFo
      1. com.atlassian.confluence.importexport.impl.WikiExporter.convertXHtmlToXslFo(WikiExporter.java:178)
      2. com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:121)
      3. com.atlassian.confluence.importexport.impl.WikiExporter.exportWikiToXslFo(WikiExporter.java:86)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    5. Apache Velocity
      Template.merge
      1. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
      2. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
      3. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
      4. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
      5. org.apache.velocity.Template.merge(Template.java:296)
      5 frames
    6. com.atlassian.confluence
      AbstractRendererExporterImpl.doExport
      1. com.atlassian.confluence.util.TemplateSupport.processTemplate(TemplateSupport.java:71)
      2. com.atlassian.confluence.importexport.impl.PdfExporter.generateXslFo(PdfExporter.java:248)
      3. com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:151)
      4. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:144)
      5. com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:110)
      5 frames