[PATCH 07 of 11 seda] [SEDA 2.1] Content is eventually unique

Sylvain Thenault sylvain.thenault at logilab.fr
Fri Mar 3 10:43:19 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1488533777 -3600
#      Fri Mar 03 10:36:17 2017 +0100
# Node ID cfef6d353a4765498652f87f5888bf1f822fc0dc
# Parent  1962f0d8dd0f5477e798e1f08988590b07e01d29
[SEDA 2.1] Content is eventually unique

this has been anticipated in code though.

diff --git a/cubicweb_seda/xsd/seda-2.0-descriptive.xsd b/cubicweb_seda/xsd/seda-2.0-descriptive.xsd
--- a/cubicweb_seda/xsd/seda-2.0-descriptive.xsd
+++ b/cubicweb_seda/xsd/seda-2.0-descriptive.xsd
@@ -29,11 +29,11 @@
                     </xsd:annotation>
                     <xsd:complexType>
                         <xsd:group ref="ManagementGroup"/>
                     </xsd:complexType>
                 </xsd:element>
-                <xsd:element name="Content" type="DescriptiveMetadataContentType" minOccurs="1" maxOccurs="unbounded" >
+                <xsd:element name="Content" type="DescriptiveMetadataContentType" minOccurs="1">
                     <xsd:annotation>
                         <xsd:documentation>Métadonnées de description associées à un ArchiveUnit.</xsd:documentation>
                     </xsd:annotation>
                 </xsd:element>
                 <!-- Hierarchy -->


More information about the saem-devel mailing list