You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/01/24 10:38:49 UTC

[isis] 01/04: ISIS-1569: updates to XSDs, make sure the version defaultsb are correct.

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch ISIS-1569-replay-commands
in repository https://gitbox.apache.org/repos/asf/isis.git

commit b12a01dbe8b1eabe556ceba32632bf269042236a
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Jan 19 16:31:31 2018 +0000

    ISIS-1569: updates to XSDs, make sure the version defaultsb are correct.
---
 core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.1.xsd | 2 +-
 core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd | 4 ++--
 core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.3.xsd | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.1.xsd b/core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.1.xsd
index 4a9bceb..cb55449 100644
--- a/core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.1.xsd
+++ b/core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.1.xsd
@@ -28,7 +28,7 @@
 
     <xs:element name="changesDto">
         <xs:annotation>
-            <xs:documentation>Represents v1.1 of this schema.  The changes (create/update/delete) to one or more domain objects within a transaction.  (nb: only published objects are included in these lists).
+            <xs:documentation>Represents v1.1 of this schema (as per majorVersion.minorVersion @default attribute, below).  The changes (create/update/delete) to one or more domain objects within a transaction.  (nb: only published objects are included in these lists).
             </xs:documentation>
         </xs:annotation>
         <xs:complexType>
diff --git a/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd b/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd
index 5349931..f9125cd 100644
--- a/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd
+++ b/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd
@@ -38,7 +38,7 @@
 
     <xs:element name="commandDto">
         <xs:annotation>
-            <xs:documentation>Represents v1.4 of this schema, adding in 'commandsDto' and extending 'commandDto' to allow additional implementation-specific fields to be attached in 'userData' (a map).
+            <xs:documentation>Represents v1.4 of this schema (as per majorVersion.minorVersion @default attribute, below).  Adds in 'commandsDto' and extending 'commandDto' to allow additional implementation-specific fields to be attached in 'userData' (a map).
             </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -49,7 +49,7 @@
                         </xs:documentation>
                     </xs:annotation>
                 </xs:element>
-                <xs:element name="minorVersion" type="xs:string" minOccurs="1" maxOccurs="1" default="3">
+                <xs:element name="minorVersion" type="xs:string" minOccurs="1" maxOccurs="1" default="4">
                     <xs:annotation>
                         <xs:documentation>The minor version of the schema that an XML instance was created using.
                         </xs:documentation>
diff --git a/core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.3.xsd b/core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.3.xsd
index eaec7c1..63380a8 100644
--- a/core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.3.xsd
+++ b/core/schema/src/main/resources/org/apache/isis/schema/ixn/ixn-1.3.xsd
@@ -30,7 +30,7 @@
 
     <xs:element name="interactionDto">
         <xs:annotation>
-            <xs:documentation>Represents v1.3 of this schema, which just updates to use cmd v1.4 schema.
+            <xs:documentation>Represents v1.3 of this schema (as per majorVersion.minorVersion @default attribute, below); just updates to use cmd v1.4 schema.
             </xs:documentation>
         </xs:annotation>
         <xs:complexType>
@@ -41,7 +41,7 @@
                         </xs:documentation>
                     </xs:annotation>
                 </xs:element>
-                <xs:element name="minorVersion" type="xs:string" minOccurs="0" maxOccurs="1" default="2">
+                <xs:element name="minorVersion" type="xs:string" minOccurs="0" maxOccurs="1" default="3">
                     <xs:annotation>
                         <xs:documentation>The minor version of the schema that an XML instance was created using.
                         </xs:documentation>

-- 
To stop receiving notification emails like this one, please contact
danhaywood@apache.org.