Skip to content

Conversation

@zvigrinberg
Copy link
Contributor

@zvigrinberg zvigrinberg commented Jul 7, 2024

Description

In maven Component analysis , we're using xml-fast-parser in order to retrieve direct dependencies from pom.xml.
in case there is a string version in the format of "x.0" ( x is an integer, x >=0 ) , then by default it omits the ".0" and convert it to number as integer - x.

We need to configure xml fast parser to ignore such cases, so it will let the string become as is in case of format x.0 ( for every natural positive integer x >= 0).

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
@zvigrinberg zvigrinberg changed the title hotfix: maven component analysis xml wrong parsing of x.0 versions ( x >=0) fix: maven component analysis xml wrong parsing of x.0 versions ( x >=0) Jul 7, 2024
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants