SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 60469: A deployment-generated XML file in SAS® Visual Scenario Designer fails with an "XML schema validation failed" error for SAS® Event Stream Processing

DetailsHotfixAboutRate It

In SAS Visual Scenario Designer, you can create a window using a data source name that contains special characters (space, brackets, and so on). You can create a deployment that is based on the window in SAS Visual Scenario Designer. However, the deployment-generated XML file for SAS Event Stream Processing is invalid because SAS Event Stream Processing does not permit special characters. When special characters are included, XML fails in SAS Event Stream Processing with the following error:

failed to create Esp: XML schema validation failed
validation error: Element window-source failed to validate content

There are no errors or warnings to indicate a problem in SAS Visual Scenario Designer.

To avoid the problem, do not use special characters in the data source name.  Use only letters, numbers, and underscores.

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

 

Example:

  1. Create a window in SAS Visual Scenario Designer with a data source that contains a space: "CLAIMS_VEHICLES ABC".
  2. Generate a deployment. The generated XML file for SAS Event Stream Processing is invalid due to the space in the name of window-source: 
   window-source ... name="SOURCE_CLAIMS_VEHICLES ABC"

After the hot fix is applied, the space is replaced by an underscore in the window-source name of the generated XML file for SAS Event Stream Processing:

  window-source ... name="SOURCE_CLAIMS_VEHICLES_ABC"


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Visual Scenario DesignerLinux for x646.3_M1
SAS SystemSAS Event Stream Processing EngineMicrosoft® Windows® for x643.2
Linux for x643.2
* 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.