Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
How can I ensure my CDB XML or schema is correct without having to start the CDB?
Depending on your setup and on what you are doing, you can follow two strategies:
ACS provides a CDB validation tool. To use it on a complete CDB, set the ACS_CDB environment variable for the CDB to be validated and issue the command:
Also, it can be used without parameters and cdbChecker will use $ACS_CDB by default.
To use it to validate a specific file or set of files:
The -v (verbose) option is very convenient to see the details of the validation process. See the man page for more details.
p.s.: In this note we describe the improved and simplified syntax available since ACS 4.1.2.
XML Spy, a tool used to create XML schemas, is fantastic for verifying that XMLs are syntactically correct. Assuming you have XML Spy installed (ALMA has software licenses), there are only a couple of tasks that must be performed:
xsi:schemaLocation="urn:schemas-cosylab-com:EventChannel:1.0 E:\WORK\acsnc\ws\config\CDB\schemas\EventChannel.xsd"
-- DavidFugate - 17 Mar 2005