Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

special characters in xsd element names result in javaStyledNames in mapping #71

Open
simessogithub opened this issue Jul 17, 2016 · 2 comments
Assignees

Comments

@simessogithub
Copy link

simessogithub commented Jul 17, 2016

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:

<person></person>
@highsource highsource self-assigned this Jul 17, 2016
@highsource
Copy link
Owner

So I guess you just want original XML element and attribute names?

@simessogithub
Copy link
Author

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants