cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Schema validation issue when inserting a file entity from oracle repository

SarahPrice
7-Bedrock

Schema validation issue when inserting a file entity from oracle repository

Bringing this to the experts hope someone can help...

We have a library of Warning XML files stored in an Oracle repository that we link to other XML files by creating file entities. The file entity is created by using the URL link to the warning file. (http://<server Name>:0000/cs/idcplg?IdcService=GET_FILE&dDocName=OSCLSLIMSAP21O1035007&RevisionSelectionMethod=LatestReleased).

This works great for doctypes that are validated by a DTD. However we have several doctypes that have Schemas. When trying to insert the file entity into an XML file that is validated by a schema I'm getting a context rules error. I believe this to be because it is looking for the namespace on the file it is inserting (xmlns attribute).

Since we are working with several different doctypes with different namespaces adding the xmlns attribute to the warning files is not possible.

Any guidance on how to address this issue would be great appreciated.

Sarah Price

0 REPLIES 0
Top Tags