Re: [j-nsp] SLAX import problem

2013-12-16 Thread Phil Shafer
Chip Marshall writes: >Well that's annoying, the symlink does break it. > >This works: >import "/usr/libdata/cscript/import/junos.xsl"; > >This doesn't: >import "/var/db/scripts/import/junos.xsl"; Very odd, since /usr/libdata/cscript/import/junos.xsl is a symlink: # ls -l /var/db/scripts/ total 1

Re: [j-nsp] SLAX import problem

2013-12-16 Thread OBrien, Will
Try using the absolute path. Relative paths with symbolic links is great way to break things. On Dec 16, 2013, at 2:06 PM, Chip Marshall wrote: > I've got an odd problem on a host that I'm trying to do some SLAX > development on, it appears JUNOS is having a problem reading a file I'm > trying t

Re: [j-nsp] SLAX import problem

2013-12-16 Thread Chip Marshall
On 2013-12-16, OBrien, Will sent: > Try using the absolute path. Relative paths with symbolic links > is great way to break things. Well that's annoying, the symlink does break it. This works: import "/usr/libdata/cscript/import/junos.xsl"; This doesn't: import "/var/db/scripts/import/junos.xsl

[j-nsp] SLAX import problem

2013-12-16 Thread Chip Marshall
I've got an odd problem on a host that I'm trying to do some SLAX development on, it appears JUNOS is having a problem reading a file I'm trying to import, and I'm really not sure why. The error: error: xsl:import : unable to load /var/db/scripts/import/junos.xsl The offending line: import "../im