Github user stanlyDoge commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/2040#discussion_r183632055
--- Diff:
artemis-core-client/src/main/java/org/apache/activemq/artemis/utils/XMLUtil.java
---
@@ -323,7 +323,7 @@ public static double parseDouble(final Node elem) {
public static void validate(final Node node, final String schemaFile)
throws Exception {
SchemaFactory factory =
SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
- Schema schema = factory.newSchema(findResource(schemaFile));
+ Schema schema = factory.newSchema(new
URL(findResource(schemaFile).toURI().toASCIIString()));
--- End diff --
I have updated this test. I hope it is ok to have all special characters on
the sigle line.
---