<?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 https links in metadata are not included in ISO XSLTs in Standards and Interoperability Questions</title>
    <link>https://community.esri.com/t5/standards-and-interoperability-questions/https-links-in-metadata-are-not-included-in-iso/m-p/565913#M278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to share an issue / bug that I discovered.&amp;nbsp; I am involved in editing metadata and exporting to XML files in the ISO format.&amp;nbsp; I noticed a problem:&amp;nbsp; ArcCatalog does not fully incorporate Hyper Text Transfer Protocol Secure (HTTPS) addresses.&amp;nbsp; It will save them in an ArcGIS 1.0 metadata format file, but will not export them to ISO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you go into the program files and find {ARCGIS_INSTALL_PATH}\Metadata\Translator\Transforms\ArcGIS2ISO19139.xsl and go to line 3422, you will find:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;&amp;lt;xsl:for-each select="onLineSrc[(starts-with(linkage,'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;') or starts-with(linkage,'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=ftp%3A%2F%2F" rel="nofollow" target="_blank"&gt;ftp://&lt;/A&gt;&lt;SPAN&gt;')) and ((count(.//*[text()]) - count(./orDesc[starts-with(.,'0')])) &amp;amp;gt; 0)]"&amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt; Note that ArcCatalog is only looking for links that start with &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=ftp%3A%2F%2F" rel="nofollow" target="_blank"&gt;ftp://&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; You would have to manually edit this XSLT and add &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;or starts-with(linkage,'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;')&lt;/SPAN&gt;&lt;/SPAN&gt; in order for https links to be included in the export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a related note, the display of a standalone ISO file in ArcCatalog uses a template, and https links do not get displayed as a clickable hyperlink.&amp;nbsp; Again, the XSLT for this doesn't include this protocol.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Find line 430 in &lt;SPAN style="font-family: 'courier new', courier;"&gt;{ARCGIS_INSTALL_PATH}\Metadata\Stylesheets\ArcGIS_Imports\general.xslt &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Note that https is not included.&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;&amp;lt;xsl:when test="(substring($value,1,7) = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;') or (substring($value,1,7) = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=HTTP%3A%2F%2F" rel="nofollow" target="_blank"&gt;HTTP://&lt;/A&gt;&lt;SPAN&gt;') or (substring($value,1,6) = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=ftp%3A%2F%2F" rel="nofollow" target="_blank"&gt;ftp://&lt;/A&gt;&lt;SPAN&gt;') or (substring($value,1,6) = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=FTP%3A%2F%2F" rel="nofollow" target="_blank"&gt;FTP://&lt;/A&gt;&lt;SPAN&gt;')"&amp;gt;&amp;lt;a target="_blank"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: large; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2016 22:23:30 GMT</pubDate>
    <dc:creator>KarenMajewicz</dc:creator>
    <dc:date>2016-02-03T22:23:30Z</dc:date>
    <item>
      <title>https links in metadata are not included in ISO XSLTs</title>
      <link>https://community.esri.com/t5/standards-and-interoperability-questions/https-links-in-metadata-are-not-included-in-iso/m-p/565913#M278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to share an issue / bug that I discovered.&amp;nbsp; I am involved in editing metadata and exporting to XML files in the ISO format.&amp;nbsp; I noticed a problem:&amp;nbsp; ArcCatalog does not fully incorporate Hyper Text Transfer Protocol Secure (HTTPS) addresses.&amp;nbsp; It will save them in an ArcGIS 1.0 metadata format file, but will not export them to ISO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you go into the program files and find {ARCGIS_INSTALL_PATH}\Metadata\Translator\Transforms\ArcGIS2ISO19139.xsl and go to line 3422, you will find:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;&amp;lt;xsl:for-each select="onLineSrc[(starts-with(linkage,'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;') or starts-with(linkage,'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=ftp%3A%2F%2F" rel="nofollow" target="_blank"&gt;ftp://&lt;/A&gt;&lt;SPAN&gt;')) and ((count(.//*[text()]) - count(./orDesc[starts-with(.,'0')])) &amp;amp;gt; 0)]"&amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt; Note that ArcCatalog is only looking for links that start with &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=ftp%3A%2F%2F" rel="nofollow" target="_blank"&gt;ftp://&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; You would have to manually edit this XSLT and add &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;or starts-with(linkage,'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;')&lt;/SPAN&gt;&lt;/SPAN&gt; in order for https links to be included in the export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a related note, the display of a standalone ISO file in ArcCatalog uses a template, and https links do not get displayed as a clickable hyperlink.&amp;nbsp; Again, the XSLT for this doesn't include this protocol.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Find line 430 in &lt;SPAN style="font-family: 'courier new', courier;"&gt;{ARCGIS_INSTALL_PATH}\Metadata\Stylesheets\ArcGIS_Imports\general.xslt &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Note that https is not included.&amp;nbsp; &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN&gt;&amp;lt;xsl:when test="(substring($value,1,7) = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;') or (substring($value,1,7) = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=HTTP%3A%2F%2F" rel="nofollow" target="_blank"&gt;HTTP://&lt;/A&gt;&lt;SPAN&gt;') or (substring($value,1,6) = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=ftp%3A%2F%2F" rel="nofollow" target="_blank"&gt;ftp://&lt;/A&gt;&lt;SPAN&gt;') or (substring($value,1,6) = '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=FTP%3A%2F%2F" rel="nofollow" target="_blank"&gt;FTP://&lt;/A&gt;&lt;SPAN&gt;')"&amp;gt;&amp;lt;a target="_blank"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: large; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 22:23:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/standards-and-interoperability-questions/https-links-in-metadata-are-not-included-in-iso/m-p/565913#M278</guid>
      <dc:creator>KarenMajewicz</dc:creator>
      <dc:date>2016-02-03T22:23:30Z</dc:date>
    </item>
  </channel>
</rss>

