<?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: VML, createSurface issue, Unexpected call to method or property access in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vml-createsurface-issue-unexpected-call-to-method/m-p/248736#M23048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In my case, adding the following seemed to do the trick:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" rel="nofollow" target="_blank"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;html xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/xhtml" rel="nofollow" target="_blank"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;&lt;SPAN&gt;" xmlns:v="urn:schemas-microsoft-com:vml"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was based on this advice:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/apis/maps/documentation/javascript/v2/basics.html#XHTML_and_VML"&gt;http://code.google.com/apis/maps/documentation/javascript/v2/basics.html#XHTML_and_VML&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2011 12:10:23 GMT</pubDate>
    <dc:creator>CoreyAlix</dc:creator>
    <dc:date>2011-06-30T12:10:23Z</dc:date>
    <item>
      <title>VML, createSurface issue, Unexpected call to method or property access</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vml-createsurface-issue-unexpected-call-to-method/m-p/248735#M23047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using IE 9 in compatibility mode results in VML loading instead of SVG.&amp;nbsp; When VML loads, about 1/2 the time I get a failure in createSurface.&amp;nbsp; The failure is in the createSurface method in vml.js.&amp;nbsp; The code which fails is the first appendChild:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; r.appendChild(b);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The content of r and b are as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; b.outerHTML "&amp;lt;V:RECT style="WIDTH: 540px; HEIGHT: 498px; TOP: 0px; LEFT: 0px" stroked="f" filled="f"&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; r.outerHTML "&amp;lt;V:GROUP style="POSITION: absolute; WIDTH: 540px; HEIGHT: 498px" coordsize="540 498" coordorigin="0 0"&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result of the call to appendChild:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; r.appendChild(b) Unexpected call to method or property access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found reference to this error on the dojotookit bug list but not sure if it's related:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://bugs.dojotoolkit.org/ticket/11240"&gt;http://bugs.dojotoolkit.org/ticket/11240&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any insight much appreciated.&amp;nbsp; I've been struggling with this compressed API for too many months!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 18:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vml-createsurface-issue-unexpected-call-to-method/m-p/248735#M23047</guid>
      <dc:creator>CoreyAlix</dc:creator>
      <dc:date>2011-06-28T18:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: VML, createSurface issue, Unexpected call to method or property access</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vml-createsurface-issue-unexpected-call-to-method/m-p/248736#M23048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In my case, adding the following seemed to do the trick:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" rel="nofollow" target="_blank"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;html xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/xhtml" rel="nofollow" target="_blank"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;&lt;SPAN&gt;" xmlns:v="urn:schemas-microsoft-com:vml"&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was based on this advice:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://code.google.com/apis/maps/documentation/javascript/v2/basics.html#XHTML_and_VML"&gt;http://code.google.com/apis/maps/documentation/javascript/v2/basics.html#XHTML_and_VML&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 12:10:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vml-createsurface-issue-unexpected-call-to-method/m-p/248736#M23048</guid>
      <dc:creator>CoreyAlix</dc:creator>
      <dc:date>2011-06-30T12:10:23Z</dc:date>
    </item>
  </channel>
</rss>

