-
Notifications
You must be signed in to change notification settings - Fork 26
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
issue with xsd referencing #66
Comments
Hi, could you please provide a minimal example which is currently failing? |
Main xsd got following reference
```
<include schemaLocation="testmgmt/survey.xsd"></include>
```
survey.xsd
```
<xsd:include schemaLocation="Question.xsd"/>
```
When I try to convert to json, getting following error:
Always getting similar error with the third xsd refernces.
```
(7) Exit: remove_node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,[6,3,1,0]) # <1602>
CHR: (7) Redo: remove_node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,[6,3,1,0]) # <1602>
CHR: (6) Fail: remove_node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,[6,3,1,0]) # <1602>
CHR: (7) Wake: remove_node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,[8,3,1,0]) # <1602>
CHR: (8) Wake: node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,ns(xsd,http://www.w3.org/2001/XMLSchema),annotation,[1,1,0],[_139004|_139018],[1,0]) # <478>
CHR: (9) Wake: remove_node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,_123302) # <908>
CHR: (9) Exit: remove_node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,_123302) # <908>
CHR: (9) Redo: remove_node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,_123302) # <908>
CHR: (8) Fail: remove_node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,_123302) # <908>
CHR: (8) Exit: node(/Users/test/Documents/dev/apic/xsd2json/testmgmt/Question.xsd,ns(xsd,http://www.w3.org/2001/XMLSchema),annotation,[1,1,0],[_139004|_139018],[1,0]) # <478>^CAction (h for help) ? exit
```
Thanks,
Purush Das
|
Hi |
Same is happening to me, with this XSD https://github.com/w3c/musicxml/blob/gh-pages/schema/musicxml.xsd, which references 2 other files. The process never ends. |
Hi,
This is a great tool.
I'm facing issue in the following scenario.
XSD1.....>XSD2------>XSD3.
It's throwing out error (going to infinite loop)while trying to reference xsd3.
Is there a setting that restricting to do get 3rd level reference?
Thanks,
Purush
The text was updated successfully, but these errors were encountered: