There's also the database varchar restrictions. Particularly with the
legacy llstore implementation, the "token" field in the
datastreamPaths table is currently limited to around 200 characters.
That holds the pid, a delmiter, the datastream id, another delimiter,
then the datastream version id. Altogether it's 64 + 1 + 64 + 1 + 64
max characters for that field currently.

I'm not opposed to increasing the max length in future versions, but I
agree it's not a trivial change. Going beyond 255 chars in a varchar
field may mean changing the field type in order to get past the 255
length with some databases (like older versions of MySQL). Would there
be a significant performance impact? Hard to tell.

- Chris

On Thu, Mar 31, 2011 at 7:12 AM, Steve Bayliss
<stephen.bayl...@acuityunlimited.net> wrote:
> Hi Ben
>
> The simple answer is that changing this in the XSD won't be sufficient -
> there's a PID class that does some java checking also (possibly elsewhere in
> the code there are checks also).
>
> As a general point it wouldn't I think make sense to allow any arbitrary
> string as a Fedora PID - however if there would be real value in increasing
> the current limit maybe that is something that should be looked at.
>
> What sort of maximum length would you like to see?
>
> I would guess that increasing the length could have some performance
> implications - I'm thinking of the SQL database indexing; maybe people have
> some thoughts on this.
>
> Regards
> Steve
>
>> -----Original Message-----
>> From: Benjamin Ryan [mailto:b.r...@leeds.ac.uk]
>> Sent: 30 March 2011 13:21
>> To: fedora-commons-users@lists.sourceforge.net
>> Subject: [fcrepo-user] Length of OBJID attribute
>>
>>
>> Hi,
>>   I have hit a snag with the OBJID attribute.
>>   The docs say that the maximum length is 64 (I know this is
>> defined in the XSD) but I use GUIDs plus other strings to
>> construct PIDs and so have exceeded the max length.
>>   Can I just change this in the XSD or will this break
>> something else (I am not too worried about portabibilty at
>> the moment)?
>>   If this cannot be changed just in the XSD would it possible
>> to request a config option for this in a later release?
>>
>> Regards,
>>   Ben
>> ---------------------------------------------------------------------
>> Dr Ben Ryan
>> Timescapes Archive Technical Officer
>> School of Sociology and Social Policy
>> Faculty of Education, Social Sciences and Law
>> Social Science Building
>> The University of Leeds
>> Leeds LS2 9JT
>> Email: b.r...@leeds.ac.uk<mailto:b.r...@leeds.ac.uk>
>> Tel: 0113 343 7319
>> Website:
>> http://www.timescapes.leeds.ac.uk<http://www.timescapes.leeds.ac.uk/>
>> ---------------------------------------------------------------------
>>
>> --------------------------------------------------------------
>> ----------------
>> Enable your software for Intel(R) Active Management
>> Technology to meet the
>> growing manageability and security demands of your customers.
>> Businesses
>> are taking advantage of Intel(R) vPro (TM) technology - will
>> your software
>> be a part of the solution? Download the Intel(R)
>> Manageability Checker
>> today! http://p.sf.net/sfu/intel-dev2devmar
>> _______________________________________________
>> Fedora-commons-users mailing list
>> Fedora-commons-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>
>
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to