Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-824

JOC Cockpit XML Editor - YADE configuration with TransferZeroByteFiles cannot be validated/deployed

    XMLWordPrintable

Details

    Description

      Current Situation

      • When the YADE configuration is managed by JOC-Cockpit and a Profile contains the {{Source|TargetFileOptions/Directives/TransferZeroByteFiles }}element, so this configuration cannot be validated and deployed
      • Error message:
        • JocException: cvc-enumeration-valid: Value '   false  ' is not facet-valid with respect to enumeration '[true, false, strict, relaxed]'. It must be a value from the enumeration.
          
      • Cause: the generated XML contains the white spaces between the elements, e.g:
        • <TransferZeroByteFiles>
                    <![CDATA[false]]>
          </TransferZeroByteFiles>
          

          and the XSD schema validator uses the concatenated value of the CDATA section and the whitespaces.

      Desired Behaviour

      • JOC-Cockpit XSD schema validator should ignore the whitespaces between the elements.

      Applicable JobScheduler Releases

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: