Skip to content

RFC: Add Mustang to the gem? #27

@halfbyte

Description

@halfbyte

So, after having to solve a couple of hairy validation issues lately, I came to the conclusion that the official Factur-X schemas are more or less useless in that they do not test a lot of the business rules defined in the documentation.

Mustangproject.org's Mustang-CLI does a much better job, at the expense of being somewhat massive. It is, though, somewhat of a Factur-X swiss army knive and can attach XML to PDF's (Which would address #12).

It would increase the size of the Gem about x10, with the JAR clocking in at around roughly one Chromium (70MB). This feels a bit excessive.

Alternatively, I could add a script that would download the latest known working Mustang version and install it, but this would break in systems like Nix where the gem ends up in a read only file system. We could introduce an environment variable pointing to the JAR path.

Anyone any better ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions