Project

Profile

Help

Bug #1010

closed

Stylesheet param with xs:integer type is not serializable

Added by Anonymous over 16 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Legacy ID:
sf-1938063
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

SourceForge user: hschmitt

A global stylesheet param like:

<xsl:param name="global-integer" as="xs:integer">200</xsl:param>

throws a java.io.NotSerializableException when serializing with net.sf.saxon.Compile.

The Exception does not occur, when ommitting as="xs:integer"

Windows Vista 32bit

Saxon 9.0.0.4J from Saxonica

Java version 1.6.0_03


Files

IntegerParamSerializeBug.xslt (9.56 KB) IntegerParamSerializeBug.xslt Anonymous, 2008-04-08 19:26
Actions #1

Updated by Anonymous over 16 years ago

SourceForge user: mhkay

Logged In: YES

user_id=251681

Originator: NO

I have placed a patch for this in Subversion.

The problem more specifically occurs when a global parameter (perhaps also a global variable) has its initial value defined by the element content rather than a select expression and there is an "as" attribute.

Please note that I generally ask for suspected bugs to be notified first via the mailing list or forum. This is mainly to ensure that the bug register is not cluttered with requests for help and advice. Although your entry cannot be faulted, you should also note that if you don't assign it to anybody, it only gets picked up by chance.

Actions #2

Updated by Anonymous over 16 years ago

SourceForge user: mhkay

Logged In: YES

user_id=251681

Originator: NO

Fixed in 9.0.0.5

Please register to edit this issue

Also available in: Atom PDF