Author: rahul
Date: Fri Jan  2 20:37:11 2009
New Revision: 730908

URL: http://svn.apache.org/viewvc?rev=730908&view=rev
Log:
Update documentation to not use old-school attribute names.

Modified:
    commons/proper/scxml/branches/J6/xdocs/guide/datamodel.xml
    commons/proper/scxml/branches/J6/xdocs/guide/scxml-documents.xml
    commons/proper/scxml/branches/J6/xdocs/usecases/rdc-group/travel-dialog.xml
    
commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/edit-profile-config.xml
    
commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/log-on-config.xml

Modified: commons/proper/scxml/branches/J6/xdocs/guide/datamodel.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/xdocs/guide/datamodel.xml?rev=730908&r1=730907&r2=730908&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/xdocs/guide/datamodel.xml (original)
+++ commons/proper/scxml/branches/J6/xdocs/guide/datamodel.xml Fri Jan  2 
20:37:11 2009
@@ -50,10 +50,10 @@
     <pre>
      &lt;scxml xmlns="http://www.w3.org/2005/07/scxml";
                version="1.0"
-               initialstate="init-travel-plan"&gt;
+               initial="init-travel-plan"&gt;
 
       &lt;datamodel&gt;
-        &lt;data name="airlineticket"&gt;
+        &lt;data id="airlineticket"&gt;
           &lt;!-- Note namespace declaration in line below --&gt;
           &lt;flight xmlns=""&gt;
             &lt;origin/&gt;
@@ -64,7 +64,7 @@
             &lt;meal/&gt;
           &lt;/flight&gt;
         &lt;/data&gt;
-        &lt;data name="hotelbooking"&gt;
+        &lt;data id="hotelbooking"&gt;
           &lt;hotel xmlns=""&gt;
             &lt;stay&gt;
               &lt;startdate/&gt;
@@ -92,7 +92,7 @@
     leaf node:</p>
 
     <pre>
-     &lt;data name="foo" expr='bar'" /&gt;
+     &lt;data id="foo" expr='bar'" /&gt;
     </pre>
 
    </subsection>
@@ -136,11 +136,11 @@
     <pre>
      &lt;scxml xmlns="http://www.w3.org/2005/07/scxml";
                version="1.0"
-               initialstate="airline-ticket"&gt;
+               initial="airline-ticket"&gt;
 
       &lt;state id="airline-ticket"&gt;
         &lt;datamodel&gt;
-          &lt;data name="airlineticket"&gt;
+          &lt;data id="airlineticket"&gt;
             &lt;flight xmlns=""&gt;
               &lt;origin/&gt;
               &lt;destination/&gt;
@@ -162,7 +162,7 @@
 
       &lt;state id="hotel-booking"&gt;
         &lt;datamodel&gt;
-          &lt;data name="hotelbooking"&gt;
+          &lt;data id="hotelbooking"&gt;
             &lt;hotel xmlns=""&gt;
               &lt;stay&gt;
                 &lt;startdate/&gt;

Modified: commons/proper/scxml/branches/J6/xdocs/guide/scxml-documents.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/xdocs/guide/scxml-documents.xml?rev=730908&r1=730907&r2=730908&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/xdocs/guide/scxml-documents.xml (original)
+++ commons/proper/scxml/branches/J6/xdocs/guide/scxml-documents.xml Fri Jan  2 
20:37:11 2009
@@ -60,7 +60,7 @@
    <pre>
     &lt;scxml xmlns="http://www.w3.org/2005/07/scxml";
               version="1.0"
-              initialstate="hello"&gt;
+              initial="hello"&gt;
 
      &lt;state id="hello" final="true"&gt;
       &lt;onentry&gt;
@@ -288,7 +288,7 @@
     &lt;scxml xmlns="http://www.w3.org/2005/07/scxml";
               xmlns:my="http://my.custom-actions.domain/CUSTOM";
               version="1.0"
-              initialstate="custom"&gt;
+              initial="custom"&gt;
 
      &lt;state id="custom" final="true"&gt;
       &lt;onentry&gt;

Modified: 
commons/proper/scxml/branches/J6/xdocs/usecases/rdc-group/travel-dialog.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/xdocs/usecases/rdc-group/travel-dialog.xml?rev=730908&r1=730907&r2=730908&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/xdocs/usecases/rdc-group/travel-dialog.xml 
(original)
+++ commons/proper/scxml/branches/J6/xdocs/usecases/rdc-group/travel-dialog.xml 
Fri Jan  2 20:37:11 2009
@@ -17,7 +17,7 @@
 -->
 <scxml              xmlns="http://www.w3.org/2005/01/SCXML";
                   version="1.0" 
-             initialstate="tripType">
+                  initial="tripType">
 
   <state               id="tripType">
     <transition     event="tripType.done">

Modified: 
commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/edit-profile-config.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/edit-profile-config.xml?rev=730908&r1=730907&r2=730908&view=diff
==============================================================================
--- 
commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/edit-profile-config.xml
 (original)
+++ 
commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/edit-profile-config.xml
 Fri Jan  2 20:37:11 2009
@@ -31,7 +31,7 @@
 -->
 
 <scxml xmlns="http://www.w3.org/2005/01/SCXML"; version="1.0"  
-       initialstate="edit">
+       initial="edit">
 
   <state                id="edit">
 

Modified: 
commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/log-on-config.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/log-on-config.xml?rev=730908&r1=730907&r2=730908&view=diff
==============================================================================
--- 
commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/log-on-config.xml 
(original)
+++ 
commons/proper/scxml/branches/J6/xdocs/usecases/shale-dialogs/log-on-config.xml 
Fri Jan  2 20:37:11 2009
@@ -31,7 +31,7 @@
 -->
 
 <scxml xmlns="http://www.w3.org/2005/01/SCXML"; version="1.0"  
-       initialstate="checkCookie">
+       initial="checkCookie">
 
 
   <state                 id="checkCookie">


Reply via email to