This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: "Cannot create intensional node-set" error fromSaxon with make.index.markup


Patching saxon did the trick. 

Thanks,
David 

-----Original Message-----
From: Bob Stayton [mailto:bobs@caldera.com] 
Sent: Monday, February 17, 2003 11:16 AM
To: David Cramer
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: DOCBOOK-APPS: "Cannot create intensional node-set" error
from Saxon with make.index.markup

On Mon, Feb 17, 2003 at 02:51:51AM -0600, David Cramer wrote:
> When I turn on make.index.markup I get this error from saxon:
> 
> Making portrait pages on USletter paper (8.5inx11in)
> java.lang.UnsupportedOperationException: Cannot create intensional
> node-set with context dependencies: class
> com.icl.saxon.expr.PathExpression:128
> 	at
> com.icl.saxon.expr.NodeSetIntent.<init>(NodeSetIntent.java:26)
> 	at
> com.icl.saxon.expr.PathExpression.reduce(PathExpression.java:186)
> 	...
> 
> Googling I find this bug logged against Saxon:
> 
>
http://sourceforge.net/tracker/index.php?func=detail&aid=601804&group_id
> =29872&atid=397617
> 
> So I gather you can't use make.index.markup with Saxon? Or perhaps
> someone knows a way to tweak the index.xsl code to avoid Saxon's bug? 

The index code in DocBook XSL is complex, to say the
least.  Every time I try to work with it I have to review
my five pages of notes so I understand what the complex
expressions are doing. In this case, since there is no
indication of the line number causing the problem, finding
the cause of this error would not be easy.

I did notice, however, that the saxon bug report includes
a patch for Saxon.  You might try that.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]