From: Adam Dickmeiss Date: Wed, 4 Jul 2007 11:44:20 +0000 (+0000) Subject: Changed the Z39.50 ASN.1 a little: make userId in Permissions optional X-Git-Tag: YAZ.3.0.10~26 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=9478b64c522bc0314213d485b30a81643e3fed51;p=yaz-moved-to-github.git Changed the Z39.50 ASN.1 a little: make userId in Permissions optional and taskPackageRecords optional in Extended Service update (first version). This is due to at least one implementation which incorrectly omits these. --- diff --git a/src/z3950v3.asn b/src/z3950v3.asn index 7dc3d4c..a8d83c2 100644 --- a/src/z3950v3.asn +++ b/src/z3950v3.asn @@ -652,7 +652,7 @@ ExtendedServicesResponse ::= SEQUENCE{ otherInfo OtherInformation OPTIONAL} Permissions ::= SEQUENCE OF SEQUENCE{ - userId [1] IMPLICIT InternationalString, + userId [1] IMPLICIT InternationalString OPTIONAL, allowableFunctions [2] IMPLICIT SEQUENCE OF INTEGER{ delete (1), modifyContents (2), @@ -2420,7 +2420,7 @@ TargetPart ::= SEQUENCE{ globalDiagnostics [2] IMPLICIT SEQUENCE OF DiagRec OPTIONAL, -- These are non-surrogate diagnostics relating to the task, -- not to individual records. - taskPackageRecords [3] IMPLICIT SEQUENCE OF TaskPackageRecordStructure + taskPackageRecords [3] IMPLICIT SEQUENCE OF TaskPackageRecordStructure OPTIONAL -- There should be a TaskPackageRecordStructure for every record -- supplied. The target should create such a structure for every -- record immediately upon creating the task package to include