[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#702225: xalan: can't transform XHTML files

On Mon, Jun 17, 2013 at 05:44:13PM +0200, Vincent Lefevre wrote:
> On 2013-06-17 11:45:37 +0200, Vincent Lefevre wrote:
> > 
> > I disagree. It could have been seen as a wishlist in the past, but
> > since getting the local versions of the DTD's is now *required* in
> > practice for some standard formats, this should now be seen as a
> > real bug.

I understand.

> In case this wasn't clear (after some discussion on identi.ca), the
> DTD is installed locally (via its Debian package). If for some reason,
> xalan can't find it, there should be some documentation about the
> required location. Otherwise the user cannot guess!

It wasn't, thanks.  

I did some additional testing, and a lot of tracing through the Xalan and
Xerces code. Based on this, I don't believe that Xalan will use the local
copies at all.  It seems that a DOCTYPE containing a fully qualified HTTP
URL will always be fetched directly from the URL, without checking for
local copies.

So it's not that Xalan can't find the locally installed DTDs, it's
that it doesn't use them at all.  Which goes back to the lack of support
for catalogs that I referenced in my earlier post.

At this point, I think the best course of action is to foward this

Attachment: signature.asc
Description: Digital signature

Reply to: