Giter Club home page Giter Club logo

Comments (11)

fnogatz avatar fnogatz commented on May 26, 2024

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.

justjacksonn avatar justjacksonn commented on May 26, 2024

That worked.. returned:

{
"type": "string"
}

other thoughts on what may be wrong?

from xsd2json.

fnogatz avatar fnogatz commented on May 26, 2024

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.

PiQ99 avatar PiQ99 commented on May 26, 2024

A little debugger will be sooo helpful, I guess! Nice :)

from xsd2json.

justjacksonn avatar justjacksonn commented on May 26, 2024

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.

 avatar commented on May 26, 2024

For instance the xsd's here: http://schemas.liquid-technologies.com/prism/2.0/
returns

ERROR: Out of global stack

from xsd2json.

PiQ99 avatar PiQ99 commented on May 26, 2024

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.

PiQ99 avatar PiQ99 commented on May 26, 2024

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.

Fannon avatar Fannon commented on May 26, 2024

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.

PiQ99 avatar PiQ99 commented on May 26, 2024

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.

 avatar commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.