This story was originally published on HackerNoon at:
https://hackernoon.com/everything-you-need-to-know-about-xml-schema-validation-11-in-java.
In this post, I described my journey implementing XSD 1.1 validation in Java. It’s much less easy than I had expected in the first place
Check more stories related to programming at:
https://hackernoon.com/c/programming.
You can also check exclusive content about
#xml,
#xml-schema-validation,
#xsd,
#xsd-1.1,
#validation,
#java,
#xerces,
#hackernoon-top-story, and more.
This story was written by:
@nfrankel. Learn more about this writer by checking
@nfrankel's about page,
and for more stories, please visit
hackernoon.com.
The Java JDK uses a wrapped Xerces implementation for parsing. The implementation is stuck on XSD validation 1.1, which is not supported in XSD 1.0. The solution is to use the Xerces-J implementation instead.