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.