Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I am having the same issue in Windchill 11.0. I downloaded the site level OIR for "Part" and simply tried to create a new OIR at the product context level using the same XML just downloaded from the site level and get the same error as this described in this post.
**** Error message****
The content of the selected XML file is not valid.
A parsing error has occured
****
I did not see a resolution to this post. Is there anyone with some ideas of why the error occurs and how to resolve it?
thanks
Can you check the method server logs for the detail error? What is the change that you made to the OOTB file?
If possible, attache the OIR. I can check if I get the same error.
Thanks for the reply. I did get some feedback from PTC support. There was an AttrConstraint for the id="number" that was incorrect. At least when comparing it with the PTC OOTB rule.xml support emailed to me.
Not sure why the rule.xml we have in our implementation of Windchill 11.x is incorrect. We have been on Windchill since 9.1 and maybe this is something that happened from the last couple migrations.
The attached xml shows the AttrConstraint commented out (id="number" booleanbranch). I replaced it with a 'value' tag and the OIR now loads as expected.