-
Notifications
You must be signed in to change notification settings - Fork 114
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
Error while parsing rnc #1730
Comments
Hi @asm0dey Since you provided the schema you try to generate java classes from, I'll try to provide a PR that fixes the error. Regards |
@laurentschoelens thank you very much! The generation of a correct code model from this schema is very interesting thing by itself because of complex hierarchies |
By curiosity : which tool do you use to generate java classes ? |
Do you mean source code? I actually generate Kotlin with KotlinPoet |
Yes sorry, generate the source code from the rnc schema |
JavaPoet and KotlinPoet are always my tools of choice for the code generation |
Reproduced |
Co-authored-by: Lukas Jungmann <[email protected]>
Hi everybody,
I'm trying to parse opds.rnc, which includes atom.rnc with ModelLoader.load from
com.sun.xml.bind:jaxb-xjc:4.0.3
I've got a following exception:
Indeed, sometimes the following lines:
returns the
null
comments. It seems to me that it happens when SchemaBuilder contains a[#document: null]
.It seems that it happens when
CompactSyntax
handlesinclude
. This statement is supported by the fact that when I parse just atom.rnc no errors happens.The text was updated successfully, but these errors were encountered: