CycloneDX / cyclonedx-cocoapods

Creates CycloneDX Software Bill-of-Materials (SBOM) from Objective-C and Swift projects that use CocoaPods.
Apache License 2.0
21 stars 12 forks source link

Author import #15

Closed chuchivic closed 3 years ago

chuchivic commented 3 years ago

When the author and publisher is a key / value it's wrong imported:

<component type="library">
            <author>
                Krzysztof Zabłocki
                <krzysztof.zablocki @pixle.pl=>
            </author>
            <publisher>
                Krzysztof Zabłocki
                <krzysztof.zablocki @pixle.pl=>
            </publisher>
            <name>Sourcery</name>
            <version>0.17.0</version>
            <description> A tool that brings meta-programming to Swift, allowing you to code generate Swift code. * Featuring daemon mode that allows you to write templates side-by-side with generated code. * Using SourceKit so you can scan your regular code.  </description>

The original podspec


"description": "A tool that brings meta-programming to Swift, allowing you to code generate Swift code.\n  * Featuring daemon mode that allows you to write templates side-by-side with generated code.\n  * Using SourceKit so you can scan your regular code.",
          "homepage": "https://github.com/krzysztofzablocki/Sourcery",
          "license": "MIT",
          "authors": {
            "Krzysztof Zabłocki": "krzysztof.zablocki@pixle.pl"
          },
chuchivic commented 3 years ago

The problem is to open the xml in the navigator and save the data from there, it parses the "<" and "$gt;" and broke the xml.

This probably is a feature (get correctly the authors) instead an issue, I'm closing it.

Krzysztof Zabłocki <krzysztof.zablocki@pixle.pl> Krzysztof Zabłocki <krzysztof.zablocki@pixle.pl>