Editing XML with autocompletion according to Relax NG schema?

I am writing an XML file which uses the XML schema called OpenPSA standard, provided here. The linked website provides a download of the Relax NG Compact schema (a bunch of .rnc files). I am wondering whether it is possible with any of Jetbrains' products to use this schema for syntax checking/completion when editing an XML file?

1 comment
Comment actions Permalink

I found this to work for Windows 10/Intellij Ultimate 2019.1 based on a support ticket reply, though I don't know if this is "proper" Relax NG syntax.  It does enable autocomplete though.

 

<?xml version="1.0" encoding="utf-8" ?>
<StartElement xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="file:///c:/path/to/schema.rnc">

</StartElement>
0

Please sign in to leave a comment.