From 9b637f337fbcb1762512923e81c6c782a3438fbe Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Tue, 8 Jan 2019 16:29:42 +0100 Subject: [PATCH 1/2] Fix wrong usage of sequence vs. choice in XSD --- doctrine-mongo-mapping.xsd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doctrine-mongo-mapping.xsd b/doctrine-mongo-mapping.xsd index 893a87d92a..5e2623df30 100644 --- a/doctrine-mongo-mapping.xsd +++ b/doctrine-mongo-mapping.xsd @@ -37,7 +37,7 @@ - + @@ -50,7 +50,7 @@ - + @@ -152,11 +152,11 @@ - + - + From 26dc85db48ffb92f97684fc81f1cdf4badd0d18a Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Wed, 9 Jan 2019 06:31:11 +0100 Subject: [PATCH 2/2] Clean up occurrences of minOccurs and maxOccurs --- doctrine-mongo-mapping.xsd | 244 +++++++++++++++++++------------------ 1 file changed, 127 insertions(+), 117 deletions(-) diff --git a/doctrine-mongo-mapping.xsd b/doctrine-mongo-mapping.xsd index 5e2623df30..e799f2aa47 100644 --- a/doctrine-mongo-mapping.xsd +++ b/doctrine-mongo-mapping.xsd @@ -38,47 +38,48 @@ - - - - - - - - - - - - + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -86,8 +87,8 @@ - - + + @@ -96,7 +97,8 @@ - + + @@ -111,6 +113,7 @@ + @@ -125,14 +128,15 @@ + - - + + @@ -153,9 +157,9 @@ - - - + + + @@ -164,10 +168,11 @@ - - - + + + + @@ -178,10 +183,11 @@ - - - + + + + @@ -194,22 +200,23 @@ - - - - + + + + - - - + + + + @@ -226,13 +233,14 @@ - - - + + + + @@ -251,127 +259,127 @@ - + - + - + - + - + - + - + - - - - - - + + + + + + - - + + - - + + - - + + - + - + - + - - - - - - - - + + + + + + + + - - + + - + - + - + - - - - - - - + + + + + + + @@ -379,71 +387,74 @@ - + + - + - - + + - - - + + + - - - - - + + + + + + - + - - + + - - + + + - + - + - - + + - + @@ -467,5 +478,4 @@ -