Convert XSD to JSON without changing names

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
nachtigall
Posts: 1
Joined: Tue Apr 07, 2020 4:43 pm

Convert XSD to JSON without changing names

Post by nachtigall » Tue Apr 07, 2020 5:02 pm

Hi,
I tried out the tool to convert XSD to JSON schema. It works better than any other tool I tried out so far, but there is some strange behaviour when it comes to uppercase letters or underscores: They are in many cases converted to camelCase style, but not always (depending on the location in the schema, where the name occurs).

Examples:
MLK--> mlk
Mlk --> mlk
MLk --> mLk
MLKbla --> mlKbla
MLKBla --> mlkBla
blaMLK --> blaMLK (this remains)
blaMLKbla --> blaMLKbla (this remains)
MLK_bla --> mlkBla
bla_MLK --> blaMLK

I need to keep uppercase letters or underscore in names, i.e. MLK --> MLK and MLK_bla --> MLK_bla.
Would be very nice if you can fix this.

Thanks and regards
Ruth

tavy
Posts: 219
Joined: Thu Jul 01, 2004 12:29 pm

Re: Convert XSD to JSON without changing names

Post by tavy » Wed Apr 08, 2020 2:09 pm

Hello Ruth,

Thanks very much for your feedback.
I added an issue on our issue tarker to fix this problem in a future Oxygen release. We will update this thread when the issue will be solved.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com

tavy
Posts: 219
Joined: Thu Jul 01, 2004 12:29 pm

Re: Convert XSD to JSON without changing names

Post by tavy » Wed May 20, 2020 2:05 pm

Hello Ruth,

We just released Oxygen XML Editor 22.1.
Please note that the issue that you reported was solved. Thanks for your feedback.

Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply