Bug 864486 - RFE: rng scheme for task/result
Summary: RFE: rng scheme for task/result
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.9
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact:
URL:
Whiteboard: Doc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-09 12:59 UTC by Vojtech Juranek
Modified: 2020-11-19 22:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-19 22:05:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Vojtech Juranek 2012-10-09 12:59:42 UTC
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.

Comment 1 Dan Callaghan 2012-10-09 21:51:30 UTC
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).

Comment 2 Monson Shao 2012-10-11 06:57:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.