<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XML Map warning in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44833#M5932</link>
    <description>Honestly, I don't usually worry about those warnings unless the MAP doesn't work to read the data at all. For issues with XML Mapper, you might want to work with Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Fri, 22 Jan 2010 02:26:17 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-01-22T02:26:17Z</dc:date>
    <item>
      <title>XML Map warning</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44830#M5929</link>
      <description>I have a simple XML file:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;SINGLES label="Fortune"&gt;&lt;BR /&gt;
  &lt;SINGLE id="01"&gt;&lt;BR /&gt;
    &lt;ARTIST&gt;Nathaniel Mayer&lt;/ARTIST&gt;&lt;BR /&gt;
    &lt;TITLE&gt;Village of Love&lt;/TITLE&gt;&lt;BR /&gt;
  &lt;/SINGLE&gt;&lt;BR /&gt;
  &lt;SINGLE id="02"&gt;&lt;BR /&gt;
    &lt;ARTIST&gt;Noland Strong and the Diablos&lt;/ARTIST&gt;&lt;BR /&gt;
    &lt;TITLE&gt;Mind over Matter&lt;/TITLE&gt;&lt;BR /&gt;
  &lt;/SINGLE&gt;&lt;BR /&gt;
  &lt;SINGLE id="03"&gt;&lt;BR /&gt;
    &lt;ARTIST&gt;Andre Williams&lt;/ARTIST&gt;&lt;BR /&gt;
    &lt;TITLE&gt;Jail Beat&lt;/TITLE&gt;&lt;BR /&gt;
  &lt;/SINGLE&gt;&lt;BR /&gt;
&lt;/SINGLES&gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
I have created a simple XML map with the SAS XML Mapper 9.2:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;!-- ############################################################ --&gt;&lt;BR /&gt;
&lt;!-- 2010-01-21T17:10:00 --&gt;&lt;BR /&gt;
&lt;!-- SAS XML Libname Engine Map --&gt;&lt;BR /&gt;
&lt;!-- Generated by XML Mapper, 902000.3.6.20090116170000_v920 --&gt;&lt;BR /&gt;
&lt;!-- ############################################################ --&gt;&lt;BR /&gt;
&lt;!-- ###  Validation report                                   ### --&gt;&lt;BR /&gt;
&lt;!-- ############################################################ --&gt;&lt;BR /&gt;
&lt;!-- Column (label) in table (singles) has an XPath outside the scope of the table path. The contents of this column may not correspond to other row values and/or may be missing entirely. --&gt;&lt;BR /&gt;
&lt;!-- XMLMap validation completed successfully. --&gt;&lt;BR /&gt;
&lt;!-- ############################################################ --&gt;&lt;BR /&gt;
&lt;SXLEMAP name="singles" version="1.2"&gt;&lt;BR /&gt;
    &lt;!-- ############################################################ --&gt;&lt;BR /&gt;
&lt;BR /&gt;
    &lt;TABLE name="singles"&gt;&lt;BR /&gt;
        &lt;TABLE-PATH syntax="XPath"&gt;/singles/single&lt;/TABLE-PATH&gt;&lt;BR /&gt;
        &lt;COLUMN name="id"&gt;&lt;BR /&gt;
            &lt;PATH syntax="XPath"&gt;/singles/single/@id&lt;/PATH&gt;&lt;BR /&gt;
            &lt;TYPE&gt;numeric&lt;/TYPE&gt;&lt;BR /&gt;
            &lt;DATATYPE&gt;integer&lt;/DATATYPE&gt;&lt;BR /&gt;
        &lt;/COLUMN&gt;&lt;BR /&gt;
&lt;BR /&gt;
        &lt;COLUMN name="label" retain="YES"&gt;&lt;BR /&gt;
            &lt;PATH syntax="XPath"&gt;/singles/@label&lt;/PATH&gt;&lt;BR /&gt;
            &lt;TYPE&gt;character&lt;/TYPE&gt;&lt;BR /&gt;
            &lt;DATATYPE&gt;string&lt;/DATATYPE&gt;&lt;BR /&gt;
            &lt;LENGTH&gt;7&lt;/LENGTH&gt;&lt;BR /&gt;
        &lt;/COLUMN&gt;&lt;BR /&gt;
&lt;BR /&gt;
        &lt;COLUMN name="artist"&gt;&lt;BR /&gt;
            &lt;PATH syntax="XPath"&gt;/singles/single/artist&lt;/PATH&gt;&lt;BR /&gt;
            &lt;TYPE&gt;character&lt;/TYPE&gt;&lt;BR /&gt;
            &lt;DATATYPE&gt;string&lt;/DATATYPE&gt;&lt;BR /&gt;
            &lt;LENGTH&gt;29&lt;/LENGTH&gt;&lt;BR /&gt;
        &lt;/COLUMN&gt;&lt;BR /&gt;
