xml-common-schemata

A collection of common XML schemata and catalogs for Atom

Alexander Erhard

4,109

1

0.0.4

MIT

GitHub

XML Common Schemata

An Atom package containing commonly used XML schemata and settings for the linter-autocomplete-jing package, enabling validation and autocomplete based on the provided schemata without explicit schema references in instance documents.

Included schemata

Install

Run apm install xml-common-schemata or install the package from Atom's 'Settings' menu (Ctrl-,, 'Settings').

Extend

The package only includes a small set of schemata. In order to provide additional schemata, disable the xml-common-schemata package in Atom, clone the corresponding GitHub repository and run following commands from the project's root directory:

npm i -g gulp
npm i
apm link

This installs the dependencies and points Atom to the local clone of the GitHub repository (you can later remove the link with apm unlink).

You can add new schemata to the data directory by providing additional download locations in config.js and then running gulp from the project's root directory. For each new schema, add one or more validation rules to settings/xml-common-schemata.cson. Information about schema rules can be found at https://github.com/aerhard/linter-autocomplete-jing/blob/master/README.md#schema-rules. Reload the package in Atom (Ctrl-Alt-R).