Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for RFC 8141 #479

Open
carlos-verdes opened this issue Oct 19, 2022 · 0 comments
Open

Support for RFC 8141 #479

carlos-verdes opened this issue Oct 19, 2022 · 0 comments
Assignees

Comments

@carlos-verdes
Copy link

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();
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants