-
Notifications
You must be signed in to change notification settings - Fork 37
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
generate facets and annotations with mappings #64
Comments
Which ones do you need, specifically? I think many are already exported, which ones are you missing? |
Currently there is no facets on the data type I though :
There is only element restriction, like minOccurs and maxOccurs : |
Is JAXB the reason why xs:annotation and simple type facets, e.g., as xs:pattern, xs:length, xs:enumeration, are missing?
It seems the Java community is hurting and JAXB may be another casualty as JavaScript is taking in droves of developers! |
Yes, i do see several similar other issue threads on missing facets minLength, maxLength, pattern. And i am also missing this! |
Hi,
it would be great if the mappings could transport the xsd facets : minLength, pattern (even if they are not fully compatible with JS regex), ..., like it does with minLength/maxLength; and the annotations. I use the mappings to introspect a schema set, and it is far easier to use than the xsd mapped in json with jsonix.
It could be optional to not add weight to the mappings.
Thanks.
The text was updated successfully, but these errors were encountered: