[DDI-SRG] Two further URN/ID issues
Joachim Wackerow
joachim.wackerow at gesis.org
Mon May 11 10:09:46 EDT 2009
Wendy,
Please note, that bug 220 (URN syntax issue) is fixed and bug 236 (DDI
registered name) is waiting for regular expression according to the
changes file of Arofan.
Achim
Wendy Thomas wrote:
>
> This was one of the delayed bugs...Arofan needed the specific regular
> expression to enter. We can fix this in the published version.
>
> wendy
>
> On Mon, 11 May 2009, Joachim Wackerow wrote:
>
>> URNType in reusable should be formally described by a regular
>> expression. This way basic syntax check for URN's is possible by
>> validating against the XML Schemas. Currently URNType is just xs:anyURI,
>> which seems to be very lax.
>> Are there any reasons, why regular expression are not used already?
>>
>>
>> BaseIDType is a xs:string restricted by the regular expression
>> ([A-Z]|[a-z]|\*|@|[0-9]|_|$|\-)*
>> The field documentation says: Valid characters include A-Z, a-z, @, 0-9,
>> _, -, $
>>
>> There are two issues with this:
>> - the dollar sign should be escaped in the regular expression
>> - the asterisk - mentioned in the regexp is not described in the
>> documentation
>>
>> Anyway, I'm wondering why are special signs ("*", "$", "@") necessary in
>> an id. Are they really required?
>>
>> Especially the "@" can make problems in DDI URN resolution services.
>> Some resolution service will use a REST-based approach for querying
>> URN's like:
>> http://xy.org/DDIURNResolutionService?URN
>>
>> URN is the query string of this URL. It stands for the complete DDI URN.
>> A "@" is not allowed in a query string. It must be escaped according the
>> rules for URL's. This is surely be possible, but makes things more
>> complicated.
>> Does "@" make really sense in an DDI ID?
>>
>> --
>> GESIS - Leibniz Institute for the Social Sciences
>> Postal address: P.O. Box 122155, 68072 Mannheim, Germany
>> Visiting address: B2 1, 68159 Mannheim, Germany
>> Phone: +49 (0)621 1246 262
>> Fax: +49 (0)621 1246 100
>> E-mail: joachim.wackerow at gesis.org
>> www.gesis.org/en/institute/
>> _______________________________________________
>> DDI-SRG mailing list
>> DDI-SRG at icpsr.umich.edu
>> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg
>>
>
> Wendy L. Thomas Phone: +1 612.624.4389
> Data Access Core Director Fax: +1 612.626.8375
> Minnesota Population Center Email: wlt at pop.umn.edu
> University of Minnesota
> 50 Willey Hall
> 225 19th Avenue South
> Minneapolis, MN 55455
--
GESIS - Leibniz Institute for the Social Sciences
Postal address: P.O. Box 122155, 68072 Mannheim, Germany
Visiting address: B2 1, 68159 Mannheim, Germany
Phone: +49 (0)621 1246 262
Fax: +49 (0)621 1246 100
E-mail: joachim.wackerow at gesis.org
www.gesis.org/en/institute/
More information about the DDI-SRG
mailing list