Skip to content

[Bug]: JUCE generates an invalid manifest.ttl for an LV2 plugin when the preset names have characters that require escaping #1568

@Kirtai

Description

@Kirtai

Detailed steps on how to reproduce the bug

When compiling the LV2 plugin version of https://github.com/giulioz/jv880_juce, many of the presets in the generated manifest.ttl contain the characters / and ". According to the RDF spec, these characters should be escaped with a / backslash.

e.g.

rdfs:label " \ Empire" ; should instead be rdfs:label " \\ Empire " ;
rdfs:label "18"Hi-Hats1 " ; should instead be rdfs:label "18\"Hi-Hats1 " ;

manifest.ttl.zip

What is the expected behaviour?

The generated manifest.ttl should contain correctly escaped \ and ".

Note that the RDF spec also mandates \ escaping newlines and carriage returns but these were not in the manifest.ttl I found. They should be escaped too.

Operating systems

Linux

What versions of the operating systems?

EndeavourOS (Arch Linux derivative)

Architectures

x86_64

Stacktrace

Plug-in formats (if applicable)

LV2

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

The bug is present on the develop branch

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions