Re: Build failure: HTML manual

"Michael(tm) Smith" <[email protected]> Sat, 11 Nov 2006 17:44:20 +0900
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
Markus Hoenicka <[email protected]>, 2006-11-11 03:14 +0100:

> I wanted to transform the manual with a different xslt processor
> ... However, I'm apparently not up to this task:
> 
> - Saxon by itself does not seem to understand Xincludes

Correct. I think you'd either need to:

  A. Add a pre-processing stemp step that first resolves the
     Xincludes before handing off the document to Saxon for the
     XSLT transformation.

  B. Configure Saxon to use a parser that is capable of resolving
     Xincludes

As far as B, I seem to remember hearing that Xerces can now
resolve Xincludes if you have it installed (perhaps along with
some extra jars from the Apache XML Commons) and have done some
config stuff to enable it.

As far as A, you can use "xmllint --xinclude foo.xml > bar.xml" to
generate a bar.xml from foo.xml with all Xincludes resolved. You
can then run Saxon on bar.xml.

> I spare you my usual rants about the state of XML tools compared to
> SGML tools. Is anyone out there able to transform the manual with
> anything else but xsltproc?

I've not tried yet, but I will attempt to and let you know.

I will also update my refdb working directory and try running the
transformation (in my Debian environment) with the default
makefile and see what happens.

Depending on whether that works or not, I'll then try swapping out
xsltproc and/or docbook-xsl versions to see if I can either break
it (if it's already working for) or get it working correctly. Then
I'll report back about where the problem appears to be.

I suspect it's in xsltproc/libxslt/libxml2, but we'll see.

  --Mike

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Refdb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/refdb-devel
smime.p7s (application/x-pkcs7-signature, 2.2 KB) - not displayed