An Adobe Commerce Architect is working on a scanner that will pull prices from multiple external product feeds. The Architect has a list of vendors and decides to create new config file marketplacejeeds.xml.
Which three steps can the Architect take to ensure validation of the configuration files with unique validation rules for the individual and merged files? (Choose three.)
To ensure validation of the configuration files with unique validation rules for the individual and merged files, you need to do the following steps:
Add the Uniform Resource Name (URN) to the XSD file in the config XML file. The URN is a unique identifier for a resource that follows a specific syntax. For example:
<config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='urn:magento:module:Vendor_Module:etc/marketplacefeeds.xsd'>
Provide schema to validate a merged file. The schema defines the structure and constraints of the XML document that represents the merged configuration from all modules. The schema file should be named as <config_file_name>.xsd and placed in the etc directory of the module. For example:
marketplacefeeds.xsd
Provide schema to validate an individual file. The schema defines the structure and constraints of the XML document that represents the configuration from a single module. The schema file should be named as <config_file_name>_merged.xsd and placed in the etc directory of the module. For example:
marketplacefeeds_merged.xsd
Currently there are no comments in this discussion, be the first to comment!