文書型 > Document Type Configuration (.dcf) > Denoting Undeclared Attributes as Valid
  
Denoting Undeclared Attributes as Valid
You can configure attributes so they will be considered as valid if their name conforms to a specific pattern, even if they are not declared in the document type’s DTD or XSD file.
To denote undeclared attributes as valid:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type 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 AttributeOptions element in the DCF Editor. If the file doesn't include a AttributeOptions element, add one.
6. Place your cursor next to the AttributeOptions element, choose Insert > Markup, and then choose WildcardAttribute.
7. Click next to the WildcardAttribute element to open the Modify Attributes dialog box.
* 
If you have the Force Required Attributes EntryEdit preference selected, this dialog box will open automatically.
8. Type the pattern to which the attribute’s name must conform to be considered valid in the pattern field, for example pattern="aria-.*".
9. Click OK.
10. Repeat previous steps to specify more patterns against which to match attributes.
11. Choose File > Save to save the changes you have made to the .dcf file.