Uploaded image for project: 'HTML Form Entry Module'
  1. HTML Form Entry Module
  2. HTML-317

< symbol in JavaScript code causes an error message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Cannot Reproduce
    • Affects Version/s: HTML Form Entry 1.9.0
    • Fix Version/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      When the < (less than) symbol is used in JavaScript code on an HTML form, it causes the following error message to appear...

      The content of elements must consist of well-formed character data or markup.

      The less than (<) symbol can even be in a comment, and it still causes the error. For example...

      <script type="text/javascript">
      $j(function() {
      //if( 1 < 2 )
      //end
      });
      </script>
      

      Change the < to > or == and there is no error.

      This happens with my test and production servers, both running OpenMRS 1.8.3 and HTML Form Entry 1.9.0.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              arbaughj James Arbaugh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: