[jira] [Resolved] (VELTOOLS-194) XmlTool getName()/getNodeName() logic should be the same for getPath()/getNodePath()
"Claude Brisson (Jira)" <[email protected]> Thu, 18 Jun 2026 08:51:00 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.velocity.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/VELTOOLS-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Brisson resolved VELTOOLS-194.
-------------------------------------
Fix Version/s: 4.0
Resolution: Fixed
> XmlTool getName()/getNodeName() logic should be the same for getPath()/getNodePath()
> ------------------------------------------------------------------------------------
>
> Key: VELTOOLS-194
> URL: https://issues.apache.org/jira/browse/VELTOOLS-194
> Project: Velocity Tools
> Issue Type: Bug
> Components: GenericTools
> Affects Versions: 3.1
> Reporter: Claude Brisson
> Assignee: Claude Brisson
> Priority: Minor
> Fix For: 4.0
>
>
> In XmlTool, the method getName() first checks get("name") before calling getNodeName().
> The "path" property should follow the same logic. getPath() should be deprecated in favor of getNodePath() so that the new behavior is valid in the next major release.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)