GNU bug report logs - #11916
24.1.50; Making url-dav work

Previous Next

Package: emacs;

Reported by: David Engster <deng <at> randomsample.de>

Date: Wed, 11 Jul 2012 21:06:02 UTC

Severity: normal

Found in version 24.1.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 11916 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: David Engster <deng <at> randomsample.de>
Cc: 11916 <at> debbugs.gnu.org
Subject: Re: bug#11916: 24.1.50; Making url-dav work
Date: Sun, 22 Jul 2012 06:11:37 -0400
> Attached. I had to go another route, though; turns out the `parse-ns'
> argument is already overloaded in `xml-parse-tag' (it can be used to
> provide a namespace->URI mapping), but that wasn't mentioned in the
> other parse functions. So I had to introduce an additional argument.

I'd seen that, indeed, but I think that since this parse-ns arg is
mostly passed around and only finally used in one place, I'd rather not
add an argument but instead pass both values via the single
parse-ns argument.  parse-ns could then be:
- nil as before.
- an alist of namespace->URI.
- a cons cell (symbol-qnames . ALIST) which does the same as the
  previous one but uses symbols instead of cons cells for qnames.
- the symbol `symbol-qnames' to mean (symbol-qnames . STANDARD-ALIST).
- t to mean STANDARD-ALIST.
The last two are only allowed when entering xml-parse-region but not in
recursive calls (and not in calls to xml-maybe-do-ns).


        Stefan




This bug report was last modified 12 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.