Markup Validation Rule

Identifier:
org.eclipse.mylyn.wikitext.core.markupValidationRule

Since:
1.0

Description:
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.

Configuration Markup:

<!ELEMENT extension (rule+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT rule EMPTY>

<!ATTLIST rule

markupLanguage CDATA #REQUIRED

class          CDATA #REQUIRED

>


Examples:

<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>


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