Skip to content

Handle xml:base when parsing XSLT #21

@ndw

Description

@ndw

I don't know if this is worth addressing, given that it's probably unlikely in practice, but it occurs to me that the code which parses XSLT looking for xsl:include and xsl:import elements isn't currently sensitive to xml:base changes.

Consider:

<xsl:stylesheet xml:base="/path/to/somewhere/">
   <xsl:include href="foo.xsl"/>
   ...

The included stylesheet is /path/to/somewhere/foo.xsl irrespective of what the URI of the stylesheet is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions