forked from heremaps/com.here.validate.svrl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
33 lines (31 loc) · 2.04 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="dita-ot/plugin.rnc" type="application/relax-ng-compact-syntax"?>
<!--
This file is part of the DITA Validator project.
See the accompanying LICENSE file for applicable licenses.
-->
<plugin id="com.here.validate.svrl" version="5.1.0">
<feature extension="ant.import" file="build_dita2svrl.xml"/>
<feature extension="dita.conductor.lib.import" file="lib/validate-1.1.jar"/>
<!-- Ensure the plugin's error and logging messages are available -->
<feature extension="dita.xsl.strings" file="cfg/common/vars/strings.xml"/>
<feature extension="dita.xsl.messages" file="resource/messages.xml"/>
<!-- Add a template file to enable overrides to use extension points -->
<template file="build_dita2svrl_template.xml"/>
<transtype abstract="false" desc="DITA Validation" name="svrl">
<param desc="Specifies the customization directory." name="svrl.customization.dir" type="dir"/>
<param desc="Specifies the ruleset file to use." name="svrl.ruleset.file" type="file"/>
<param desc="Specifies the location of the XSL file used to echo output" name="svrl.filter.file" type="file"/>
<param desc="Specifies the location a cache file to be used" name="args.validate.cachefile" type="file"/>
<param desc="Comma separated list of rules not to be enforced" name="args.validate.ignore.rules" type="string"/>
<param desc="Comma separated list of words not to be present in the running text" name="args.validate.blacklist" type="string"/>
<param desc="Comma separated list of words which have a specified capitalization" name="args.validate.check.case" type="string"/>
<param desc="Validation Mode" name="args.validate.mode" type="enum">
<val desc="Outputs errors and warnings. Fails on errors and warnings.">strict</val>
<val default="true" desc="Outputs errors and warnings. Fails on errors only">default</val>
<val desc="Outputs errors only. Fails on Errors only">lax</val>
<val desc="SVRL Report only.">report</val>
<val desc="Run Automatic error fix command">fix-dita</val>
</param>
</transtype>
</plugin>