[oXygen-user] Network drive in <?oxygen?> in Oxygen 14?

Oxygen XML Editor Support support at oxygenxml.com
Wed Jul 4 09:09:20 CDT 2012


Hi Tony,

The best solution to get the right URL syntax would be to open the RNC 
file in Oxygen (you can DnD it from the Windows Explorer) and then right 
click the editor's tab and choose "Copy Location".

 From what I've tested in newer versions of Oxygen you need 4 slashes 
after the "file:" protocol like:

> <?xml-model href="file:////kit/kit/raduc/test/personal.rnc" type="application/relax-ng-compact-syntax"?>

the old way to specify the reference should also work:

> <?oxygen RNGSchema="file:////kit/kit/raduc/test/personal.rnc" type="compact"?>

 From what I've tested Oxygen 10 worked in the same way.

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


On 7/4/2012 4:48 PM, Tony Graham wrote:
> Using a path to a Windows network drive in the 'RNGSchema'
> pseudo-attribute in the <?oxygen?> PI works in Oxygen 10.3 but is not
> resolving when opening the same file in Oxygen 14.
>
> The format of the PI is:
>
> <?oxygen RNGSchema="file://drive/path/to/schema.rnc" type="compact"?>
>
> Based on the error messages, it seems Jing is looking for the network
> drive name as a folder on the local disk:
>
> -----------------------------------------------
> System ID: \\drive\path\to\schema.rnc
> Main validation file: C:\file.xml
> Schema: \\drive\path\to\schema.rnc
> Engine name: Jing
> Severity: error
> Description: java.io.FileNotFoundException-C:\drive\path\to\schema.rnc
> (The system cannot find the path specified)
>
> System ID: C:\file.xml
> Main validation file: C:\file.xml
> Schema: \\drive\path\to\schema.rnc
> Engine name: Jing
> Severity: error
> Description: IllegalStateException - cannot validate without schema
> -----------------------------------------------
>
> Adding ever more '/' after the 'file:' has had no effect.
>
> Regards,
>
>
> Tony Graham                                   tgraham at mentea.net
> Consultant                                 http://www.mentea.net
> Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
>   --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
>      XML, XSL-FO and XSLT consulting, training and programming
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>



More information about the oXygen-user mailing list