Skip to content
Discussion options

You must be logged in to vote

On "should" vs "must": as I understand it, the PURL spec actually defines two different classes of PURL. If you follow the procedure documented in How to parse a purl string in its components you end up with an implementation that accepts a much wider range of PURLs than implementations are supposed to generate. I think it's unfortunate that the prescribed algorithm does things like searching for delimiters from both ends of the string, but it's a fairly simple algorithm and it covers up some inconsistencies you might see in input data from different implementations or written by humans.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@petergardfjall
Comment options

@petergardfjall
Comment options

@matt-phylum
Comment options

Answer selected by petergardfjall
@petergardfjall
Comment options

@matt-phylum
Comment options

@petergardfjall
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants