CMSIS-Pack: XML Validation and Editors

| CMSIS-Pack Version 1.6.3 Delivery Mechanism for Software Packs

- Main Page
- Usage and Description

All Pages
XML Validation and Editors

Some text editors are capable of verifying XML code against a schema file. This is helpful to identify syntactical or structural problems in a PDSC or SVD file early in the development process. Useful editors are:

- Notepad++
- Visual Studio (Express)

Usually, the XML file that is to be validated and its corresponding schema file need to reside in the same directory. The CMSIS-Pack schema file Pack.xsd and the CMSIS-SVD schema file CMSIS-SVD.xsd are available in the directory .\CMSIS\Utilities of the ARM::CMSIS Pack.

xmllint Schema Validation

The Linux utility xmllint is a command line tool for XML validation against a schema file. It may be part of the Bash Script gen_pack.sh to verify the PDSC file during pack generation.