Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

schema_reference: Failed to read schema document 'LoadRule.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property.

Hi,

Currently we are facing an issue in our  tool, when we upgrade to the IBM RTC jars version: 6.0.5, we get the this error :

“Caused by: org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 107; schema_reference: Failed to read schema document 'LoadRule.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property.”

Due to which   ..\com.ibm.team.filesystem.client_3.2.1000.v20171026_0239\schema\LoadRule.xsd     file access is not allowed


Work around tried so far :

   1. Create a file named jaxp.properties (if it doesn't exist) under /path/to/jdk1.8.0/jre/lib and then write this line in   it:
    javax.xml.accessExternalSchema = all
    2.Provide the above property in the run configuration of tool.

    
So please let us know :

   1. If this is a bug and how the extra piece of code/ the restrictive property can be removed.
    2.Or how to provide access to the file  ..\com.ibm.team.filesystem.client_3.2.1000.v20171026_0239\schema\LoadRule.xsd available by placing it in some other location or any other way the code can still access, it if this is not  a bug.


0 votes



One answer

Permanent link
Note to readers: This issue is tracked in the following work item:

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: May 03 '19, 1:25 a.m.

Question was seen: 5,088 times

Last updated: Aug 16 '19, 7:07 a.m.

Confirmation Cancel Confirm