Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis D'Entremont2006-10-23 16:03:47 +0000
committerCurtis D'Entremont2006-10-23 16:03:47 +0000
commit1ffee1b48595c477c75a8591ad7a68a229e46685 (patch)
tree888bfead110c68d621446267ade6c53908045d56 /org.eclipse.ui.intro/schema
parentf882a3d003c01b6bace40c8bf661cd4b92ef9aff (diff)
downloadeclipse.platform.ua-1ffee1b48595c477c75a8591ad7a68a229e46685.tar.gz
eclipse.platform.ua-1ffee1b48595c477c75a8591ad7a68a229e46685.tar.xz
eclipse.platform.ua-1ffee1b48595c477c75a8591ad7a68a229e46685.zip
161427 Inaccurate extension point schemas with respect to min / max element occurrences
Diffstat (limited to 'org.eclipse.ui.intro/schema')
-rw-r--r--org.eclipse.ui.intro/schema/config.exsd4
-rw-r--r--org.eclipse.ui.intro/schema/configExtension.exsd12
2 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.ui.intro/schema/config.exsd b/org.eclipse.ui.intro/schema/config.exsd
index 3d9888925..a7de6e753 100644
--- a/org.eclipse.ui.intro/schema/config.exsd
+++ b/org.eclipse.ui.intro/schema/config.exsd
@@ -17,8 +17,8 @@ The intros are organized into pages which usually reflect a particular category
<element name="extension">
<complexType>
- <sequence>
- <element ref="config" minOccurs="1" maxOccurs="unbounded"/>
+ <sequence minOccurs="1" maxOccurs="unbounded">
+ <element ref="config"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
diff --git a/org.eclipse.ui.intro/schema/configExtension.exsd b/org.eclipse.ui.intro/schema/configExtension.exsd
index 5d6dc75b2..c7b4de96e 100644
--- a/org.eclipse.ui.intro/schema/configExtension.exsd
+++ b/org.eclipse.ui.intro/schema/configExtension.exsd
@@ -14,12 +14,12 @@
<element name="extension">
<complexType>
- <sequence>
- <element ref="configExtension" minOccurs="1" maxOccurs="unbounded"/>
- <element ref="standbyContentPart" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="action" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="theme" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <element ref="configExtension"/>
+ <element ref="standbyContentPart"/>
+ <element ref="action"/>
+ <element ref="theme"/>
+ </choice>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>

Back to the top