scala-uri icon indicating copy to clipboard operation
scala-uri copied to clipboard

Support for RFC 8141

Open carlos-verdes opened this issue 1 year ago • 0 comments

Description I would like to have a parser for RFC 8141 URNs.

Example We can see an example implementation on the next library: https://github.com/slub/urnlib

  URN urn2 = URN.rfc8141().parse("urn:examle:foo/1234?=cq=cz#bar");

  // Access fragment part of a supposedly RFC 8141 compliant URN
  if (urn2.supports(RFC_8141)) {
    String fragment = ((URN_8141) urn2).getRQFComponents().fragment();
  }

carlos-verdes avatar Oct 19 '22 09:10 carlos-verdes