Hi Peter,

Just to let you know we are currently investigating the problem you found, which is indeed a bug in Saxon 9.5.

Incidentally what led to this error is in the code snippet below from your stylesheet you pass empty sequence for the last 2 arguments of format-dateTime:

'<xsl:value-of select="format-dateTime(xs:dateTime(atom:updated), '[MNn] [D], [Y]', $lang, (), ())"/>'

I have now committed a fix in the area of format-dateTime. You could avoid this by using the 2 argument version of format-dateTime.

I am on the trail of another bug which is causing a crash in your stylesheet.

You can keep track of the bug issue at:


Kind regards,

On 21/04/13 15:52, Rushforth, Peter wrote:
Hi Michael,

Thanks for reporting it. 
You're welcome.  It occurs in 9.5 too.

I've retrieved the attachments from your posting - I won't inflict them on the full list 
Thank you! :-)

- and we'll look into it.
Thank you.

It appears to be a problem with bytecode generation. As a workaround, you can disable bytecode generation using


on the command line, or the equivalent option in the Java API.
Thanks.  I presume this means bytecode is only used when using s9api?  

Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
saxon-help mailing list archived at http://saxon.markmail.org/

O'Neil Delpratt
Software Developer, Saxonica Limited
Email: oneil@saxonica.com
Tel: +44 118 946 5894
Web: http://www.saxonica.com
Saxonica Community Site: http://dev.saxonica.com Saxonica Bug tracking System: https://saxonica.plan.io/