[jira] [Commented] (XALANJ-2823) implementation of xpath 3.1 partial function applications

"Samael Bate (Jira)" <[email protected]>
Newsgroups gmane.text.xml.xalan.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/XALANJ-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18038883#comment-18038883 ] 

Samael Bate commented on XALANJ-2823:
-------------------------------------

I've taken some time today to look at code that's handling operations like _lt_ for date, datetime, etc. It would make sense to add some functionality to the classes such as {_}XSDate{_}, {_}XSDateTime{_}, and _XSTime_ that are currently coming from {{{}xpath31_types-1.0.jar{}}}.

eg:
{code:java}
XSDateTime.fromInstant(Instant)

XSDateTime.toInstant() {code}
this would significantly reduce the code in _DateTimeUtil.java_ which seems to be doing a lot of logic that would be better left to {{java.time}}

 

Should there be a branch on [https://github.com/apache/xerces-j/branches/all] for these xpath 3.1 types?

> implementation of xpath 3.1 partial function applications
> ---------------------------------------------------------
>
>                 Key: XALANJ-2823
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2823
>             Project: XalanJ2
>          Issue Type: Task
>      Security Level: No security risk; visible to anyone(Ordinary problems in Xalan projects.  Anybody can view the issue.) 
>            Reporter: Mukul Gandhi
>            Assignee: Mukul Gandhi
>            Priority: Major
>
> I'm creating this jira issue to track, implementation of XPath 3.1 partial function applications within Xalan-J's XSLT 3.0 dev repos branch.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.