Content Pipeline Guide > ACL Reference > Core Functions > composer_check
  
composer_check
composer_check (comp)
The composer_check function checks the CCF file against the composer DTD for context errors. The comp parameter specifies a handle for the composer. The handle should be the handle returned by the composer_sysid function.
This function returns a 0 if an error occurs or the document is malformed. It returns a 1 if the CCF file is well-formed.
* 
Calling this function requires parsing the CCF file unless the CCF file has been cached. Subsequent changes to the CCF file will not be seen unless the composer is flushed by a call to the composer_flush function.