Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use javax.xml.xpath.* instead of org.jdom2.* #23

Open
ca-stefan-cordes opened this issue Dec 14, 2020 · 2 comments
Open

Use javax.xml.xpath.* instead of org.jdom2.* #23

ca-stefan-cordes opened this issue Dec 14, 2020 · 2 comments

Comments

@ca-stefan-cordes
Copy link
Contributor

Currently the org.jdom2.* is used for xpath and xml document handling but the
<artifactId>sonar-xml-parsing</artifactId>
which has some nice features for xml file line location handling (see #15 ) the
jdom2 should be removed and replaced by javax.xml.*

@abhayagarwalonline
Copy link

Hello

I want to try javax.xml library.
Please let me know the version of javax.xml we need to use.
maven coordinates ?

Thanks
Abhay Agarwal
Mulesoft Technical Architect

@ca-stefan-cordes
Copy link
Contributor Author

Hi Abhay,
the javax.xml.* is bundled with the jre.
The implementation used should best be the one used by sonar:

image

which comes transient from

		<dependency>
			<groupId>org.sonarsource.analyzer-commons</groupId>
			 <artifactId>sonar-xml-parsing</artifactId>
			 <version>1.12.0.632</version>
		</dependency>

which already is in the pom.xml since #15

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

No branches or pull requests

2 participants