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

Remove setting the access external for XML parsing factories #199

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

flo-dup
Copy link
Contributor

@flo-dup flo-dup commented Dec 2, 2020

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem ?
No

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior? (You can also link to an open issue here)
If a user of single-line-diagram is using Xalan 2.7.2 (latest version), or embeds another TransformerFactory or DocumentBuilderFactory which does not support ACCESS_EXTERNAL_DTD or ACCESS_EXTERNAL_STYLESHEET, creating the svg file will throw an exception

What is the new behavior (if this is a feature change)?
While waiting for a better solution to be found, the ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_STYLESHEET attributes are not set to DocumentBuilderFactory / TransformerFactory used.

Does this PR introduce a breaking change or deprecate an API?
No

Other information:
A related issue has been created (#200).

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@sonarcloud
Copy link

sonarcloud bot commented Dec 2, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability E 2 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (1.8.0_275) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 11.
Read more here

@flo-dup flo-dup merged commit 8ce5167 into master Dec 2, 2020
@flo-dup flo-dup deleted the remove_setting_external_access branch December 2, 2020 13:05
flo-dup added a commit that referenced this pull request Dec 2, 2020
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
flo-dup added a commit that referenced this pull request Dec 8, 2020
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
flo-dup added a commit that referenced this pull request Jan 28, 2021
flo-dup added a commit that referenced this pull request Jan 28, 2021
…199)"

This reverts commit 8ce5167.

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
flo-dup added a commit that referenced this pull request Jan 28, 2021
* reverts PR #199 

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.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.

None yet

2 participants