Skip to content

fn-transform-68 test should use a test method valid in all versions of Saxon #44

@alanpaxton

Description

@alanpaxton

The test is testing for the vendor field being correctly recognized as - 'vendor' : 'Saxonica' - we are using SaxonHE in the eXist implementation of fn:transform, and the vendor string returned from Saxon matches; therefore we attempt to compile and run the stylesheet. Doing so,

the template used in this test:

<xsl:template name='main'>
              <out><xsl:value-of select=""saxon:in-summer-time(xs:dateTime('2016-07-01T00:00:00'), 'Europe/London')""/></out>
            </xsl:template> 

causes an error when run using Saxon HE: QueryError(FOXT0003,err:FOXT0003 Errors were reported during stylesheet compilation.

Further digging suggests that saxon:in-summer-time is restricted to Saxon EE. Presumably therefore the test passes when run with a version of Saxon EE.

We suggest that the test be modified to use a function valid in all versions of Saxon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions