【发布时间】:2021-12-05 19:32:17
【问题描述】:
我发现的唯一方法是 edi 不是 edifact,但是当我用 edifact 更改 smooks-config.xml 时
<smooks-resource-list
xmlns="https://www.smooks.org/xsd/smooks-2.0.xsd"
xmlns:edifact="https://www.smooks.org/xsd/smooks/edifact-2.0.xsd">
<edifact:unparser unparseOnElement="/Order" schemaURI="/edi-to-xml-mapping.dfdl.xsd" segmentTerminator="%NL;" compositeDataElementSeparator="^"/>
<edifact:parser schemaURI="/edi-to-xml-order-mapping.dfdl.xsd" segmentTerminator="%NL;" dataElementSeparator="*"
compositeDataElementSeparator="^"/>
我总是收到一个错误:架构定义错误:位置 /EDIFACT-Interchange.dfdl.xsd 没有架构文档。
【问题讨论】: