Red Hat Bugzilla – Bug 864486
RFE: rng scheme for task/result
Last modified: 2018-02-05 19:41:31 EST
Description of problem:
In current RNG scheme for beaker job (beaker-job.rng) is not contained scheme for results element, while e.g. job.to_xml($JOB_ID) includes <results> as part of resulting XML. It would be nice to have rng schemne also for results (or simply for every entity, which Beaker allows to be represented as XML). Such schemes are useful e.g. for automatically generation of appropriate classes in Java via JAXB.
I imagine we could write a new RELAX NG schema beaker-job-results.rng which imports the existing beaker-job.rng and expands on it (since the job results XML is a superset of the job XML).
I have the same request too, now I have to just ignore the job-xml-validation-failed warning. If this has been enhanced, please add an extra option in 'bkr job-submit' to use the superset rng.