Github user cestella commented on the issue:

    https://github.com/apache/incubator-metron/pull/402
  
    @justinleet It's a good point you make and a very good catch.  I am using 
URIs specifically because if Java doesn't know about the protocol scheme, then 
it bails.  I'd hate for someone to ingest URLs of a custom scheme or a scheme 
that is more esoteric than is supported by Java and have it bail.
    
    That being said, after further investigation, URLs are not a subset of 
URIs.  As per 
http://stackoverflow.com/questions/176264/what-is-the-difference-between-a-uri-a-url-and-a-urn/1984225#1984225:
    
    > Not "all URLs are URIs". It depends on the interpretation of the RFC. For 
example in Java the URI parser does not like [ or ] and that's because the spec 
says "should not" and not "shall not".
    
    I'll have to consider whether or not I want to revert back to URL's and 
make a comment for further study/analysis or whether I want to try something 
else here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to