What problem does it solve?
This Skill validates the structural integrity and metadata of 1C configuration extensions (CFE), ensuring XML well-formedness, correct InternalInfo, proper extension properties, and consistent object references to prevent deployment issues.
Core Features & Use Cases
- XML structural validation: verifies root, Configuration, and nested elements against expected MDClasses namespaces and UUID formats.
- InternalInfo and ContainedObject checks: confirms presence and correctness of ClassId/ObjectId pairs, ensuring all required IDs exist.
- Extension properties validation: enforces Adopted ownership, valid Name, allowed ConfigurationExtensionPurpose, and checks for optional fields like NamePrefix and KeepMappingToExtendedConfigurationObjectsByIDs.
- Enum and property value validation: validates allowed values for extension properties to catch misconfigurations early.
- ChildObjects validation: ensures known object types, detects duplicates, and checks canonical ordering.
- Language and directory validation: ensures required language files exist and object directories are present for all object types.
- Borrowed objects and sub-items: validates ExtendedConfigurationObject references, and checks Attributes, TabularSections, EnumValues, and Forms for proper structure and cross-references.
- Form metadata integrity: verifies Form metadata, existence of related Form.xml, and associated Form dependencies.
- Cross-reference validation: validates references to CommonPicture, StyleItem, and Enum values used in borrowed forms.
Quick Start
Run the validator against your extension by executing the provided script with -ExtensionPath pointing to the extension directory.