cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: problems parsing xml from a foreign source in c2.0.0
Date Fri, 08 Mar 2002 04:21:20 GMT
> From: Donald Ball [mailto:balld@webslingerZ.com]
> 
> 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.

Send a patch ;)

Vadim

> 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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message