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

Re: [libvirt] [PATCH] check for XHTML1 DTDs availability

On Wed, Aug 13, 2008 at 03:50:10PM +0200, Chris Lalancette wrote:
> Daniel Veillard wrote:
> > On Wed, Aug 13, 2008 at 08:10:36AM -0400, Daniel Veillard wrote:
> >>   Well apparently the XSL output is post-processed by xmlling --valid --format
> >> which then introduce a dependancy on the XHTML1 DTDs . If you don't have them
> >> installed locally you will get validation error messages when building
> >> in docs and the output will diverge.
> >>
> >>   The simplest solution for you is probably to make sure you have XHTML1
> >> DTDs installed in your local XML catalog, which on RHEL/Fedora is as simple
> >> as having the package xhtml1-dtds installed on your machine(s).
> > 
> >   The patch enclosed adds detection for the XHTML1 dtds at runtime on the 
> > build machine, and should solve the problem of diverging docs, replace the
> > XML validity warnings by a more general message and add the requirement
> > when building the RPM. I guess this should solve the issue
> Yes, that did it for me.  I like the warning message too; at least that gives
> someone a fighting chance of figuring out what to install if they do want to
> generate the docs for some reason.

  Okay, that's far from perfect but better than the status quo, so
  commited !



Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

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