CycloneDX / CycloneDX/cyclonedx-php-library

[IDEA] DOM normalizer: element names are injectable

Open
#244 0 comments 0 reactions 0 assignees View on GitHub
breaking change idea
Dominant language
PHP
Stars
13
Forks
0
PR merge metrics
No merged PRs in 30d

Description

current normalizers create elements with hardcoded tagNames.
The tag names are better to be injectable, so the normalizers are reusable.

background: in XML the definitions are applied by inheritance.
Therefore, the point where a definition is applied may decide what the tagName is.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.