Skip to content

sort the prefixes by popularity #17

@VladimirAlexiev

Description

@VladimirAlexiev

Run this several times

perl -MRDF::NS -e "print RDF::NS->new(1)->PREFIX('http://www.w3.org/2001/XMLSchema#')"

and you get different answers, eg xs xds etc.

The doc says "If multiple prefixes are defined, it is not determinstic which one is returned!" But I wonder why it has to be so:

If you ask http://prefix.cc about http://www.w3.org/2001/XMLSchema# it confidently answers xsd. It has these voting buttons so worse alternatives like xs xds are not returned. Can't the module use this voting info?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions