[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Using UNC file paths in Saxon Xquery

Alexander, Kim (Kim) Kim.Alexander at ElPaso.com
Tue Jan 17 16:50:21 PST 2006


inurl 001065.html
Hi All, 

 

I'm needing a bit of help.

 

I'm using the Saxon implementation of XQuery (actually Saxon.Net) on
Windows and am enjoying having the ability to tinker with Xquery from
DotNet sans SQL Server.

I'm trying to make use of UNC file paths in my XQuery and am getting a
error I haven't been able to resolve - possibly because I'm not familiar
enough with Java..  



The Error is::

 

Error at function local:Combine() on line 85

  Invalid URI {file:////tsclient/C/_Backup_of...} - base
{file:/c:/_temp/Coll_APP.xml}:

  doesn't match URI regular expression:

  file://tsclient/C/_Backup_offline/UALogs/APS/Log_2005-12-14_Log

.xml

 

Here's Coll_APP.xml 

<?xml version="1.0" encoding="UTF-8"?>

<collection>

  <doc
href="file:////tsclient/C/_Backup_offline/UALogs/APS/Log_2005-12-14.xml"
/>

  <doc
href="file:////tsclient/C/_Backup_offline/UALogs/APS/Log_2005-12-15.xml"
/>

  <doc
href="file:////tsclient/C/_Backup_offline/UALogs/APS/Log_2005-12-16.xml"
/>

  <doc
href="file:////tsclient/C/_Backup_offline/UALogs/APS/Log_2005-12-17.xml"
/>

</collection>

 

I've read a post on SourceForge in the Saxon.Net project forum that
suggested using 4 forward slashes

As I've done above but that got the error above, I've also tried three
and two slashes without success.

 

Please forward me any suggestions you may have.

 

Thanks,

K. Alexander

******************************************************************
This email and any files transmitted with it from the ElPaso
Corporation are confidential and intended solely for the
use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the
sender.
******************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xquery.com/pipermail/talk/attachments/20060117/c6c9949b/attachment.htm


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.