Article - CS45247

Error message appears that XML structure is not valid when importing Object Initialization Rules in Windchill PDMLink

Modified: 23-Oct-2024   


Applies To

  • Windchill PDMLink 9.1 to 12.0

Description

  • Object Initialization Rule (OIR) can't be imported after being changed. Error message appears that XML structure is not valid
  • Can't create a product from template method server logs throws below errors
  • Error when uploading XML file for creation of OIR
  • Syntax error when attempted to upload the XML file from the existing Part OIR
  • Errors in Method Server logs:
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
OR
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)*"
  • Popup error:
The content of the selected XML file is not valid. A parsing error has occurred
 
This is a printer-friendly version of Article 45247 and may be out of date. For the latest version click CS45247