salesforce-metadata-api-zip-requires-root-paths-no-src-prefix

The Salesforce Metadata API expects package.xml at zip root with component paths like ‘classes/MyClass.cls’ — NOT under a ‘src/’ prefix. The ‘src/’ prefix is an SFDX/DX convention and causes ‘No package.xml found’ errors when deploying via mdapi.deploy(). Always strip the src/ prefix when building deployment zips.