Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-70

configurationMonitor throws possibly the error 'Character reference "&#.." is an invalid XML character'

    XMLWordPrintable

Details

    • Fix
    • Status: Approved (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.6.4131
    • None

    Description

      The ConfigurationMonitor must know the job chain path of the order. At the moment the API doesn't have a method to get the job chain path directly (see JS-472). Until JS-472 is fixed the ConfigurationMonitor use the following code to determine the job chain path:

      String orderXML = order.xml();
      SOSXMLXPath xp = new SOSXMLXPath(new StringBuffer(orderXML));
      String jobChainPath = xp.selectSingleNodeValue("/order/@job_chain");
      

      The order.xml() contains the log so that it is possible that the XML parser throws an error if a previous job in the job chain has written invalid chars:

      error occurred in spooler_process_before: Character reference "&#.." is an invalid XML character.
      

      Attachments

        Activity

          People

            ur Uwe Risse
            oh Oliver Haufe
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: