highsource / highsource/jsonix-schema-compiler

special characters in xsd element names result in javaStyledNames in mapping

Open
#71 2 comments 0 reactions 1 assignee Claimed by @highsource View on GitHub
enhancement
Dominant language
Java
Stars
138
Forks
37
PR merge metrics
No merged PRs in 30d

Description

In a XSD-schema file, if xsd elements names include _ . - etc. they will be mapped to javaStyledPropertyNames:
"person.name" would be mapped to: "personName"

Conclusively if you want to convert json data into xml using that mapping, you have to make sure, that the json fields have javaStyledNames otherwise they are ignored.

This

```
{"person":
{"person.name": "honolulu"}
}
```

will end up in empty element:

```

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.