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
If the value associated with the meta in the view is null, we should be generating an empty element, just as we do for any other null value.
Suggest XmlViewWriter.writeMeta should be implemented as:
XmlViewWriter.writeMeta
if (event.getValue() == null) { writeEmptyElement(event.getName(), XmlViewConstants.META_NAMESPACE, XmlViewConstants.NULL_QNAME); } else { writeAttributeString(event.getName(), XmlViewConstants.META_NAMESPACE, event.getValue().toString()); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If the value associated with the meta in the view is null, we should be generating an empty element, just as we do for any other null value.
Suggest
XmlViewWriter.writeMeta
should be implemented as:The text was updated successfully, but these errors were encountered: