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

Generating mapping error #224

Open
al-anatrini opened this issue Aug 12, 2019 · 0 comments
Open

Generating mapping error #224

al-anatrini opened this issue Aug 12, 2019 · 0 comments

Comments

@al-anatrini
Copy link

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
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 xsd:schema.
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 xsd:schema.
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant