On 2009-07-29, Ludovic Claude <[email protected]> wrote:

> I'm trying to package xmlunit for Debian.
> My problem is that xmlunit is using the xsl for Docbook version 1.72,
> and Debian has packaged Docbook 1.73.2.

That's not quite true.  The build file talks about 1.72 since that was
the first version I used but I'm pretty sure I've used 1.73.2 when I
re-created the user guide for XMLUnit 1.2 (since this is the only
version I can currently find on the machine I used to create the
release).

> When I run the ant build against this version, I get the following
> error messages:

>      [xslt] : Warning!
> file:/usr/share/xml/docbook/stylesheet/nwalsh/html/autoidx.xsl: line
> 476: L'attribut 'href' est à l'extérieur de l'élément.

I don't speak french but I think I've seen similar messages as well.  It
turned out to not be a problem with the stylesheets but with the XSLT
processor I used.  In my case I ensured I had a recent version of Xalan
when building the userguide (2.7.1 at that time) since the XSLT
transformers of JDK 1.4 or even worse 1.5 and later couldn't work with
the stylesheets.

I'd assume xsltproc or saxon would work as well - but you'd need to
modify the build file to use xsltproc.

Stefan

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Xmlunit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmlunit-general

Reply via email to