Validate XML documents against their XSD schemas
Note: This package depends libxml which is a native library built using node-gyp. It's requirements are: github.com/nodejs/node-gyp
$ apm install atom-xmlvalidate
Or you can install through the Settings view by searching for 'XML Validate'.
atom-xmlvalidate looks for a schema referenced in either the top level schemaLocation or noNamespaceSchemaLocation attribute. Currently it only supports validating against a single schema, so when using the schemaLocation attribute there must be only one schema supplied in
[namespace] [location] format
<Pets noNamespaceSchemaLocation=""><Dog /><Cat /></Pets>
<mynamespace:Pets xmlns:mynamespace="" schemaLocation=" "><Doc /><Cat /></mynamespace:Pets>
Open the XML validation results panel by going to
Packages -> XML Validate -> Toggle. Documents
will automatically validate when they are saved.
Force validation using the
Validate XML context-menu item.
Go to the Settings view for this package and set the
Auto Open option which will cause
the results panel to open automatically when an XML file is opened or saved.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.