]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - schemas/rakka-page-1.0.rng
improvements of page locking
[Rakka.git] / schemas / rakka-page-1.0.rng
index 29e4036aa012744ed8487b4346ca88ef3cb5448e..e344f0fd372ad596ae59a3955160f96c293c8b92 100644 (file)
          binaryData の場合のみ許される。 -->
   </optional>
 
+  <optional>
+    <!-- ログインしてゐないユーザーの編集を禁止するフラグ -->
+    <attribute name="isLocked">
+      <choice>
+        <value>yes</value>
+        <value>no</value>
+      </choice>
+    </attribute>
+  </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 />
-        </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>