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

Dependency Error: xmldom allows multiple root nodes in a DOM #39

Open
alvaldes opened this issue Nov 3, 2022 · 0 comments · May be fixed by #38
Open

Dependency Error: xmldom allows multiple root nodes in a DOM #39

alvaldes opened this issue Nov 3, 2022 · 0 comments · May be fixed by #38
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@alvaldes
Copy link
Collaborator

alvaldes commented Nov 3, 2022

Descciption

xmldom allows incoming documents to have multiple root element nodes. This appears to me to be a violation of the W3C DOM
Level 2 Core Specification
:

[…] Each document contains zero or one doctype nodes, one root element node, and zero or more comments or processing instructions; the root element serves as the root of the element tree for the document. […]

— from “What the Document Object Model is” (emphasis mine)

The root node is the unique node that is not a child of any other node. All other nodes are children or other descendants of the root node.

— from the Glossary (emphasis mine)
...more 👉🔗

Solution

Update to version 0.7.7 or higher

See the ERROR here 👇

https://github.com/Sesame-Disk/cool-storage-microfrontend/security/dependabot/5

@alvaldes alvaldes assigned alvaldes and aguzmans and unassigned alvaldes Nov 3, 2022
@alvaldes alvaldes added the dependencies Pull requests that update a dependency file label Nov 3, 2022
@alvaldes alvaldes linked a pull request Nov 3, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants