[ 
https://issues.apache.org/jira/browse/XALANJ-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mukul Gandhi resolved XALANJ-2781.
----------------------------------
    Resolution: Later

I've reviewed Xalan-J's codebase on xsl 3 dev repos branch to be able to 
implement the functionality as described in this jira issue, and I feel that I 
can't implement this enhancement early. As of now, I'm resolving this jira 
issue with resolution, to be implemented later.

> 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
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to