--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: galax: Context items are not resolved properly
- From: Josef Spillner <2005@kuarepoti-dju.net>
- Date: Mon, 05 Apr 2010 17:26:07 +0200
- Message-id: <20100405152607.25086.12420.reportbug@bomba>
Package: galax
Version: 1.1-6+b1
Severity: normal
Usertags: utf8paths
Using the "-context-item <filename/->" command line argument only works for some files in
ASCII-subset directory trees. Also stdin ("-") doesn't work at all in this case.
(1) Using an innocent name like "/tmp" for the context item, works:
$ galax-run -context-item /tmp/test.rdf sfrdf2xml.xq
<foo>blah</foo>
(2) Using cyrillic directory name or name with "^" for the context item, doesn't work:
$ galax-run -context-item /tmp/ффф/test.rdf sfrdf2xml.xq
URI Error: Malformed URI file:///tmp/ффф/test.rdf
$ galax-run -context-item /tmp/galax^deb/test.rdf sfrdf2xml.xq
URI Error: Malformed URI file:///tmp/galax^deb/test.rdf
(2) Using stdin "-" for the context item, doesn't work when the xq file is in a problematic directory:
$ mkdir -p /tmp/galax^deb
$ cp sfrdf2xml.xq /tmp; cp sfrdf2xml.xq /tmp/galax^deb
$ cd /tmp/galax^deb
$ cat /tmp/test.rdf | galax-run -context-item - sfrdf2xml.xq
ERROR: Unable to open the external entity: [toplevel] = SYSTEM "file://localhost/home/.../-"; reason: Other exception: Sys_error("/home/.../-: No such file or directory")
$ cd ..
$ cat /tmp/test.rdf | galax-run -context-item - sfrdf2xml.xq
<foo>blah</foo>
This means that this package, like so many in Debian, fails the "UTF-8 in file/directory names" test and hence
this report earns the fresh "utf8paths" tag.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages galax depends on:
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libcamomile-ocaml-data 0.7.2-2 Unicode data for OCaml
ii libpcre3 7.8-3 Perl 5 Compatible Regular Expressi
galax recommends no packages.
galax suggests no packages.
-- no debconf information
--- End Message ---