Hitachi

uCosminexus Application Server XML Processor User Guide


A.1 Differences in Behaviors of XSLT Between Versions

The following table lists and describes the differences in behaviors of XSLT between versions.

Table A‒1: Differences in XSLT operations (Comparing version 08-50 and version 08-70)

No.

Condition

Cosminexus XML Processor operations

In version 08-50

In version 08-70 and later versions

1

If XMLEventReader acquired by using the XMLInputFactory.createXMLEventReader() method is specified in the StAXSource constructor argument, and is used as an input source for the Transformer.transform() method

The processing command outside the root element of the input XML document is ignored.

The processing command outside the root element of the input XML document is also transformed.

2

When both of the following conditions are satisfied:

  • The elements in the input XML document for transformers belong to a non-XSLT namespace

  • Transformation is performed by using StAXResult created from XMLEventWriter

An error occurs during transformation or the transformation results are invalid.

Processed normally.

3

When both the following conditions are satisfied:

  • Transformation is performed by using xsl:sort in the style sheet of the transformer

  • Japanese language is specified in the sort key of the style sheet of the transformer

The output results of sorting are different in J2SE 5.0 and Java SE 6.

In version 08-70 or earlier versions

Output results of sorting are different in J2SE 5.0 and Java SE 6.

In version 09-00 and later versions

There is no difference as only Java SE 6 is used.

4

When the output method is xml, and the characters that cannot be expressed with the specified output encoding are output

The output results might differ in J2SE 5.0 and Java SE 6.

In versions up to 08-70

The output results might differ in J2SE 5.0 and Java SE 6.

In version 09-00 or later

There are no differences because only Java SE 6 is used.