Details
-
Fix
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If an XML command is sent via the Job Scheduler URL (i.e. "http://scheduler:4444/<show_state/>") then it works.
But it works too, if the last slash ('/') is omitted even though the XML command is not well-formed (i.e. "http://scheduler:4444/<show_state>") because the Job Scheduler adds the missing slash.
The Job Scheduler adds always a missing slash in the last tag even though the XML command is well-formed (i.e. "http://scheduler:4444/<show_state></show_state>").
In this case the following error is thrown:
<spooler>
<answer time="2011-03-18 11:59:39.796">
<ERROR time="2011-03-18 11:59:39" code="XML-ERROR" text="XML-ERROR [:1: validity error : Validation failed: no DTD found !<show_state></show_state/> ^ :1: parser error : expected '>'<show_state></show_state/> ^ :1: parser error : Extra content at the end of the document<show_state></show_state/> ^]"/>
</answer>
</spooler>
The error message of the XML parser is correct because "<show_state></show_state/>" is parsed unfortunately.
The Job Scheduler should not change the XML command.