[jira] [Updated] (XALANJ-2781) implementation of xsl template match pattern schema-element(elemName)

"Mukul Gandhi (Jira)" <[email protected]> Sat, 28 Feb 2026 14:52:00 +0000 (UTC)
Newsgroups gmane.text.xml.xalan.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/XALANJ-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mukul Gandhi updated XALANJ-2781:
---------------------------------
    Fix Version/s: xslt3.0_alpha1

> implementation of xsl template match pattern schema-element(elemName)
> ---------------------------------------------------------------------
>
>                 Key: XALANJ-2781
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2781
>             Project: XalanJ2
>          Issue Type: New Feature
>      Security Level: No security risk; visible to anyone(Ordinary problems in Xalan projects.  Anybody can view the issue.) 
>          Components: transformation, Xalan-interpretive
>            Reporter: Mukul Gandhi
>            Assignee: Mukul Gandhi
>            Priority: Major
>             Fix For: xslt3.0_alpha1
>
>
> I'm creating this jira issue, to track implementation of this new XSL transformation feature on Xalan-J's XSL 3 dev repos branch. The requirements for this are as follows, as per XSLT 3 specification.
> Given that, within an XSL stylesheet there are two template definitions as mentioned below are present.
> 1)
> <xsl:template match="schema-element(abc)">
>   ...
> </xsl:template>
> 2)
> <xsl:template match="abc">
>   ...
> </xsl:template>
> An XML input element 'abc' context item occurs, and an XSL template needs to be selected to process this context element, then an XSL transformation processor shall select the XSL template as follows.
> (a) If an XML input document has been validated with a schema and a top-level element declaration "abc" exist, then XSL template 1) shall be selected for processing.
> (b) If an XML input document has been validated with a schema and a top-level element declaration "abc" doesn't exist, or if schema validation has not been done, then XSL template 2) shall be selected for processing.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)