Using Ampersand (&) in Space names breaks PDF export

XMLWordPrintable

      We have a space with the name of "Tools & Techniques". All the pages in this space fail export with the following stacktrace:

      [Fatal Error] :35:24: The entity name must immediately follow the '&' in the entity reference.
      11-Jun-2004 13:17:40 com.atlassian.confluence.importexport.impl.PdfExporter generatePDF
      SEVERE: Error while generating PDF!
      org.apache.fop.apps.FOPException: The entity name must immediately follow the '&' in the entity reference.
      at org.apache.fop.apps.Driver.render(Driver.java:503)
      at org.apache.fop.apps.Driver.run(Driver.java:565)
      at com.atlassian.confluence.importexport.impl.PdfExporter.generatePDF(PdfExporter.java:159)
      at com.atlassian.confluence.importexport.impl.PdfExporter.doExportEntity(PdfExporter.java:140)
      at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.exportPage(AbstractRendererExporterImpl.java:119)
      at com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl.doExport(AbstractRendererExporterImpl.java:85)
      at com.atlassian.confluence.importexport.impl.PdfExporter.doExport(PdfExporter.java:82)
      at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:84)
      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:59)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:118)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:191)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:148)
      at $Proxy25.exportAs(Unknown Source)
      ...

              Assignee:
              Unassigned
              Reporter:
              Benoit d'Oncieu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: