** Changed in: zorba
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/866685

Title:
  fn:doc not consistent between Win32 and Unix

Status in Zorba - The XQuery Processor:
  Won't Fix

Bug description:
  fn:doc does not consistently read absolute paths in different OS:
  ====================
  Windows:
  fn:doc('C:/Users/user/file.xml')
  does not work: 
  Error in zorba\src\runtime\sequences\sequences_impl.cpp:1691. Query: <>, line 
1, column 1: [FODC0002] File not found or accessible
  //C:/Users/user/file.xml
  =======================
  Unix
  fn:doc('/home/user/file.xml')
  it works

  On Windows it works if the path also starts with "/" like:
  fn:doc('/C:/Users/user/file.xml')

  fn:doc should either handle "file:///" URI's only or in this case have
  the absolute file system paths be treated the same on both OS's.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866685/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to