Comments (11)
Hi,
2 hours is definitely too much to wait for - in general the translation process is done in at most half a minute. Could you please run node bin/xsd2json test/xsd/schema.xsd
from within the xsd2json module to check if it is working in general?
from xsd2json.
That worked.. returned:
{
"type": "string"
}
other thoughts on what may be wrong?
from xsd2json.
This normally happens once your XSD contains an element that can't be translated yet. I will write a little debugger the next days that helps to identify those missing translation rules. In the meantime you could paste your XSD here or mail it me at [email protected], so I can investigate the missing parts.
from xsd2json.
A little debugger will be sooo helpful, I guess! Nice :)
from xsd2json.
Yes, some way to identify, point out during the process the line/issue, and then stop the processing would be very good. Thanks. I can't paste/share the XSD as it's internal, sorry. :(
from xsd2json.
For instance the xsd's here: http://schemas.liquid-technologies.com/prism/2.0/
returns
ERROR: Out of global stack
from xsd2json.
I tried my schema again and it also just sits idle in the same time I am writing.
Do you have any new ideas atm? :-)
Nevertheless with version 1.0.1 its working just, more or less, fine. If i would update to version 1.1.0 its not working anymore. Maybe there is also a problem for the other people.
from xsd2json.
Do you have any new information for us or did you have tim eto develop a debugger?
I tried to update to the latest version again, but it still sits idle. :(
from xsd2json.
Hello!
Same problem here. I've enabled debug output and to me it seems that xsd2json didn't crash, but converts just VERY slowly.
In my case I've used it to convert this: http://www.gdv-online.de/snetz/namespaces/KSN/release2013.zip
After 10 hour's its still converting on a desktop i7 CPU. The debugging output indicates no problems and still goes on, however.
Best,
Simon
from xsd2json.
How did you enabled the debug-output option?
Try to convert your thing with version 1.0.1 which still works for me.
But now, I actually need the different xsd-schema types (xs:anyURI, xs:hexBinary, ..), but these came with later versions of xsd2json, that don't work for me, anymore.
from xsd2json.
Hi,
Maybe you have same issue than me: do you have cycles in your XSD (ex: a complextype "A" has an element of type "B" and the complextype "B" has an element of type "A") ?
It definitively makes sense when you are designing, and if the specification has a clear explanation,
Best regards,
Richard
from xsd2json.
Related Issues (20)
- An in-range update of commander is breaking the build 🚨 HOT 2
- stack_limit HOT 5
- An in-range update of tap is breaking the build 🚨 HOT 2
- "Please run npm first" as CLI output HOT 3
- An in-range update of tap is breaking the build 🚨 HOT 2
- Size of file being used HOT 2
- Error: spawn swipl ENOENT HOT 2
- An in-range update of standard is breaking the build 🚨 HOT 2
- ERROR: -g user:main: Syntax error: Operator expected HOT 7
- xsd2json produces empty output or hangs HOT 5
- Error Running xsd2json - SyntaxError: missing ) after argument list HOT 1
- Migrate to latest draft of JSON Schema
- Error when attempting to use xsd2json HOT 3
- Version 10 of node.js has been released HOT 1
- Only got empty object result HOT 2
- Unable to use either the cli or programatically on MacOS HOT 3
- Referenced xsd files to be on corresponding jsonschema files
- ddex standard convertion not working HOT 1
- An in-range update of tap is breaking the build 🚨 HOT 2
- An in-range update of ajv is breaking the build 🚨 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xsd2json.