<?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: Aptana Validation Problem in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aptana-validation-problem/m-p/427537#M39304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I turned off the warnings, everything is working fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jan 2012 18:57:37 GMT</pubDate>
    <dc:creator>evanpicard</dc:creator>
    <dc:date>2012-01-02T18:57:37Z</dc:date>
    <item>
      <title>Aptana Validation Problem</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aptana-validation-problem/m-p/427535#M39302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just completed the ESRI course "Building Web Applications Using the ArcGIS API for JavaScript ."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In trying to learn a little more, I wanted to build from some of the examples.&amp;nbsp; It works fine on my PC (win 7 64 bit home).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I upload everything to my server (win server 2008 R2 running IIS) I get a bunch of Validation Warnings in Aptana.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same (as far as I can tell) environment set up on each machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aptana 2.0.5, jsapi code assist 2.6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Javascript validation is set to "Mozilla JavaScript Validator".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The page display correctly, but I get &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unknown attribute "gutters"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unknown attribute "design"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unknown attribute "dojotype"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unknown attribute "region"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at every &amp;lt;div&amp;gt; statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from &amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;script src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.6" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;link rel="stylesheet" type="text/css"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.6/js/dojo/dijit/themes/claro/claro.css"&amp;gt;
&amp;lt;link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/2.6/js/dojo/dojox/grid/resources/grid.css"&amp;gt;
&amp;lt;link rel="stylesheet" type="text/css" href="http://trainingcloud.arcgis.com/BAAJ/styles/css/BAAJ_Clean.css"&amp;gt;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example, from &amp;lt;body&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;div id="appContent" dojotype="dijit.layout.BorderContainer" design="headline" gutters="true" style="width:100%; height:90%; margin:0;"&amp;gt; &amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;etc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;etc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;etc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;please dont say to ignore them.&amp;nbsp; i cant just ignore it.&amp;nbsp; i makes looking for "real" issues nearly all the samples ive seen work around using &amp;lt;div&amp;gt;'s to build the page.&amp;nbsp; what is wrong with my server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been harassing the instructor from the course, but I feel bad, I can only bug him so much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;someone please help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Evan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 01:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aptana-validation-problem/m-p/427535#M39302</guid>
      <dc:creator>evanpicard</dc:creator>
      <dc:date>2011-12-29T01:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Aptana Validation Problem</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aptana-validation-problem/m-p/427536#M39303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Evan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What your finding here are elements and attributes that the Mozilla validator doesn't know anything about.&amp;nbsp; A great example is the dojotype attribute.&amp;nbsp; This is specific to dojo, and the validator doesn't have dojo validation built in.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way I work around this in Aptana is to put all of my javascript code into individual files in my application folder structure and just reference the file in the HTML.&amp;nbsp; This way, when I'm looking at the javascript in Aptana, there is just javascript, and I can trust what I see in the validation window.&amp;nbsp; If I look at the HTML in Aptana, I just pay no attention to anything in the validation window, as there's no javascript there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would recommend switching your validator to the jslint validation in Aptana.&amp;nbsp; I find JSLint to be more complete and offer better warnings.&amp;nbsp; The fact that you're using any validation at all is kudos to you.&amp;nbsp; Your apps will run much more reliably and with better performance if you take care of all the little code details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 18:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aptana-validation-problem/m-p/427536#M39303</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-12-30T18:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Aptana Validation Problem</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aptana-validation-problem/m-p/427537#M39304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I turned off the warnings, everything is working fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 18:57:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/aptana-validation-problem/m-p/427537#M39304</guid>
      <dc:creator>evanpicard</dc:creator>
      <dc:date>2012-01-02T18:57:37Z</dc:date>
    </item>
  </channel>
</rss>

