[xml/sgml-pkgs] Bug#294703: request: "relativize" filename when adding a catalog

Sean Champ Sean Champ <schamp@commonwerx.org>, 294703@bugs.debian.org
Fri, 11 Feb 2005 00:58:45 -0800


Package: sgml-base
Version: 1.26
Severity: wishlist


(Pardon the outline format)

* Summary

I was trying to register a local catalog in the "super" catalog at
/etc/sgml/catalog

* What I did

Protypically put, I did:

  cd /usr/local/sgml/foo/bar
  update-catalog --add --super qux.cat

* What I'd expected

I'd expected that /etc/sgml/catalog would then have contained a line:
  CATALOG "/usr/local/sgml/foo/bar/qux.cat"

* What I found

The file /etc/sgml/catalog contained a line, like:
  CATLOG "qux.cat"
...a relative pathname, which did not resolve to the qux.cat that I'd
thought I'd specified.


* Wishlist item, Summary

It could be keen, if update-catalog would notice that a file's pathname
should be recorded, as it being an absolute pathname (or a relative
pathname, but if relative, then resolving to the file that would have been
identified in the call to 'update-catalog')


* Proposed Workaround

  update-catalog --add --super $PWD/qux.cat  


* Conclusion

This is a not a huge issue, granted. I just thought it could be "wishlisted".



Thanks


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.10
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages sgml-base depends on:
ii  perl                          5.8.4-5    Larry Wall's Practical Extraction 

-- no debconf information