Problem Note 48792: SAS® Web Report Studio distributions might not be received and the log might contain "Unable to parse XML document"
When distributing a report in SAS Web Report Studio, if the Sender display name includes an &, the distribution fails and the SAS Web Report Studio log contains an error that is similar to this one:
ERROR [] com.sas.report.output.management - An error occurred: Unable to parse XML document. The entity name must immediately follow the '&' in the entity reference. java.lang.IllegalArgumentException: Unable to parse XML document. The entity name must immediately follow the '&' in the entity reference. at com.sas.services.util.XMLUtil.convertInputSourceToDocument(XMLUtil.java:484) at com.sas.services.util.XMLUtil.convertStringToDocument(XMLUtil.java:394) at com.sas.report.output.management.publishing.smtp.SmtpPublisher.publish(SmtpPublisher.java:37) at com.sas.report.output.management.publishing.PublishingManager.smtpPublish(PublishingManager.java:102) at com.sas.report.output.management.publishing.PublishingManager.publish(PublishingManager.java:67) at com.sas.report.output.management.bursting.BurstController.publish(BurstController.java:369) at com.sas.report.output.management.bursting.BurstController.generateAndPublishBurstReports(BurstController.java:221) at com.sas.report.output.management.bursting.BurstDriver.generateOutput(BurstDriver.java:100) at com.sas.report.output.management.OutputGenerator.generateOutput(OutputGenerator.java:179) at com.sas.report.output.management.OutputGenerator.run(OutputGenerator.java:119) at com.sas.report.output.management.OutputGenerator.run(OutputGenerator.java:222) at com.sas.report.output.management.OutputGenerator.main(OutputGenerator.java:244)
As a workaround, replace the & with the word "and."
Operating System and Release Information
SAS System | SAS Web Report Studio | Microsoft® Windows® for x64 | 4.3 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 4.3 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 4.3 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Standard Edition | 4.3 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 for x64 | 4.3 | | 9.2 TS2M3 | |
Microsoft Windows Server 2008 | 4.3 | | 9.2 TS2M3 | |
Microsoft Windows Server 2008 for x64 | 4.3 | | 9.2 TS2M3 | |
Microsoft Windows XP Professional | 4.3 | | 9.2 TS2M3 | |
Windows 7 Enterprise 32 bit | 4.3 | | 9.2 TS2M3 | |
Windows 7 Enterprise x64 | 4.3 | | 9.2 TS2M3 | |
Windows 7 Home Premium 32 bit | 4.3 | | 9.2 TS2M3 | |
Windows 7 Home Premium x64 | 4.3 | | 9.2 TS2M3 | |
Windows 7 Professional 32 bit | 4.3 | | 9.2 TS2M3 | |
Windows 7 Professional x64 | 4.3 | | 9.2 TS2M3 | |
Windows 7 Ultimate 32 bit | 4.3 | | 9.2 TS2M3 | |
Windows 7 Ultimate x64 | 4.3 | | 9.2 TS2M3 | |
Windows Vista | 4.3 | | 9.2 TS2M3 | |
Windows Vista for x64 | 4.3 | | 9.2 TS2M3 | |
64-bit Enabled AIX | 4.3 | | 9.2 TS2M3 | |
64-bit Enabled Solaris | 4.3 | | 9.2 TS2M3 | |
HP-UX IPF | 4.3 | | 9.2 TS2M3 | |
Linux for x64 | 4.3 | | 9.2 TS2M3 | |
Solaris for x64 | 4.3 | | 9.2 TS2M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When distributing a report in SAS Web Report Studio, if the sender display name includes an &, then the distribution fails. The log contains the error "Unable to parse XML document."
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-12-21 11:34:06 |
Date Created: | 2012-12-20 16:20:30 |