On Fri, 8 Mar 2002, Jeff Turner wrote:

> As a quick and dirty fix, you might want to try the SGML Open Catalog
> support that David Crossley added. That way you could map "-//NLM//DTD
> QueryResult, 22 Jan 2002//EN" to either the remote URL, or a local file
> (faster).

thanks for the tip. i'd already stumbled across that and it's a very good
solution. still, the underlying problem though seems like a bug and oughta
be fixed or at least noted. according to the system identifer notes from
the xml spec:

http://www.w3.org/TR/REC-xml#dt-sysid

"Unless otherwise provided by information outside the scope of this
specification (e.g. a special XML element type defined by a particular
DTD, or a processing instruction defined by a particular application
specification), relative URIs are relative to the location of the resource
within which the entity declaration occurs."

the system identifier in this case is site absolute, e.g. "/foo/bar.dtd".
seems like it ought to be evaluated in the context of the url from which
the xml was retrieved.

- donald


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to