Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2006-10-19 09:23:42 +0000
committerDani Megert2006-10-19 09:23:42 +0000
commit493a92ce8a9012470cd67aa2f47f8759a3082928 (patch)
tree1b022dae5a7e956887232a89b7282a21c31dc9b1 /org.eclipse.core.filebuffers
parent5203fe376cca970e548e790f61252f0e18fd9865 (diff)
downloadeclipse.platform.text-493a92ce8a9012470cd67aa2f47f8759a3082928.tar.gz
eclipse.platform.text-493a92ce8a9012470cd67aa2f47f8759a3082928.tar.xz
eclipse.platform.text-493a92ce8a9012470cd67aa2f47f8759a3082928.zip
Fixed inaccurate extension point schemas.
Diffstat (limited to 'org.eclipse.core.filebuffers')
-rw-r--r--org.eclipse.core.filebuffers/schema/annotationModelCreation.exsd2
-rw-r--r--org.eclipse.core.filebuffers/schema/documentCreation.exsd3
2 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.core.filebuffers/schema/annotationModelCreation.exsd b/org.eclipse.core.filebuffers/schema/annotationModelCreation.exsd
index 63b1458ad76..f44bf4d34bc 100644
--- a/org.eclipse.core.filebuffers/schema/annotationModelCreation.exsd
+++ b/org.eclipse.core.filebuffers/schema/annotationModelCreation.exsd
@@ -13,7 +13,7 @@
<element name="extension">
<complexType>
<sequence>
- <element ref="factory"/>
+ <element ref="factory" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
diff --git a/org.eclipse.core.filebuffers/schema/documentCreation.exsd b/org.eclipse.core.filebuffers/schema/documentCreation.exsd
index 10d0322439f..c405daf325e 100644
--- a/org.eclipse.core.filebuffers/schema/documentCreation.exsd
+++ b/org.eclipse.core.filebuffers/schema/documentCreation.exsd
@@ -14,7 +14,6 @@
&lt;li&gt;the file buffer manager now provides an &lt;code&gt;ISynchronizable&lt;/code&gt; document. Clients which need a synchronized document can set a lock object. &lt;em&gt;To overwrite an existing lock object is considered bad practice and can break other clients: if the document already has a lock object set then this one should be used by the client&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;clients which need a different &lt;code&gt;org.eclipse.jface.text.IDocument&lt;/code&gt; implementation create the corresponding document in their document provider. The custom document will wrap the document provided by the file buffer.&lt;/li&gt;
&lt;/ul&gt;
-
</documentation>
</annotation>
@@ -26,7 +25,7 @@
</annotation>
<complexType>
<sequence>
- <element ref="factory"/>
+ <element ref="factory" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>

Back to the top