[xml/sgml-pkgs] Bug#483503: xmlto is confused by cross-references into an external entity.

Daniel Leidert daniel.leidert at wgdd.de
Sun Jan 25 19:21:54 UTC 2009

Am Donnerstag, den 29.05.2008, 20:34 -0700 schrieb Daniel Burrows:
> On Thu, May 29, 2008 at 04:50:08PM +0200, Daniel Leidert <daniel.leidert at wgdd.de> was heard to say:
> > Am Donnerstag, den 29.05.2008, 07:18 -0700 schrieb Daniel Burrows:
> > >   If I run xmllint on the source, it spits the source back at me.  Ah, I
> > > need to pass "--nooout", in which case it tells me it doesn't like the
> > > &nbsp; and &lambda; entities.
> > 
> > You should check with --nnout --valid (or --xinclude --postvalid, if
> > there are xincludes).
> > 
> > So did you stumble over a bug or were your documents buggy (not
> > well-formed)?
>   I don't know. :-)  When I run "xmllint --noout --valid" on
> aptitude.xml, I get no complaints.  Can I assume that means it's
> well-formed?

Sorry, I forgot to answer this. xmllint tests on well-formedness by
default. With --valid it further tests, that it is valid against a DTD.

However, xmlto performs:

xmllint --noout --xinclude --postvalid ...

(forget about the --xinclude switch) and this fails in this case. I
found this statement by the upstream author of xsltproc:


I will add the --noent switch in xmltos xmllint call to resolve this

Regards, Daniel

More information about the debian-xml-sgml-pkgs mailing list