How to validate an XML Catalog 1.0
There are three ways to validate an XML Catalog: against the DTD, against the Relax NG Schema or against the XML Schema. XMLBlueprint XML Editor supports all three.
How to validate an XML Catalog against the DTD
To validate an XML Catalog against the DTD, you must include the XML Catalog DTD in your document:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE catalog SYSTEM "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog
xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
</catalog>
XMLBlueprint XML Editor will automatically support XML Completion for your XML Catalog based on the DTD. To validate your XML Catalog, open it in XMLBlueprint XML Editor and click XML > Validate.
TIP -- In XMLBlueprint, choose File > New > XML Document with DTD, Relax NG Schema, or XML Schema and paste
http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd
in the edit box. Press the Next > button, choose "catalog" as root element and then press the Finish button. XMLBlueprint will automatically create an empty document with a reference to the XML Catalog DTD.
How to validate an XML Catalog against the Relax NG Schema
To validate an XML Catalog against the Relax NG Schema, you must include the XML Catalog Relax NG Schema in the your document:
<?xml version="1.0" encoding="utf-8"?>
<?blueprint
namespace="urn:oasis:names:tc:entity:xmlns:xml:catalog"
schema="http://www.oasis-open.org/committees/entity/release/1.0/catalog.rng"?>
<catalog
xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
</catalog>
XMLBlueprint XML Editor will automaticallty support XML Completion for your XML Catalog based on the Relax NG Schema. To validate your XML Catalog, open it in XMLBlueprint XML Editor and click XML > Validate.
TIP -- In XMLBlueprint, choose File > New > XML Document with DTD, Relax NG Schema, or XML Schema and paste
http://www.oasis-open.org/committees/entity/release/1.0/catalog.rng
in the edit box. Press the Next > button, choose "catalog" as root element and then press the Finish button. XMLBlueprint will automatically create an empty document with a reference to the Relax NG Schema.
How to validate an XML Catalog against the XML Schema
To validate an XML Catalog against the XML Schema, you must include the XML Catalog XML Schema in your document:
<?xml version="1.0" encoding="utf-8"?>
<catalog
xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
urn:oasis:names:tc:entity:xmlns:xml:catalog
http://www.oasis-open.org/committees/entity/release/1.0/catalog.xsd">
</catalog>
XMLBlueprint XML Editor will automatically support XML Completion for your XML Catalog based on the XML Schema. To validate your XML Catalog, open it in XMLBlueprint XML Editor and click XML > Validate.
TIP -- In XMLBlueprint, choose File > New > XML Document with DTD, Relax NG Schema, or XML Schema and paste
http://www.oasis-open.org/committees/entity/release/1.0/catalog.xsd
in the edit box. Press the Next > button, choose "catalog" as root element and then press the Finish button. XMLBlueprint will automatically create an empty document with a reference to the XML Schema.







