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

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

commit 43932b179ba657632964bef80de32f0d12704926
Author: danhaywood <d...@haywood-associates.co.uk>
AuthorDate: Mon Oct 8 11:32:14 2018 +0100

    ISIS-2003: first cut, specs and facet/attributes
---
 .../apache/isis/schema/metamodel/metamodel-1.0.xsd   | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/core/schema/src/main/resources/org/apache/isis/schema/metamodel/metamodel-1.0.xsd
 
b/core/schema/src/main/resources/org/apache/isis/schema/metamodel/metamodel-1.0.xsd
index febdd4d..d79ae52 100644
--- 
a/core/schema/src/main/resources/org/apache/isis/schema/metamodel/metamodel-1.0.xsd
+++ 
b/core/schema/src/main/resources/org/apache/isis/schema/metamodel/metamodel-1.0.xsd
@@ -104,20 +104,20 @@
             <xs:documentation>Describes an attribute of a facet of the 
metamodel, as a simple key/value pair of strings (the key is modelled as an 
attribute of the value).
             </xs:documentation>
         </xs:annotation>
-        <xs:sequence>
-            <xs:element name="value" minOccurs="1" maxOccurs="1">
+        <xs:complexContent>
+            <xs:extension base="xs:string">
                 <xs:annotation>
                     <xs:documentation>The value of the attribute, unique 
across all facet attributes of a facet.
                     </xs:documentation>
                 </xs:annotation>
-            </xs:element>
-        </xs:sequence>
-        <xs:attribute name="name" type="xs:string">
-            <xs:annotation>
-                <xs:documentation>The name of the attribute value, unique 
across all facet attributes of a facet.
-                </xs:documentation>
-            </xs:annotation>
-        </xs:attribute>
+                <xs:attribute name="name" type="xs:string">
+                    <xs:annotation>
+                        <xs:documentation>The name of the attribute value, 
unique across all facet attributes of a facet.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:attribute>
+            </xs:extension>
+        </xs:complexContent>
     </xs:complexType>
 
 

Reply via email to