From 9478b64c522bc0314213d485b30a81643e3fed51 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 4 Jul 2007 11:44:20 +0000 Subject: [PATCH] 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. --- src/z3950v3.asn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4