Referencing XML schemas and DTDs

Last modified: 08 March 2021

Your XML file may reference an external XML schema (XSD) or DTD file, for example:

or

If the referenced URL or the namespace URI is "unfamiliar", it's marked as an error. To solve the problem:

For example, if you have a fragment like this:

and you invoke the Add Xsi Schema Location for External Resource intention action on the value of the xmlns attribute, the result will be:

At this step, you can add the schema URL, and then map the URL (or the namespace URI) onto an appropriate schema file, or add the URL (or the URI) to the Ignored Schemas and DTDs list.