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

Unable to import musicxml which refers to www.musicxml.org/dtds/partwise.dtd #461

Closed
milnak opened this issue Aug 9, 2024 · 2 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@milnak
Copy link

milnak commented Aug 9, 2024

Repro

In MuseScore 4 open a chart with chords.

File/Export:

  • Main score
  • Format: Music XML
  • File type: Uncompressed (*.musicxml)

Click "export..."

Rename the exported file to "name.xml"

Issue 1: JJazzLab doesn't support "musicxml" extension.

Open jjazzlab and choose File > Import Songs...

open "name.xml".

Issue 2: Receive the following:

nu.xom.ParsingException: The markup declarations contained or pointed to by the document type
declaration must be well-formed. at line 1, column 2 in http://www.musicxml.org/dtds/partwise.dtd

Sample file: example.zip

@jjazzboss jjazzboss added the bug Something isn't working label Aug 19, 2024
@jjazzboss jjazzboss added this to the 4.1.1 milestone Aug 19, 2024
@jjazzboss jjazzboss added wontfix This will not be worked on and removed bug Something isn't working labels Aug 20, 2024
@jjazzboss jjazzboss removed this from the 4.1.1 milestone Aug 20, 2024
@jjazzboss
Copy link
Owner

jjazzboss commented Aug 20, 2024

Actually this is not a bug, it's just that the referenced dtd http://www.musicxml.org/dtds/partwise.dtd in your file is not available anymore. I found other people complaining about this on MuseScore forum.

W3C has put the dtd files on GitHub, so I replaced the original dtd by https://raw.githubusercontent.com/w3c/musicxml/v4.0/schema/partwise.dtd then JJazzLab successfully imported your file.

@jjazzboss jjazzboss removed the wontfix This will not be worked on label Aug 20, 2024
@jjazzboss jjazzboss reopened this Aug 24, 2024
@jjazzboss
Copy link
Owner

I found a way to provide the dtd file locally, so you won't have to update the file.

@jjazzboss jjazzboss added the bug Something isn't working label Aug 24, 2024
@jjazzboss jjazzboss added this to the 4.1.1 milestone Aug 24, 2024
@jjazzboss jjazzboss changed the title Unable to import musicxml exported from MuseScore 4 Unable to import musicxml which refers to www.musicxml.org/dtds/partwise.dtd Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants