diff --git a/schemas/adl-0.dtd b/schemas/adl-0.dtd index 0a0f30d..796f603 100755 --- a/schemas/adl-0.dtd +++ b/schemas/adl-0.dtd @@ -13,7 +13,7 @@ @@ -82,15 +82,8 @@ char(1) java.sql.Types.CHAR text: text or java.sql.Types.LONGVARCHAR memo java.sql.Types.CLOB - - Also, a hack, which may not belong here: - - serial: An integer whose value is automatically assigned by the database. Given - that Canonical ADL requires that every key must be specified, we - need a way of distinguishing those which are system generated from - those which aren't. This may not be the right way to do it! --> - + + + @@ -276,7 +281,7 @@ committed to persistent store, the value which it holds before it has been committed --> - + + entity CDATA #IMPLIED + farkey CDATA #IMPLIED + required %Boolean; #IMPLIED + concrete %Boolean; #IMPLIED + cascade (%CascadeActions;) #IMPLIED + column CDATA #IMPLIED + unsaved-value CDATA #IMPLIED> + + + + + + + + + + + * Generated using adl2canonical.xsl revision * *************************************************************************** @@ -69,7 +69,7 @@ Since we've got the key tag, I think this should be disallowed --> - [In entity '']: '@natural-key' is deprecated - use the 'key' sub element instead + ADL WARNING: [In entity '']: '@natural-key' is deprecated - use the 'key' sub element instead @@ -120,7 +120,7 @@ - Entity '' has a property '' which conflicts + ADL ERROR: Entity '' has a property '' which conflicts with your chosen key naming convention . Either: (i) Make property '' an explicit key by putting it in the <key> tag; (ii) Name property '' something else; or @@ -129,10 +129,11 @@ - + + @@ -270,22 +271,32 @@ + + + ADL ERROR: Type definitions of type 'string' must have a valid value for 'size' + Offending typedef: + + + - + ADL ERROR: Properties of type 'string' must have a valid value for 'size' + Offending property: of entity - + ADL ERROR: Properties of type 'entity' must have a valid value for 'entity' + Offending property: of entity - + ADL ERROR: Properties of type 'defined' must have a valid value for 'typedef' + Offending property: of entity