Re: [TEI-L] Remote local extensions

Dave Love <[email protected]>
Newsgroups gmane.emacs.psgml.devel
Organization Daresbury Laboratory, Warrington WA4 4AD, UK
Message-ID <rzqk6jtmgau.fsf@loveshack>
Syd Bauman <[email protected]> writes:

>> >> I am not sure whether Emacs _could_ [follow URLs], but
>> >> psgml-in-emacs certainly does not
>> 
>> If that means that using url-handlers.el in the url package
>> doesn't work to find system identifiers, it would be good to
>> report a bug. (Try the version in Emacs CVS, which is where it's
>> maintained now.) PSGML shouldn't do anything special itself.
>
> Nope -- the problem isn't that url-handling is not working properly,
> but that PSGML just doesn't try to follow a URL, either by calling
> url-handlers.el or anything else. I keep saying someday I should get
> in there an fix it. But given that it took me almost 6 months just
> to answer your mail ...

Well, I used to maintain the url package, so I wasn't talking through
my hat and I know it does actually work -- even with psgml.

  (with-temp-buffer
    (url-handler-mode 1)
    (insert-file-contents "http://www.docbook.org/xml/4.3/docbookx.dtd")
    (buffer-substring 1 100))
    => "<!-- Copyright 1992-2002 HaL Computer Systems, Inc.,
       O'Reilly & Associates, Inc., ArborText, I"
  
It's still not appropriate to fetch entities via HTTP each time you
edit a file.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.