技术文章 - CS303730
当名称值在 Windchill PDMLink 中包含特殊字符时,Adobe Experience Manager 自定义委托 DDX 指令无法处理
已修改: 28-Dec-2022
适用于
- Windchill PDMLink 10.0 to 13.1
- Adobe Experience Manager
- Adobe LiveCycle
说明
- 当属性值包含特殊字符时,Adobe Experience Manager 自定义委托 DDX 指令无法处理
- 在 wvs.properties 属性 edrload.livecycle.delegate 中定义的自定义委托正在生成包含 Name 属性值的 DDX 指令
- 名称包含以下一个或多个字符: & < >
- 为名称为My & Name的文档生成的示例 DDX 指令:
<PDF result="attribute" return="false">
<PDF source="inDoc">
<Watermark horizontalAnchor="Right" verticalAnchor="Top" replaceExisting="false">
<StyledText color="#0000ff" font-size="8pt" font="Arial" font-style="italic" font-weight="bold">
<p>The following are some property values:</p>
<p>Name: My & Name</p> />
</StyledText>
</Watermark>
</PDF>
</PDF>- 将此 DDX 指令提交给 Adobe Experience Manager 时,程序集失败并在server.log 中显示以下内容:
10:36:31,655 错误 [com.adobe.internal.ddxm.SchemaValidationHandler] (http-/0.0.0.0:8080-4) DDXM_S00011:在第 1 行解析 DDX 时出错:实体名称必须紧跟在 '& ' 在实体引用中。
10:36:31,655 错误 [com.adobe.internal.ddxm.Executive] (http-/0.0.0.0:8080-4) DDXM_S00012:无法解析 DDX。检查作业日志以获取详细信息。:javax.xml.bind.UnmarshalException
- 有链接异常:
[org.xml.sax.SAXParseException;行号:1;列数:907;实体名称必须紧跟实体引用中的“&”。]
在 javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)[jboss-jaxb-api_2.2_spec-1.0.4.Final-redhat-3.jar:1.0.4.Final-redhat-3]
在 com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException (UnmarshallerImpl.java:506)
在 com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215)
...
- 有链接异常:
[org.xml.sax.SAXParseException;行号:1;列数:907;实体名称必须紧跟实体引用中的“&”。]
在 javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)[jboss-jaxb-api_2.2_spec-1.0.4.Final-redhat-3.jar:1.0.4.Final-redhat-3]
在 com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException (UnmarshallerImpl.java:506)
在 com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215)
...
这是文章 303730 的 PDF 版本,可能已过期。最新版本 CS303730