Hi Ludovic, The core identifier format isn't intended to be something that's configurable in Fedora -- PIDs always have a namespace-id followed by ":" followed by a local-id. The best you can do in your case is to use "uuid" as your namespace.
- Chris On Mon, Dec 6, 2010 at 9:50 AM, Ludovic Deravet <[email protected]> wrote: > Hi Greg, > In fact, I really want to avoid having the namespace in the PID to simplify > the URIs. So instead of having: > http://hostname/fedora/get/objects/mynamespace:e9de9812-5506-48ca-9f80-531f8568d57d > It will be: > http://hostname/fedora/get/objects/e9de9812-5506-48ca-9f80-531f8568d57d > Regards, > Ludovic > On Mon, Dec 6, 2010 at 3:13 PM, Ludovic Deravet <[email protected]> > wrote: >> >> Hello, >> I would like to know if it is possible to change the default PID format >> that is supported by Fedora. By default, it is 'namespace:alphanumericvalue' >> but we would like to only have 'alphanumericvalue' >> (e.g. e9de9812-5506-48ca-9f80-531f8568d57d). I have check the Fedora's >> configuration files but couldn't find where the default format is enforced >> or could be changed. >> If I do the following change: >> <xsd:simpleType name="pidType"> >> <xsd:restriction base="xsd:string"> >> <xsd:maxLength value="64"/> >> <xsd:pattern value="(([A-Za-z0-9])|-|\.|~|_|(%[0-9A-F]{2}))+"/> >> </xsd:restriction> >> </xsd:simpleType> >> And then try to ingest a FOXML sample file through the Flash Admin >> interface, I can't because the format is not recognized. >> And when I try to execute a search using the Resource Index, I'm getting >> the following exception: >> ERROR 2010-12-06 14:39:41.448 [http-8080-1] (RISearchServlet) Unexpected >> error servicing API-A request >> org.trippi.TrippiException: Unrecognized format: >> e9de9812-5506-48ca-9f80-531f8568d57d >> Thanks in advance for your help. >> Kind regards, >> -- >> Ludovic > > > > -- > Ludovic > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
