| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.mylyn.wikitext.core" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.mylyn.wikitext.core" id="markupValidationRule" name="Markup Validation Rule"/> |
| </appInfo> |
| <documentation> |
| Register a validation rule for a specific markup language. Validation rules can produce errors or warnings about markup content, informing the user of potential problems with markup. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appInfo> |
| <meta.element /> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="rule" minOccurs="1" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="rule"> |
| <complexType> |
| <attribute name="markupLanguage" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the name of the markup language for which this rule should be run. Must match the name provided by the markupLanguage extension point. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the Java class that implements the validation rule. must extend <code>org.eclipse.mylyn.wikitext.core.validation.ValidationRule</code> |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.mylyn.wikitext.core.validation.ValidationRule:"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 1.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| <pre> |
| <extension point="org.eclipse.mylyn.wikitext.core.markupValidationRule"> |
| <rule markupLanguage="Textile" |
| class="org.eclipse.mylyn.internal.wikitext.textile.core.validation.BlockWhitespaceRule" /> |
| <rule markupLanguage="Textile" |
| class="org.eclipse.mylyn.internal.wikitext.textile.core.validation.TextileReferenceValidationRule" /> |
| </extension> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2007, 2009 David Green and others. |
| 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 |
| http://www.eclipse.org/legal/epl-v10.html |
| </documentation> |
| </annotation> |
| |
| </schema> |