cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Flynn, Peter" <pfl...@ucc.ie>
Subject RE: Switching to Saxon
Date Wed, 29 Dec 2010 23:24:10 GMT
On 22/12/10 10:16, Johan Cwiklinski wrote:
[...]
> I always use the doc-available($uri) function so I can print $uri using
> xsl:message if there is an error:

Unfortunately I'm still using XSLT 1.0 in this application because the
scripts also need to run elsewhere in an environment where XSLT2 is not
available. But that will change soon :-)

>> b. Any ambiguity in template selection (normally a recoverable warning
>> if you run Saxon from the command line) returns the "Ambiguous..."
>> message as an error. Is this configurable? (ie get Saxon to not pass an
>> error status to Cocoon, but just log a warning, and continue recoverably
>> as it does in commandline mode?).
>
> I do not know.
> When I've got ambiguity in template selection, I usually solve that in
> the XSL file ;)

Yep. Fixed now...thanks for all the help.

///Peter

Mime
View raw message