The following XHTML code does not work:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" type="text/css" href="/dojotoolkit/dijit/themes/tundra/tundra.css" /> <link rel="stylesheet" type="text/css" href="/dojotoolkit/dojo/resources/dojo.css" /> <script type="text/javascript" src="/dojotoolkit/dojo/dojo.js" djConfig="parseOnLoad: true" /> <script type="text/javascript"> dojo.require("dijit.form.ValidationTextBox"); dojo.require("dojo.parser"); </script> </head> <body class="nihilo"> <input type="text" dojoType="dijit.form.ValidationTextBox" size="30" /> </body> </html>
The following error message appears in Firebug:
[Exception ... "The component returned the error code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLElement.innerHTML]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: 21: dojt / dojo // local dojo // dojo local js :: anonymous :: line 319 ": none] http: // localhost: 21000 / dojotoolkit / dojo / dojo.js line 319
Any idea what's wrong?
The problem is the completion of the file ...
Content-Type apache.
dojo.js:
<script type="text/javascript" src="/dojotoolkit/dojo/dojo.js" djConfig="parseOnLoad: true"/>
:
<script type="text/javascript" src="/dojotoolkit/dojo/dojo.js" djConfig="parseOnLoad:true"></script>
dojo, .
, innerHTML , W3C , , , XHTML, HTML . . .
, dojo.js, 319?
, script?
, .
Dojo , - .
I am on OS X using firefox 3.0.1 I am not getting errors under firebug.
There are several similar tickets on the dojo trac page:
http://trac.dojotoolkit.org/search?q=xhtml+ns_error&noquickjump=1&ticket=on
You are likely to encounter an error and you will need to fill out a new ticket.
Source: https://habr.com/ru/post/1696716/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1696711/how-can-i-allow-incoming-connections-to-a-server-inside-of-virtualbox&usg=ALkJrhiGM0U9MNvVwWaH2lc3VbkHllSUfgSetting DataGridView.DefaultCellStyle.NullValue to null during development increases the error when adding runtime rows - nullHow to print css using background images using a WebBrowser control - c #Sprint speed calculation - project-managementhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1696715/choosing-a-desktop-database&usg=ALkJrhhvcLSIe4t_qK4Mr5LzagDCXeNJeQCitrix Server Application Type - on Mac? - macosChange user to run windows forms program - authenticationhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1696719/how-to-save-persistent-objects-databound-to-a-datalayoutcontrol-devexpress-tools&usg=ALkJrhiEmLZ3JWAm9bJ-iSuYoDwwi0zq0AJavascript: make web browser scroll up? - javascriptProgrammatically get the creation of a database table script in .NET. - sqlAll Articles