[glom] Update the document DTD.



commit 9e0e48307adb080df36ba14c5fb40aec5f2d310e
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Mar 30 14:53:59 2011 +0200

    Update the document DTD.
    
    * glom/glom_document.dtd: Mention some the new attribute and element
    for the choices, to fix the DTD test during make check.

 ChangeLog              |    7 +++++++
 glom/glom_document.dtd |    5 ++++-
 2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 238f929..e79a440 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-03-30  Murray Cumming  <murrayc murrayc com>
 
+	Update the document DTD.
+
+	* glom/glom_document.dtd: Mention some the new attribute and element
+	for the choices, to fix the DTD test during make check.
+
+2011-03-30  Murray Cumming  <murrayc murrayc com>
+
 	A simpler way to avoid the PyDateTime_Check() crash.
 
 	* glom/libglom/init.cc: libglom_init(): Remove the g_assert because this
diff --git a/glom/glom_document.dtd b/glom/glom_document.dtd
index da0e55e..71ad75e 100644
--- a/glom/glom_document.dtd
+++ b/glom/glom_document.dtd
@@ -164,7 +164,7 @@ TODO: Add 'title_singular' element.
   since normal text boxes are relatively simple. The choices_* options are for defining the custom choice
   boxes. -->
 
-    <!ELEMENT formatting (custom_choice_list*)>
+    <!ELEMENT formatting (custom_choice_list*, choices_related_extra_layout?)>
     <!ATTLIST formatting
         format_thousands_separator (true|false) "true"
         format_text_multiline (true|false) "true"
@@ -174,6 +174,7 @@ TODO: Add 'title_singular' element.
         choices_related_relationship CDATA #IMPLIED
         choices_related_field CDATA #IMPLIED
         choices_related_second CDATA #IMPLIED
+        choices_related_show_all (true|false) #IMPLIED
         choices_custom (true|false) "false"
         format_decimal_places_restricted (true|false) "false"
         format_currency_symbol CDATA #IMPLIED>
@@ -188,6 +189,8 @@ TODO: Add 'title_singular' element.
     <!ATTLIST custom_choice
         value CDATA #REQUIRED>
 
+ <!ELEMENT choices_related_extra_layout (data_layout_groups)>
+
 <!-- The calculation node specifies python code that should be used to
      calculate a value for this field. They python code is in a child text node. -->
     <!ELEMENT calculation (#PCDATA)>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]