Skip to content

Saxon Custom Extensions in XSLT are considered problems #156

@MattCousinsSapiens

Description

@MattCousinsSapiens

This is a minor issue for me, but wanted to make sure I am not overlooking an approach via settings or some existing means.

My XSL files can reference java classes directly using a homegrown extension written for Saxon. However the plugin as of now highlights these references as an issue. Is there away to get these problems ignored? Perhaps by using the fact the namespace is prefixed with "java:" as this also gets highlighted even if I am using a standard java class instead of my custom ones.

As an example:
<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:jndiUtils="java:com.adaptik.util.JNDIUtils"
exclude-result-prefixes="jndiUtils">

<xsl:variable name="lookupURL" select="jndiUtils:getJNDILookup('url/application')"/>

Any thoughts would be appreciated, but its not breaking anything.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions