From fff740d3cfb44e85924412c20505b0e31c1637e3 Mon Sep 17 00:00:00 2001 From: sb Date: Thu, 31 Jan 2008 12:06:47 +0000 Subject: [PATCH] Updated ADL to cover Andrew's extended semantics --- schemas/adl-0.dtd | 159 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 146 insertions(+), 13 deletions(-) diff --git a/schemas/adl-0.dtd b/schemas/adl-0.dtd index a5112d4..78772d1 100755 --- a/schemas/adl-0.dtd +++ b/schemas/adl-0.dtd @@ -13,7 +13,7 @@ @@ -46,6 +46,22 @@ --> + + + + - + + version CDATA #IMPLIED + xmlns CDATA #IMPLIED> + value CDATA #REQUIRED + kind CDATA #IMPLIED> + @@ -236,7 +259,9 @@ concrete: if set to 'false', this property is not stored in the database but must be computed (manually written code must be provided to support this) - + cascade: what action(s) on the parent entity should be cascaded to + entitie(s) linked on this property. Valid only if type='entity', + type='link' or type='list'. column: name of the column in a SQL database table in which this property is stored. TODO: Think about this. unsaved-value: @@ -256,19 +281,120 @@ farkey CDATA #IMPLIED required %Boolean; #IMPLIED size CDATA #IMPLIED - concrete %Boolean; #IMPLIED column CDATA #IMPLIED - unsaved-value CDATA #IMPLIED> + concrete %Boolean; #IMPLIED + cascade (%CascadeActions;) #IMPLIED> + + + + +property[@type='entity']. TODO: Not complete, not yet strictly convinced it's the right solution. +--> + + + locale %Locale; #REQUIRED + xmlns CDATA #IMPLIED > + locale %Locale; #REQUIRED + xmlns CDATA #IMPLIED> @@ -417,6 +545,8 @@ property[@type='entity']. TODO: Not complete, not yet strictly convinced it's th (usually HTML) --> + - + +