文書型 > Document Type Configuration (.dcf) > Disabling Warnings about Empty Elements
  
Disabling Warnings about Empty Elements
By default, a Completeness Check action will flag any elements in a document that may contain text but that are empty. You can disable this warning in the document type's .dcf file, at document type level (Options element) or on a per-element basis (ElementOption element).
To disable warnings about empty elements at document type level:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type whose .dcf file you want to modify is saved, and click Select.
4. Once the document type is loaded, choose Edit > DCF. If the document type has a .dcf file, it displays in the Arbortext ArchitectDCF Editor window. If there is no .dcf file associated with this document type, Arbortext Architect automatically creates one.
5. Locate the Options element in the DCF Editor. If the file doesn't include an Options element, add one.
* 
Open the Document Type Viewer (Tools > Document Type Viewer) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the Options element.
6. Click next to the Options element to open the Modify Attributes dialog box.
7. Choose no in the warnAboutEmptyElements field to disable warnings about empty elements for this document type. To enable the warnings, choose yes. The default setting is yes.
8. Click OK.
9. Choose File > Save to save the changes you have made to the .dcf file.
To disable the warnings for a specific element in a document only, carry out the same steps to set the warnAboutEmptyElements attribute of the ElementOption tag for the relevant element. If you want the element to default to the document type level setting, set the attribute to a value of default.