Problem Note 64547: The XML Mapper processes whitespace characters incorrectly when generating an XMLMap file for an imported XML document
The SAS® 9.4 version of the SAS XML Mapper might add incorrect information for a column definition in the XMLMap file. This problem occurs when you are using either the AUTOMAP feature or the AUTOMAP= option.
The cause of this issue is that an element in the XML file contains whitespace characters.
The data type for the column when using the AUTOMAP= option might be autodetected with a data type of string, regardless of the value, when the element also contains any whitespace characters. For example, the element WFSDate, which contains date information as well as whitespace characters, appears as follows in the XMLMap file:
<COLUMN name="WFSDate">
<PATH syntax="XPath">/Feed/WFSDate</PATH>
<TYPE>character</TYPE>
<DATATYPE>string</DATATYPE>
<LENGTH>11</LENGTH>
</COLUMN>
For the <TYPE> definition, the expected type should be numeric, instead of character. For the <DATATYPE> definition, the expected type should be date, not string.
As a workaround, you can manually modify the column definition as needed within the XMLMap file.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Note: This issue is fixed in Base SAS®. To find your Base SAS release, view the deployment registry as documented in SAS KB0036131.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
z/OS 64-bit | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft® Windows® for x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8 Enterprise x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8 Pro x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 8.1 Pro x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows 10 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows Server 2008 R2 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.4 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Datacenter | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows Server 2012 R2 Std | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Microsoft Windows Server 2012 Std | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Windows 7 Enterprise x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Windows 7 Professional x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
64-bit Enabled AIX | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
64-bit Enabled Solaris | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
HP-UX IPF | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Linux for x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
Solaris for x64 | 9.4 | 9.4_M6 | 9.4 TS1M0 | 9.4 TS1M6 |
*
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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2019-11-06 14:35:49 |
Date Created: | 2019-08-01 09:17:21 |