Alejandro,
It will be good if the schema files are accessible from a real xml
file, but not in a part of web page.
For example
http://svn.apache.org/viewvc/oozie/trunk/client/src/main/resources/oozie-workflow-0.4.xsd?revision=1382193&view=co
is exactly what Clement needs, but the URL is a bit freaky because it
has a revision number and it should not be in a Subversion.
Instead, it will be great if we could publish it shorter and more
permanent link type like
http://oozie.apache.org/schemas/3.1.3/oozie-workflow-0.4.xsd
What users benefit from it is they can open any XML editor (e.g.
Eclipse, XMLSpy) and start with schemaLocation, then the editors will
autocomplete and suggests possible elements and attributes.
Clement, if it is what you want I can make a ticket and will follow up on it.
<?xml version="1.0" encoding="UTF-8"?>
<workflow-app xmlns="uri:oozie:workflow:0.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="uri:oozie:workflow:0.4
http://oozie.apache.org/schemas/3.1.3/oozie-workflow-0.4.xsd"
name="flow1">
<start to="next1"/>
<action name="action1">
<map-reduce></map-reduce>
<ok to="ok1"/>
<error to="error1"/>
</action>
<end name="end1"/>
</workflow-app>
- jun
On Thu, Dec 6, 2012 at 9:16 AM, Alejandro Abdelnur <[email protected]> wrote:
> Hi Clément,
>
> They are avail in the Oozie docs:
>
>
> http://oozie.apache.org/docs/3.3.0/WorkflowFunctionalSpec.html#Appendix_A_Oozie_XML-Schema
>
> All version are there.
>
> Thx
>
>
>
> On Thu, Dec 6, 2012 at 6:43 AM, Clément MATHIEU <[email protected]>wrote:
>
>> Hi all,
>>
>> I'm wondering if the XML schemas defined by Oozie are officially published
>> somewhere on the oozie website ? It would be very convenient to able to
>> reference a well known URL like http://oozie.apache.org/**
>> schemas/3.1.3/oozie-workflow-**0.3.xsd<http://oozie.apache.org/schemas/3.1.3/oozie-workflow-0.3.xsd>in
>> schemaLocation.
>>
>>
>> Thanks.
>>
>> - Clément
>>
>
>
>
> --
> Alejandro