SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 51076: The GetPurchaseOrderExport method returns invalid XML if data contains double quotation marks (")

DetailsHotfixAboutRate It

The XML hat is returned by the SAS® Pack Optimization GetPurchaseOrderExport SOAP request might be invalid if one of the attributes contains double quotation marks (").

This issue occurs because all XML values are enclosed in double quotation marks and any double quotation marks included in attributes are not replaced with " as defined in the XML specifications.

The workaround for this issue is to modify the exported XML to replace any embedded double quotation marks (") with &quote;.

Here is an example of the XML:

<delivery id="104213" quantity="112" planned="112.0" date="2013-12-26" tag="04 2.5" SOLID SHORT" >

It should change to the following:

<delivery id="104213" quantity="112" planned="112.0" date="2013-12-26" tag="04 2.5&quot; SOLID SHORT" >

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Pack OptimizationMicrosoft® Windows® for x643.2_M23.2_M39.3 TS1M29.3 TS1M2
64-bit Enabled AIX3.2_M23.2_M39.3 TS1M29.3 TS1M2
Linux for x643.2_M23.2_M39.3 TS1M29.3 TS1M2
* 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.