<?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 Expected DTD markup was not found? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/expected-dtd-markup-was-not-found/m-p/64773#M5307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to upload an XML document using python and &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.MetadataImporter_conversion&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I keep getting an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Expected DTD markup was not found. Line 1, position 3.&lt;BR /&gt;Failed to execute (MetadataImporter).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's an issue with my XML document, but I'm not sure what. I've been using the same XML document to upload for 4 years now and now I'm getting this error. I haven't made any edits to the XML in that 4 years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched through the internet, but I haven't been able to come up with something that explains what the error is and how to resolve it. Does anyone know what this might mean?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 17:57:04 GMT</pubDate>
    <dc:creator>MikeMacRae</dc:creator>
    <dc:date>2013-10-08T17:57:04Z</dc:date>
    <item>
      <title>Expected DTD markup was not found?</title>
      <link>https://community.esri.com/t5/python-questions/expected-dtd-markup-was-not-found/m-p/64773#M5307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to upload an XML document using python and &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.MetadataImporter_conversion&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I keep getting an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Expected DTD markup was not found. Line 1, position 3.&lt;BR /&gt;Failed to execute (MetadataImporter).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's an issue with my XML document, but I'm not sure what. I've been using the same XML document to upload for 4 years now and now I'm getting this error. I haven't made any edits to the XML in that 4 years.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched through the internet, but I haven't been able to come up with something that explains what the error is and how to resolve it. Does anyone know what this might mean?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 17:57:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/expected-dtd-markup-was-not-found/m-p/64773#M5307</guid>
      <dc:creator>MikeMacRae</dc:creator>
      <dc:date>2013-10-08T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expected DTD markup was not found?</title>
      <link>https://community.esri.com/t5/python-questions/expected-dtd-markup-was-not-found/m-p/64774#M5308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I think I may have found out what the problem might be. In my XML, on the first line, there is a reference to a website that I believe the XML uses to retrieve the DTD:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;?xml version="1.0" encoding="ISO-8859-1"?&amp;gt;&amp;lt;!DOCTYPE metadata SYSTEM "http://www.fgdc.gov/metadata/fgdc-std-001-1998.dtd"&amp;gt;&amp;lt;metadata&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to go to the website and it takes me to the usgs.gov website. It has an intro page fight now that inidcates the website is down due to the federal government shutdown in the US right now. This is probably causing an issue with the reference I pasted above. If I am right in saying that, is there a workaround? Can I find the &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;fgdc-std-001-1998.dtd&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; elsewhere and install it locally and reference it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 19:15:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/expected-dtd-markup-was-not-found/m-p/64774#M5308</guid>
      <dc:creator>MikeMacRae</dc:creator>
      <dc:date>2013-10-08T19:15:04Z</dc:date>
    </item>
  </channel>
</rss>

