[
https://issues.apache.org/jira/browse/OOZIE-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jun aoki updated OOZIE-1143:
----------------------------
Assignee: (was: jun aoki)
> CLI oozie validate coordinator.xml says *workflow-app* is valid / invalid
> -------------------------------------------------------------------------
>
> Key: OOZIE-1143
> URL: https://issues.apache.org/jira/browse/OOZIE-1143
> Project: Oozie
> Issue Type: Improvement
> Components: client
> Affects Versions: trunk
> Reporter: jun aoki
> Priority: Trivial
> Fix For: trunk
>
> Attachments: oozie-1143-2.patch, oozie-1143.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> [junaoki@gwrd8003 cron]$ oozie validate coordinator.xml
> Valid worflow-app
> after modifying the xml file to somewhat wrong
> [junaoki@gwrd8003 cron]$ oozie validate coordinator.xml
> Error: Invalid workflow-app, org.xml.sax.SAXParseException; lineNumber: 20;
> columnNumber: 18; cvc-complex-type.2.4.a: Invalid content was found starting
> with element 'action1'. One of '{"uri:oozie:coordinator:0.2":controls,
> "uri:oozie:coordinator:0.2":datasets,
> "uri:oozie:coordinator:0.2":input-events,
> "uri:oozie:coordinator:0.2":output-events,
> "uri:oozie:coordinator:0.2":action}'
> is expected.
> it should be *coordinator-app*.
> Probably same for the other xsd files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)