diff options
author | Tomasz Zarna | 2008-05-23 15:30:02 +0000 |
---|---|---|
committer | Tomasz Zarna | 2008-05-23 15:30:02 +0000 |
commit | 0cf5f9f8a8fa1c001d3d9d2d5aca10b755797364 (patch) | |
tree | 0e389fd8312bad623ec0d9688f42b49aa469d00e /examples | |
parent | 59417b22df21f70977f748544c51f9ab335850e1 (diff) | |
download | eclipse.platform.team-0cf5f9f8a8fa1c001d3d9d2d5aca10b755797364.tar.gz eclipse.platform.team-0cf5f9f8a8fa1c001d3d9d2d5aca10b755797364.tar.xz eclipse.platform.team-0cf5f9f8a8fa1c001d3d9d2d5aca10b755797364.zip |
bug 222468: [compare] adopt schema identifier
Diffstat (limited to 'examples')
-rw-r--r-- | examples/org.eclipse.compare.examples.xml/schema/idMapping.exsd | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/examples/org.eclipse.compare.examples.xml/schema/idMapping.exsd b/examples/org.eclipse.compare.examples.xml/schema/idMapping.exsd index 39152b4a3..231bc5397 100644 --- a/examples/org.eclipse.compare.examples.xml/schema/idMapping.exsd +++ b/examples/org.eclipse.compare.examples.xml/schema/idMapping.exsd @@ -1,10 +1,10 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Schema file written by PDE --> -<schema targetNamespace="org.eclipse.compare.examples.xml"> +<schema targetNamespace="org.eclipse.compare.examples.xml" xmlns="http://www.w3.org/2001/XMLSchema"> <annotation> - <appInfo> + <appinfo> <meta.schema plugin="org.eclipse.compare.examples.xml" id="idMapping" name="XML Id Mapping"/> - </appInfo> + </appinfo> <documentation> This extension point allows to define internal XML ID Mapping schemes using the <i>mapping</i> element. These schemes can then be used when performing an XML compare to uniquely identify XML elements by the @@ -15,6 +15,11 @@ should be compared in an ordered fashion instead of the default unordered way. </annotation> <element name="extension"> + <annotation> + <appinfo> + <meta.element /> + </appinfo> + </annotation> <complexType> <sequence> <element ref="idMap" minOccurs="0" maxOccurs="unbounded"/> @@ -137,18 +142,18 @@ compared in ordered fashion instead of the default unordered way. </element> <annotation> - <appInfo> + <appinfo> <meta.section type="since"/> - </appInfo> + </appinfo> <documentation> 3.0.0 </documentation> </annotation> <annotation> - <appInfo> + <appinfo> <meta.section type="examples"/> - </appInfo> + </appinfo> <documentation> The following is an example ID Mappings Scheme for ANT files. <i>project</i> elements are identified by an <i>attribute name</i>. <i>target</i> elements (which are children of <i>project</i>) are also identified by an attribute <i>name</i>. Also, the children of <i>target</i> will be compared in the order in which they appear in the document. @@ -177,29 +182,29 @@ The following example illustrates a case where the text of a child element is us </annotation> <annotation> - <appInfo> + <appinfo> <meta.section type="apiInfo"/> - </appInfo> + </appinfo> <documentation> [Enter API information here.] </documentation> </annotation> <annotation> - <appInfo> + <appinfo> <meta.section type="implementation"/> - </appInfo> + </appinfo> <documentation> The XML Compare plugin defines an ID Mapping scheme for Eclipse <samp>plugin.xml</samp> files, one for <samp>.classpath</samp> files and one for Ant files. </documentation> </annotation> <annotation> - <appInfo> + <appinfo> <meta.section type="copyright"/> - </appInfo> + </appinfo> <documentation> - Copyright (c) 2000, 2003 IBM Corporation and others.<br> + Copyright (c) 2000, 2008 IBM Corporation and others.<br> All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> </documentation> </annotation> |