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:
Using the ACS cdbCheckerACS 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. Using XML SpyXML 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:
-- DavidFugate - 17 Mar 2005 |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|