[
https://issues.apache.org/jira/browse/XALANJ-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18038883#comment-18038883
]
Samael Bate edited comment on XALANJ-2823 at 11/17/25 2:36 PM:
---------------------------------------------------------------
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?
was (Author: singingbush):
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]