activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stanlyDoge <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #2040: ARTEMIS-1824 running broker from path w...
Date Tue, 24 Apr 2018 07:41:32 GMT
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.


---

Mime
View raw message