我正在尝试在 Azure 数据工厂复制活动中使用 XSD 验证(以 XML 作为源)。我有一个外部 XSD 文件。我还试图了解如何在 Azure 数据工厂中使用它。在复制活动中,验证类型部分下有两个选项 XSD 和 DTD。但是,它没有任何方法将任何外部文件指定为 XSD。文档对此也没有明确说明。(https://learn.microsoft.com/en-us/azure/data-factory/format-xml)。官方文档是这样说的:
XML schema validation:
You can choose to not validate schema, or validate schema using XSD or DTD.
When using XSD or DTD to validate XML files, the XSD/DTD must be referred inside the XML
files through relative path
Run Code Online (Sandbox Code Playgroud)
我对这里的第二点感到困惑。
“XML 必须在 XML 文件内引用”是什么意思?