Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Hazelcat 3.5 - InvalidConfigurationException: cvc-complex-type.2.4.a #6523
Code without xml validation error
Code with xml validation error
If use com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl from runtime no validate error.
I propose to transfer the description of the item "import"
change element "import" to
We have to change 3 files:
The file hazelcast-client-config-3.5.xsd have element "import" is optional and can be several times.
The file hazelcast-config-3.5.xsd have element "import" a required and can be only once.
class AbstractConfigBuilder in hazelcast-3.5.3.jar
It is understood that the elements can not be (minOccurs = "0") or many (maxOccurs = "unbounded")
My project use Apache Xerces 2.11.0. The system falls out of error. We have to adjust the configuration code.
JUnit tests use Xerces from JVM runime. The error is not repeated.
yes, my version is
my output is when i try
My validator is
Can you also post your logs when you start your jvm via
I'm in one of the projects was a problem with saxon.
Other code written earlier, there are no errors.
Last code does not use the Transformer.
So your workaround, i think will solve problems in some
Less dependency on other solutions, the system is easier.
I think that should be selected for the Saxon setting SCHEMA_URI_RESOLVER or SCHEMA_URI_RESOLVER_CLASS. http://www.saxonica.com/documentation/index.html#!configuration/config-features