|
|
|
I would like to add, that the <script> tag can also contain xml. For example:
<script type="text/xml" dojoType="dojoe.XmlScript"> <ui xmlns:xal="http://openxal.org/ui"> <dojoe.data.DocumentDataSource jsId="xmlCountriesStore" url="countries.xml" rootItem="country" sendQuery="true"/> <dojox.grid.Grid id="xmlCountriesGrid" store="xmlCountriesStore" style="width: 45em; height: 20em;"> </ui> </script> This is valid and use by some open source projects to implement RIA web pages, like dojo.E. It would be nice if IntelliJ would not mark it as errors. Even better if it recognized that the type is "text/xml" and recognized the fact that the text between the opening tag and the closing tag must be valid xml. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<script language="javascript">
BLA-BLA-BLA
</script>{pre}
Hopefully you will handle that case also.