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 »

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: 389
Joined: Thu Jul 01, 2004 12:29 pm

Re: Convert XSD to JSON without changing names

Post by tavy »

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: 389
Joined: Thu Jul 01, 2004 12:29 pm

Re: Convert XSD to JSON without changing names

Post by tavy »

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