[Osr-101] rev 24075 - public/osr-101/trunk/amendments
michi at wyona.com
michi at wyona.com
Mon Apr 30 20:22:28 CEST 2007
Author: michi
Date: 2007-04-30 20:22:27 +0200 (Mon, 30 Apr 2007)
New Revision: 24075
Modified:
public/osr-101/trunk/amendments/save-without-releasing-the-lock.html
public/osr-101/trunk/amendments/versions.html
public/osr-101/trunk/amendments/workflow.html
Log:
Finally we can use '<' characters.
Modified: public/osr-101/trunk/amendments/save-without-releasing-the-lock.html
===================================================================
--- public/osr-101/trunk/amendments/save-without-releasing-the-lock.html 2007-04-30 18:14:01 UTC (rev 24074)
+++ public/osr-101/trunk/amendments/save-without-releasing-the-lock.html 2007-04-30 18:22:27 UTC (rev 24075)
@@ -1,13 +1,13 @@
!Save without releasing the lock
{{{
-lt;?xml version="1.0"?>
+<?xml version="1.0"?>
-lt;introspection xmlns="http://www.wyona.org/neutron/1.0">
- lt;edit mime-type="application/xhtml+xml" name="Homepage">
- lt;checkout url="index.xhtml?yanel.resource.usecase=checkout" method="GET"/>
- lt:save url="index.xhtml?yanel.resource.usecase=save" method="PUT"/>
- lt:checkin url="index.xhtml?yanel.resource.usecase=checkin" method="PUT"/>
- lt:/edit>
-lt;/introspection>
+<introspection xmlns="http://www.wyona.org/neutron/1.0">
+ <edit mime-type="application/xhtml+xml" name="Homepage">
+ <checkout url="index.xhtml?yanel.resource.usecase=checkout" method="GET"/>
+ <save url="index.xhtml?yanel.resource.usecase=save" method="PUT"/>
+ <checkin url="index.xhtml?yanel.resource.usecase=checkin" method="PUT"/>
+ </edit>
+</introspection>
}}}
Modified: public/osr-101/trunk/amendments/versions.html
===================================================================
--- public/osr-101/trunk/amendments/versions.html 2007-04-30 18:14:01 UTC (rev 24074)
+++ public/osr-101/trunk/amendments/versions.html 2007-04-30 18:22:27 UTC (rev 24075)
@@ -2,59 +2,59 @@
!!Server which supports Versioning and Workflow
{{{
-lt;introspection xmlns="http://www.wyona.org/neutron/2.0">
- lt;resource
- lt;edit mime-type="application/xhtml+xml" name="Homepage">
- lt;open url="index.xhtml" method="GET"/>
- lt;save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
- lt;/edit>
+<introspection xmlns="http://www.wyona.org/neutron/2.0">
+ <resource>
+ <edit mime-type="application/xhtml+xml" name="Homepage">
+ <open url="index.xhtml" method="GET"/>
+ <save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
+ </edit>
- lt;versions>
- lt;version url="index.xhtml?yanel.resource.revision=20843">
- lt;comment>slugline updatedlt;/comment>
- lt;date>2006-05-23T00:38:05+02:00lt;/date>
- lt;user>joelt;/user>
- lt;revision>20843lt;/revision>
- lt;workflow>
- lt;state date="2006.12.14">REVIEWlt;/state>
- lt;transitions>
- lt;transition id="publish" to="LIVE" url="index.xhtml?yanel.resource.workflow.transition=publish" method="POST"/>
- lt;transition id="reject" to="DRAFT"/>
- lt;/transitions>
- lt;history>
- lt;state date="2006.12.13">DRAFTlt;/state>
- lt;/history>
- lt;/workflow>
- lt;/version>
- lt;version url="index.xhtml?yanel.resource.revision=20840">
- lt;comment>slugline updatedlt;/comment>
- lt;date>2006-05-22T03:38:05+02:00lt;/date>
- lt;user>joelt;/user>
- lt;revision>20843lt;/revision>
- lt;workflow>
- lt;state date="2006.12.14">DRAFTlt;/state>
- lt;transitions>
- lt;transition id="submit-to-review" to="REVIEW" url="?yanel.resource.workflow.transition=submit-to-review" method="POST"/>
- lt;/transitions>
- lt;history>
- lt;state date="2006.12.12">DRAFTlt;/state>
- lt;/history>
- lt;/workflow>
- lt;/version>
- lt;version url="index.xhtml?yanel.resource.revision=20023">
- lt;comment>title changedlt;comment>
- lt;revision>20023lt;/revision>
- lt;workflow>
- lt;state date="2006.12.13">LIVElt;/state>
- lt;history>
- lt;state date="2006.12.11">REVIEWlt;/state>
- lt;state date="2006.12.10">DRAFTlt;/state>
- lt;/history>
- lt;/workflow>
- lt;/version>
- lt;/versions>
- lt;/resource
-lt;/introspection>
+ <versions>
+ <version url="index.xhtml?yanel.resource.revision=20843">
+ <comment>slugline updated</comment>
+ <date>2006-05-23T00:38:05+02:00</date>
+ <user>joe</user>
+ <revision>20843</revision>
+ <workflow>
+ <state date="2006.12.14">REVIEW</state>
+ <transitions>
+ <transition id="publish" to="LIVE" url="index.xhtml?yanel.resource.workflow.transition=publish" method="POST"/>
+ <transition id="reject" to="DRAFT"/>
+ </transitions>
+ <history>
+ <state date="2006.12.13">DRAFT</state>
+ </history>
+ </workflow>
+ </version>
+ <version url="index.xhtml?yanel.resource.revision=20840">
+ <comment>slugline updated</comment>
+ <date>2006-05-22T03:38:05+02:00</date>
+ <user>joe</user>
+ <revision>20843</revision>
+ <workflow>
+ <state date="2006.12.14">DRAFT</state>
+ <transitions>
+ <transition id="submit-to-review" to="REVIEW" url="?yanel.resource.workflow.transition=submit-to-review" method="POST"/>
+ </transitions>
+ <history>
+ <state date="2006.12.12">DRAFT</state>
+ </history>
+ </workflow>
+ </version>
+ <version url="index.xhtml?yanel.resource.revision=20023">
+ <comment>title changed<comment>
+ <revision>20023</revision>
+ <workflow>
+ <state date="2006.12.13">LIVE</state>
+ <history>
+ <state date="2006.12.11">REVIEW</state>
+ <state date="2006.12.10">DRAFT</state>
+ </history>
+ </workflow>
+ </version>
+ </versions>
+ </resource>
+</introspection>
}}}
Date Format must be ISO-8601
@@ -63,102 +63,102 @@
!!Server which supports Versioning and Workflow (but only for the latest revision)
{{{
-lt;introspection xmlns="http://www.wyona.org/neutron/2.0">
- lt;resource
- lt;edit mime-type="application/xhtml+xml" name="Homepage">
- lt;open url="index.xhtml" method="GET"/>
- lt;save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
- lt;/edit>
+<introspection xmlns="http://www.wyona.org/neutron/2.0">
+ <resource>
+ <edit mime-type="application/xhtml+xml" name="Homepage">
+ <open url="index.xhtml" method="GET"/>
+ <save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
+ </edit>
- lt;versions>
- lt;version url="index.xhtml?yanel.resource.revision=20843">
- lt;comment>slugline updatedlt;/comment>
- lt;date>2006-05-23T00:38:05+02:00lt;/date>
- lt;user>joelt;/user>
- lt;revision>20843lt;/revision>
- lt;workflow>
- lt;current-status date="2006.12.14">REVIEWlt;/current-status>
- lt;transitions>
- lt;transition id="publish" from="REVIEW" to="LIVE" url="index.xhtml?yanel.resource.workflow.transition=publish" method="POST"/>
- lt;transition id="reject" from="REVIEW" to="AUTHORING"/>
- lt;/transitions>
- lt;history>
- lt;status date="2006.12.13">AUTHORINGlt;/status>
- lt;/history>
- lt;/workflow>
- lt;/version>
- lt;version url="index.xhtml?yanel.resource.revision=20840">
- lt;comment>slugline updatedlt;/comment>
- lt;date>2006-05-22T03:38:05+02:00lt;/date>
- lt;user>joelt;/user>
- lt;revision>20843lt;/revision>
- lt;/version>
- lt;version url="index.xhtml?yanel.resource.revision=20023">
- lt;comment>title changedlt;comment>
- lt;revision>20023lt;/revision>
- lt;/version>
- lt;/versions>
- lt;/resource
-lt;/introspection>
+ <versions>
+ <version url="index.xhtml?yanel.resource.revision=20843">
+ <comment>slugline updated</comment>
+ <date>2006-05-23T00:38:05+02:00</date>
+ <user>joe</user>
+ <revision>20843</revision>
+ <workflow>
+ <current-status date="2006.12.14">REVIEW</current-status>
+ <transitions>
+ <transition id="publish" from="REVIEW" to="LIVE" url="index.xhtml?yanel.resource.workflow.transition=publish" method="POST"/>
+ <transition id="reject" from="REVIEW" to="AUTHORING"/>
+ </transitions>
+ <history>
+ <status date="2006.12.13">AUTHORING</status>
+ </history>
+ </workflow>
+ </version>
+ <version url="index.xhtml?yanel.resource.revision=20840">
+ <comment>slugline updated</comment>
+ <date>2006-05-22T03:38:05+02:00</date>
+ <user>joe</user>
+ <revision>20843</revision>
+ </version>
+ <version url="index.xhtml?yanel.resource.revision=20023">
+ <comment>title changed<comment>
+ <revision>20023</revision>
+ </version>
+ </versions>
+ </resource>
+</introspection>
}}}
!!Server which supports Versioning but no Workflow
{{{
-lt;introspection xmlns="http://www.wyona.org/neutron/2.0">
- lt;resource
- lt;edit mime-type="application/xhtml+xml" name="Homepage">
- lt;open url="index.xhtml" method="GET"/>
- lt;save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
- lt;/edit>
+<introspection xmlns="http://www.wyona.org/neutron/2.0">
+ <resource>
+ <edit mime-type="application/xhtml+xml" name="Homepage">
+ <open url="index.xhtml" method="GET"/>
+ <save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
+ </edit>
- lt;versions>
- lt;version url="index.xhtml?yanel.resource.revision=20843">
- lt;comment>slugline updatedlt;/comment>
- lt;date>2006-05-23T00:38:05+02:00lt;/date>
- lt;user>joelt;/user>
- lt;revision>20843lt;/revision>
- lt;workflow>
- lt;transitions>
- lt;transition id="publish" from="AUTHORING" to="LIVE" url="index.xhtml?yanel.resource.workflow.transition=publish" method="POST"/>
- lt;/transitions>
- lt;/workflow>
- lt;/version>
- lt;version url="index.xhtml?yanel.resource.revision=20840">
- lt;comment>slugline updatedlt;/comment>
- lt;date>2006-05-22T03:38:05+02:00lt;/date>
- lt;user>joelt;/user>
- lt;revision>20843lt;/revision>
- lt;/version>
- lt;version url="index.xhtml?yanel.resource.revision=20023">
- lt;comment>title changedlt;comment>
- lt;revision>20023lt;/revision>
- lt;/version>
- lt;/versions>
- lt;/resource
-lt;/introspection>
+ <versions>
+ <version url="index.xhtml?yanel.resource.revision=20843">
+ <comment>slugline updated</comment>
+ <date>2006-05-23T00:38:05+02:00</date>
+ <user>joe</user>
+ <revision>20843</revision>
+ <workflow>
+ <transitions>
+ <transition id="publish" from="AUTHORING" to="LIVE" url="index.xhtml?yanel.resource.workflow.transition=publish" method="POST"/>
+ </transitions>
+ </workflow>
+ </version>
+ <version url="index.xhtml?yanel.resource.revision=20840">
+ <comment>slugline updated</comment>
+ <date>2006-05-22T03:38:05+02:00</date>
+ <user>joe</user>
+ <revision>20843</revision>
+ </version>
+ <version url="index.xhtml?yanel.resource.revision=20023">
+ <comment>title changed<comment>
+ <revision>20023</revision>
+ </version>
+ </versions>
+ </resource>
+</introspection>
}}}
!!Server which supports no Versioning and no Workflow
{{{
-lt;introspection xmlns="http://www.wyona.org/neutron/2.0">
- lt;resource
- lt;edit mime-type="application/xhtml+xml" name="Homepage">
- lt;open url="index.xhtml" method="GET"/>
- lt;save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
- lt;/edit>
+<introspection xmlns="http://www.wyona.org/neutron/2.0">
+ <resource>
+ <edit mime-type="application/xhtml+xml" name="Homepage">
+ <open url="index.xhtml" method="GET"/>
+ <save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
+ </edit>
- lt;versions>
- lt;version url="index.xhtml">
- lt;workflow>
- lt;transitions>
- lt;transition id="publish" from="AUTHORING" to="LIVE" url="index.xhtml?yanel.resource.workflow.transition=publish" method="POST"/>
- lt;/transitions>
- lt;/workflow>
- lt;/version>
- lt;/versions>
- lt;/resource
-lt;/introspection>
+ <versions>
+ <version url="index.xhtml">
+ <workflow>
+ <transitions>
+ <transition id="publish" from="AUTHORING" to="LIVE" url="index.xhtml?yanel.resource.workflow.transition=publish" method="POST"/>
+ </transitions>
+ </workflow>
+ </version>
+ </versions>
+ </resource>
+</introspection>
}}}
Modified: public/osr-101/trunk/amendments/workflow.html
===================================================================
--- public/osr-101/trunk/amendments/workflow.html 2007-04-30 18:14:01 UTC (rev 24074)
+++ public/osr-101/trunk/amendments/workflow.html 2007-04-30 18:22:27 UTC (rev 24075)
@@ -1,46 +1,46 @@
!Workflow
{{{
-lt;introspection>
- lt;resource
- lt;edit mime-type="application/xhtml+xml" name="Homepage">
- lt;open url="index.xhtml" method="GET"/>
- lt;save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
- lt;/edit>
+<introspection>
+ <resource>
+ <edit mime-type="application/xhtml+xml" name="Homepage">
+ <open url="index.xhtml" method="GET"/>
+ <save url="index.xhtml?yanel.resource.usecase=save" method="POST"/>
+ </edit>
- lt;workflow>
- lt;current-status date="2006.12.14">REVIEWlt;/current-status>
- lt;transitions>
- lt;transition id="publish" from="REVIEW" to="LIVE" url="?yanel.resource.workflow.transition=publish" method="POST"/>
- lt;transition id="reject" from="REVIEW" to="AUTHORING"/>
- lt;/transitions>
- lt;history>
- lt;status date="2006.12.13">AUTHORINGlt;/status>
- lt;/history>
- lt;/workflow>
- lt;/resource
-lt;/introspection>
+ <workflow>
+ <current-status date="2006.12.14">REVIEW</current-status>
+ <transitions>
+ <transition id="publish" from="REVIEW" to="LIVE" url="?yanel.resource.workflow.transition=publish" method="POST"/>
+ <transition id="reject" from="REVIEW" to="AUTHORING"/>
+ </transitions>
+ <history>
+ <status date="2006.12.13">AUTHORING</status>
+ </history>
+ </workflow>
+ </resource>
+</introspection>
}}}
Client Request: POST https://foo.bar/my-document.xtml?yanel.resource.workflow.transition=publish
{{{
-lt;n:workflow xmlns="http://www.wyona.org/neutron/2.0">
- lt:n:transition id="publish" revision="OPTIONAL"/>
-lt;/n:workflow
+<workflow xmlns="http://www.wyona.org/neutron/2.0">
+ <transition id="publish" revision="OPTIONAL"/>
+</workflow>
}}}
Server Response: HTTP/1.1 200 OK..
{{{
-lt;workflow xmlns="http://www.wyona.org/neutron/2.0">
- lt;current-status date="2006.12.15">LIVE/AUTHORINGlt;/current-status>
- lt;transitions>
- lt;transition id="submit-to-review" from="AUTHORING" to="REVIEW" url="?yanel.resource.workflow.transition=submit-to-review" method="POST"/>
- lt;/transitions>
- lt;history>
- lt;status date="2006.12.14">REVIEWlt;/status>
- lt;status date="2006.12.13">AUTHORINGlt;/status>
- lt;/history>
-lt;/workflow>
+<workflow xmlns="http://www.wyona.org/neutron/2.0">
+ <current-status date="2006.12.15">LIVE/AUTHORING</current-status>
+ <transitions>
+ <transition id="submit-to-review" from="AUTHORING" to="REVIEW" url="?yanel.resource.workflow.transition=submit-to-review" method="POST"/>
+ </transitions>
+ <history>
+ <status date="2006.12.14">REVIEW</status>
+ <status date="2006.12.13">AUTHORING</status>
+ </history>
+</workflow>
}}}
More information about the Osr-101
mailing list