highsource / highsource/jsonix

Generating mapping error

Open
#224 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
369
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Hello,

I’m making some test generating the js mapping with the command line tool. Although it works smoothly, when I try to generate the mappings for a .musicxml document I’m getting the error messages you see below. This seems to happen only with musicxml documents despite the fact I’m using the official musicxml.xsd document. Would you have please any suggestion concerning the origin of this error? I attach the .xjb and .xsd files I'm using for this.

Best regards.

java -jar jsonix-schema-compiler-full.jar -d /Users/alan/Documents/progStuff/jsonix-master/demos/debussyDemo/src/main/webapp/js /Users/alan/Documents/progStuff/jsonix-master/demos/debussyDemo/src/main/resources/musicxml.xsd -b /Users/alan/Documents/progStuff/jsonix-master/demos/debussyDemo/src/main/resources/bindings.xjb

[resources.zip](https://github.com/highsource/jsonix/files/3491855/resources.zip)
[resources.zip](https://github.com/highsource/jsonix/files/3491859/resources.zip)

[WARNING] schema_reference.4: Failed to read schema document 'http://www.musicxml.org/xsd/xml.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .
line 24 of file:/Users/alan/Documents/progStuff/jsonix-master/demos/debussyDemo/src/main/resources/musicxml.xsd

[WARNING] schema_reference.4: Failed to read schema document 'http://www.musicxml.org/xsd/xlink.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .
line 25 of file:/Users/alan/Documents/progStuff/jsonix-master/demos/debussyDemo/src/main/resources/musicxml.xsd

[ERROR] src-resolve: Cannot resolve the name 'xml:lang' to a(n) 'attribute declaration' component.
line 2092 of file:/Users/alan/Documents/progStuff/jsonix-master/demos/debussyDemo/src/main/resources/musicxml.xsd

[ERROR] src-resolve: Cannot resolve the name 'xlink:href' to a(n) 'attribute declaration' component.
line 2210 of file:/Users/alan/Documents/progStuff/jsonix-master/demos/debussyDemo/src/main/resources/musicxml.xsd

[ERROR] org.hisrc.jsonix.execution.JsonixInvoker - The model is null, there was probably a problem parsing schemas.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.