Problem Accessing Included Schematron Files on Mapped Drive

Oxygen general issues.
Doug Fillmore
Posts: 2
Joined: Mon Mar 02, 2015 4:27 pm

Problem Accessing Included Schematron Files on Mapped Drive

Post by Doug Fillmore »

This is the is situation I am encountering:

I have a mapped network drive that hosts schematron files that are included in parent schematron files that are located on my local drive. I have no problem accessing these files if I browse to the directly from within Oxygen. However, when I open the parent schematron file with the include statements, I encounter errors stating that Oxygen is unable to open these files:

E [ISO Schematron] Unable to open referenced included file: T:\common\generic\docinfo.incl

Needless to say, I am unable to use the parent schematron files for validation if the included files can't be resolved.

I *am* able to hover over the included files and ctrl+click to open the files, which adds to my confusion.

I don't know whether it is significant, but I can only access the mapped network drive when I am connected to a VPN.

Any assistance would be appreciated.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Problem Accessing Included Schematron Files on Mapped Dr

Post by adrian »

Hi,

How are you including the file in the Schematron (the exact code snippet with the file reference)?
Make sure you're using an URI and not a file path when you reference the included file.
URI should look like:

Code: Select all

file:///T:/path/to/file
There is also the aspect of network drive availability, especially since you mentioned it's over VPN, but I'm guessing you already have the drive mounted and available when you try this.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Doug Fillmore
Posts: 2
Joined: Mon Mar 02, 2015 4:27 pm

Re: Problem Accessing Included Schematron Files on Mapped Dr

Post by Doug Fillmore »

Thank you for the response. I replaced the file path with a URI as you suggested and that resolved the problem.

-Doug
Post Reply