We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have sample xsd that looks like this:
<?xml version="1.0" encoding="utf-8"?> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Data"> <xs:complexType> <xs:sequence> <xs:element name="Age" type="xs:unsignedByte" /> <xs:element name="Under18" type="xs:boolean" > <xs:annotation> <xs:documentation>Resolve age <> 18</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
After generating java code the entity for less-then sign < is not preserved as escaped entity but replaced with proper character <.
<
/** * Resolve age <> 18 * */ @XmlElement(name = "Under18") protected boolean under18;
It leads to invalid HTML. Our project has check for valid JavaDoc and fails on malformed HTML.
The text was updated successfully, but these errors were encountered:
Hi @Lukiz
Thanks for the report of the issue. I'll check this but my guess is that's a jaxb-jxc related bug.
I'll keep you updated soon.
Regards Laurent
Sorry, something went wrong.
I confirm the bug in XJC part. Could you create the corresponding issue in jaxb-ri project ?
Thanks
Created eclipse-ee4j/jaxb-ri#1826
No branches or pull requests
I have sample xsd that looks like this:
After generating java code the entity for less-then sign
<
is not preserved as escaped entity but replaced with proper character <.It leads to invalid HTML.
Our project has check for valid JavaDoc and fails on malformed HTML.
The text was updated successfully, but these errors were encountered: