Skip to main content
10-Marble
July 29, 2016
Question

Schema validation issue when inserting a file entity from oracle repository

  • July 29, 2016
  • 0 replies
  • 772 views

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