&lt;BR /&gt;
        &lt;COLUMN name="title"&gt;&lt;BR /&gt;
            &lt;PATH syntax="XPath"&gt;/singles/single/title&lt;/PATH&gt;&lt;BR /&gt;
            &lt;TYPE&gt;character&lt;/TYPE&gt;&lt;BR /&gt;
            &lt;DATATYPE&gt;string&lt;/DATATYPE&gt;&lt;BR /&gt;
            &lt;LENGTH&gt;16&lt;/LENGTH&gt;&lt;BR /&gt;
        &lt;/COLUMN&gt;&lt;BR /&gt;
&lt;BR /&gt;
    &lt;/TABLE&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;/SXLEMAP&gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
This will give a simple table:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
id    label      artist                           title&lt;BR /&gt;
&lt;BR /&gt;
  1    Fortune    Nathaniel Mayer                  Village of Love &lt;BR /&gt;
  2    Fortune    Noland Strong and the Diablos    Mind over Matter&lt;BR /&gt;
  3    Fortune    Andre Williams                   Jail Beat       &lt;BR /&gt;
[/pre]&lt;BR /&gt;
It has the following warning message:&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Column (label) in table (singles) has an XPath outside the scope of the table path. The contents of this column may not correspond to other row values and/or may be missing entirely&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Why do I get this warning message ??</description>
      <pubDate>Thu, 21 Jan 2010 22:25:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44830#M5929</guid>
      <dc:creator>Lex_SAS</dc:creator>
      <dc:date>2010-01-21T22:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: XML Map warning</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44831#M5930</link>
      <description>Hi:&lt;BR /&gt;
  I saved your files as fortune.xml and fortune1.map and when I ran the code below, I did not get the same message. You might want to open a track with Tech Support on this. (Code in log below. My output was the same as yours.)&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
213  libname for1  xml 'c:\temp\fortune.xml' xmlmap='c:\temp\fortune1.map';&lt;BR /&gt;
NOTE: Libref FOR1 was successfully assigned as follows:&lt;BR /&gt;
      Engine:        XML&lt;BR /&gt;
      Physical Name: c:\temp\fortune.xml&lt;BR /&gt;
214&lt;BR /&gt;
215  proc contents data=for1._all_;&lt;BR /&gt;
216  run;&lt;BR /&gt;
                &lt;BR /&gt;
NOTE: PROCEDURE CONTENTS used (Total process time):&lt;BR /&gt;
      real time           0.06 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
                &lt;BR /&gt;
&lt;BR /&gt;
217&lt;BR /&gt;
218  proc print data=for1.singles label;&lt;BR /&gt;
219  run;&lt;BR /&gt;
             &lt;BR /&gt;
NOTE: There were 3 observations read from the data set FOR1.SINGLES.&lt;BR /&gt;
NOTE: PROCEDURE PRINT used (Total process time):&lt;BR /&gt;
      real time           0.06 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
&lt;BR /&gt;
                      &lt;BR /&gt;
220&lt;BR /&gt;
221&lt;BR /&gt;
222  libname for1 clear;&lt;BR /&gt;
NOTE: Libref FOR1 has been deassigned.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 21 Jan 2010 23:54:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44831#M5930</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-01-21T23:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: XML Map warning</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44832#M5931</link>
      <description>Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
Sorry for the confusion, but the warning is in the XML Map, not when using the Map in SAS. It is the XML Mapper application that shows the error.&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Lex</description>
      <pubDate>Fri, 22 Jan 2010 01:06:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44832#M5931</guid>
      <dc:creator>Lex_SAS</dc:creator>
      <dc:date>2010-01-22T01:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: XML Map warning</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44833#M5932</link>
      <description>Honestly, I don't usually worry about those warnings unless the MAP doesn't work to read the data at all. For issues with XML Mapper, you might want to work with Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 22 Jan 2010 02:26:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44833#M5932</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-01-22T02:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: XML Map warning</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44834#M5933</link>
      <description>Thanks, I might follow-up with Tech Support.</description>
      <pubDate>Fri, 22 Jan 2010 04:12:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/XML-Map-warning/m-p/44834#M5933</guid>
      <dc:creator>Lex_SAS</dc:creator>
      <dc:date>2010-01-22T04:12:58Z</dc:date>
    </item>
  </channel>
</rss>

