Guiseppe and I had a conversation about this a while back (sorry Guiseppe, I got busy and never got it fully working) and it looks like a bit of work. You need a reader that can resolve external entities (out of the box, only the validating reader does this), but then I recall that Guiseppe's specific problem brought up more issues (maybe a custom XmlResolver? I'll have to go back and find the old emails to remember where we left it off).
-----Original Message-----
Ian,
The problem is that NAnt uses a not-validating XML reader
(see StyleTask.cs at line 240), while DocBook requires a
validating XML reader. As already discussed, the idea would
be to add a new property to the <style> task
(e.g. validate="true") and let NAnt validate XML documents
using the XMLValidatingReader class.
Gius_.
> -----Original Message-----
> From: Ian MacLean [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 10, 2003 9:44 AM
> To: Greco Giuseppe
> Cc: 'Jaroslaw Kowalski'; [EMAIL PROTECTED]
> Subject: Re: [Nant-users] docbook.xsl and nant
>
>
> Gius,
> Are you sure about that ? Have you tried a simple .net app using the
> system.xml.dll xslt processor ? It may be that docbook.xsl is using
> constructs and/or extensions not supported by the .net processor.