This question is locked. New answers and comments are not allowed.
I've just been assigned a piece of legacy code to debug and I have JustCode installed on my machine.
I have a small text file as follows: (Actually the original programmer called it an .inc file.)
<style type="text/css">
<!--#include file="myFile.css" -->
<!--#include file="../Styles/global.css" -->
</style>
<script language="javascript" type="text/javascript">
<!-- #include file="myHandler.js" -->
startHandler();
</script>
This file in turn is included in an html file.
JustCode is highlighting the <Script and complaining: XML document cannot contain multiple root level elements.
I've examined the included Javascript file and it seems quite conventional. (In any case JustCode doesn't show any warnings within it.)
Actually this alone does not bother me that much. I'm just hoping that if I understand this it might eliminate this file as a source of a far greater (and probably non-Telerik) problem I'm currently having.
Suggestions?
I have a small text file as follows: (Actually the original programmer called it an .inc file.)
<style type="text/css">
<!--#include file="myFile.css" -->
<!--#include file="../Styles/global.css" -->
</style>
<script language="javascript" type="text/javascript">
<!-- #include file="myHandler.js" -->
startHandler();
</script>
This file in turn is included in an html file.
JustCode is highlighting the <Script and complaining: XML document cannot contain multiple root level elements.
I've examined the included Javascript file and it seems quite conventional. (In any case JustCode doesn't show any warnings within it.)
Actually this alone does not bother me that much. I'm just hoping that if I understand this it might eliminate this file as a source of a far greater (and probably non-Telerik) problem I'm currently having.
Suggestions?