]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - schemas/rakka-page-1.0.rng
dropped the concept of boring flag
[Rakka.git] / schemas / rakka-page-1.0.rng
index 3fefe6ca38bff6a5fa7971f4405bf07b4fbae2d1..55051662502c1f67c148a4b5c82a43b9e2601d80 100644 (file)
@@ -4,6 +4,30 @@
          datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
          xmlns="http://relaxng.org/ns/structure/1.0">
 
+  <optional>
+    <element name="updateInfo">
+      <!-- 旧リビジョン -->
+      <attribute name="oldRevision">
+        <!-- HXT が對應してゐない。
+           <data type="nonNegativeInteger" />
+        -->
+        <text />
+      </attribute>
+
+      <!-- ページ移動 -->
+      <optional>
+        <element name="move">
+          <attribute name="from">
+            <text />
+          </attribute>
+        </element>
+      </optional>
+    </element>
+
+    <!-- 猶、更新時に type 屬性を空欄にすると自動判別される。但し
+         binaryData の場合のみ許される。 -->
+  </optional>
+
   <choice>
     <!-- リダイレクトの場合 -->
     <attribute name="redirect">
       <optional>
         <!-- text/css でなければ無視される -->
         <attribute name="isTheme">
-          <!-- これは HXT が對應してゐない。
-               <data type="string">
-               <param name="pattern">yes|no</param>
-               </data>
-          -->
-          <text />
+          <choice>
+            <value>yes</value>
+            <value>no</value>
+          </choice>
         </attribute>
       </optional>
 
       <optional>
         <!-- text/x-rakka でなければ無視される -->
         <attribute name="isFeed">
-          <!-- yes/no -->
-          <text />
+          <choice>
+            <value>yes</value>
+            <value>no</value>
+          </choice>
         </attribute>
       </optional>
 
       <optional>
         <!-- ログインしてゐないユーザーの編集を禁止するフラグ -->
         <attribute name="isLocked">
-          <!-- yes/no -->
-          <text />
-        </attribute>
-      </optional>
-
-      <optional>
-        <!-- 更新履歴や RSS から削除されるフラグ -->
-        <attribute name="isBoring">
-          <!-- yes/no -->
-          <text />
+          <choice>
+            <value>yes</value>
+            <value>no</value>
+          </choice>
         </attribute>
       </optional>