1. PIDsA PID is a unique, persistent identifier for a Fedora digital object. PIDs may be user-defined or automatically assigned by a repository. In this section we describe the syntactic and normalization considerations for PIDs. 1.1 SyntaxPIDs are case-sensitive and consist of a namespace prefix and a simple string identifier. The syntax is described below using augmented BNF: object-pid = namespace-id ":" object-id The maximum length of a PID is 64 characters For convenience, we provide the following single regular expression, which can be used to validate a normalized PID string: ^([A-Za-z0-9]|-|\.)+:(([A-Za-z0-9])|-|\.|~|_|(%[0-9A-F]{2}))+$
1.2 Examples
1.3 NormalizationHEXDIG characters may occur in lowercase, but should be capitalized for normalization purposes. The separator character may occur as "%3A" or "%3a", but should be changed to a colon ":" for normalization purposes. 2. URIs for ObjectsIt is often useful to have Uniform Resource Identifiers ("URIs") that refer to Fedora Objects. For instance, semantic web technologies require the use of a URI to identify a subject. Other benefits of exposing and using URIs are described in Section 2 of the W3C's Architecture of the World Wide Web. Every Fedora object has an implicit URI associated with it. These identifiers exist within the "fedora" namespace of the info URI scheme. We chose this URI scheme due to it's resolution protocol independence and syntactic freedom. 2.1 SyntaxThe URI for a Fedora object is constructed simply by appending the PID to the string "info:fedora/". 2.2 Examples
2.3 NormalizationTo normalize an object URI, normalize the PID part as described above. 3. URIs for DisseminationsEvery dissemination of an object also has an implicit URI associated with it. This is useful when describing or referring to the the representations provided by a digital object. 3.1 SyntaxDissemination URIs take one of two forms. In the case of a method call the URI indicates the behavior definition and the method (along with any parameters). In the case of a datastream dissemination, the URI indicates the datastream id. dissemination-uri = "info:fedora/" pid "/" ( method-call / datastream-id ) Note that datastream-ids and method-names may consist of XML NCName characters. NCName characters that are not URI-safe must be escaped using one to four escaped UTF-8 octets per character, each of the form "%" HEXDIG HEXDIG. 3.2 Examples
3.3 NormalizationTo normalize a dissemination URI:
Copyright © 2008 Fedora Commons, Inc. |