技术文章 - CS45247

在 Windchill PDMLink 中导入对象初始化规则时出现错误消息“XML 结构无效”

已修改: 23-Oct-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 9.1 to 12.0

说明

  • 对象初始化规则 (OIR)更改后无法导入。出现错误消息“XML 结构无效”
  • 无法根据模板创建产品 方法服务器日志抛出以下错误
  • 上传用于创建 OIR 的 XML 文件时出错
  • 尝试从现有 Part OIR 上传 XML 文件时出现语法错误
  • 方法服务器日志中的错误:
wt.rule.init wcadmin - org.xml.sax.SAXParseException: The content of element type "AttrConstraint" must match "(Arg|Attr|Value|VarRef)*".ERROR : com.ptc.jca.mvc.controllers.WizardController wcadmin - java.lang.reflect.InvocationTargetException
或者
wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: Unexpected problem in export/import process.
Nested exception is: (wt.rule.ruleResource/PARSING_ERROR) wt.util.WTException: The content of the selected XML file is not valid. A parsing error has occurred: The content of element type "AttrConstraint" must match "(Arg|Attr|Value|VarRef)*"
  • 弹出错误:
The content of the selected XML file is not valid. A parsing error has occurred
这是文章 45247 的 PDF 版本,可能已过期。最新版本 CS45247