[jira] [Updated] (XALANJ-2656) xslt 3.0 instruction xsl:attribute element attribute 'select' implementation

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

Mukul Gandhi updated XALANJ-2656:
---------------------------------
    Summary: xslt 3.0 instruction xsl:attribute element attribute 'select' implementation  (was: implementation of xslt xsl:attribute element's "select" attribute, for xalanj interpretive processor)

> xslt 3.0 instruction xsl:attribute element attribute 'select' implementation
> ----------------------------------------------------------------------------
>
>                 Key: XALANJ-2656
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2656
>             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: Xalan-interpretive
>            Reporter: Mukul Gandhi
>            Assignee: Mukul Gandhi
>            Priority: Major
>             Fix For: xslt3.0_alpha1
>
>         Attachments: xsl_attribute_test_files.zip
>
>
> I'm creating this jira issue, to track specific enhancements to XSLT xsl:attribute element implementation by xalanj.
> XSLT 1.0 didn't allow xsl:attribute element to have an "select" attribute. But XSLT 3.0 allows this.
> The XSLT 3.0 spec, says following (among other things) about xsl:attribute element,
> "The string value of the new attribute node may be defined either by using the select attribute, or by the sequence constructor that forms the content of the xsl:attribute element. These are mutually exclusive: if the select attribute is present then the sequence constructor must be empty, and if the sequence constructor is non-empty then the select attribute must be absent."
> I've modified the xalanj codebase a bit (on xalan-java repos's branch xalan-j_xslt3.0), to implement xsl:attribute element to have an "select" attribute (in addition to, xsl:attribute element to have child contents which was already implemented by xalanj).
> Few working test cases, for this jira issue have been attached as zip archive.



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