OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Error from DocBook xsls: XTTE0780: Required item type of result of function f:normalize() is document-node();

Hash: SHA1

On 06/19/2012 04:30 PM, Jirka Kosek wrote:
> On 19.6.2012 22:14, David Cramer wrote:
>> I get the following error:
>> Error on line 31 of 4-normalize.xsl: XTTE0780: Required item type
>> of result of function f:normalize() is document-node();
> Hi David,
> I have fixed this in
> https://github.com/docbook/xslt20-stylesheets/commit/929bf17e5017a9c71b9adec947424cc0949d9522
>  but I still don't understand why error is raised in the first
> place.

Thanks, that does the trick. Yes, it's puzzling that the other
preprocessing functions work fine without this.

>> I'm still trying to get my head around the way the xsls do 
>> preprocessing, but I thought I'd see if anybody has seen this
>> error.
> Look at xslt/base/common/preprocess.xsl. There is function
> f:preprocess which applies pipeline of preprocessing steps. In
> order to improve performance only steps enabled by preprocess
> parameter are applied. Preprocessing steps are done in a fixed
> order, and there are two steps for doing user-defined document
> massage -- preprofile and postprofile. By default those are just
> identities.

Ok, thanks. I want to use normalize to have the autoglossary code

> Let me know if you hit any problems. I wrote this code 2 years ago
> and not used it since then.

I notice that the preprocessing steps are only used by the monolithic
html xsls and not by chunk.xsl. I'll take a stab at moving it over to
chunk.xsl as well.

Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]