⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 z3950v3.asn

📁 harvest是一个下载html网页得机器人
💻 ASN
📖 第 1 页 / 共 5 页
字号:
badSpec    [1001]  IMPLICIT SEQUENCE{  -- element set name or specification                spec        [1] IMPLICIT Specification, -- esn or element spec not supported                db        [2] IMPLICIT DatabaseName OPTIONAL,                            -- if db specified, above spec not supported for db; otherwise,                            -- spec not supported period.                goodOnes    [3] IMPLICIT SEQUENCE OF Specification OPTIONAL                              -- target supplies ones that are supported                            },dbUnavail  [1002]  IMPLICIT SEQUENCE{ -- database unavailable                db  [1] IMPLICIT DatabaseName,                why  [2] IMPLICIT SEQUENCE{                        reasonCode  [1] IMPLICIT INTEGER{                                      doesNotExist    (0),                                      existsButUnavail  (1),                                      locked      (2),                                      accessDenied    (3)} OPTIONAL,                        message    [2] IMPLICIT InternationalString OPTIONAL}},unSupOp  [1003]  IMPLICIT INTEGER{  -- unsupported operator                and     (0),                or      (1),                and-not  (2),                prox    (3)},attribute    [1004]  IMPLICIT SEQUENCE{                    -- Applies for unsupported attribute set, attribute type,                     -- attribute value, or term (for a given attribute type or value).                id      [1]  IMPLICIT OBJECT IDENTIFIER,                   -- if only "id" occurs, then attribute set is not supported                type    [2]  IMPLICIT INTEGER OPTIONAL,                   -- must occur if value occurs.                value    [3]   IMPLICIT INTEGER OPTIONAL,                    -- if omitted, and Type occurs, then Type is what is unsupported                term    [4]  Term OPTIONAL                    -- If occurs, term is illegal or not supported, for attribute value,                    -- if value occurs; otherwise, for type.                                },attCombo  [1005]  IMPLICIT SEQUENCE{ -- attribute combination not supported              unsupportedCombination  [1] IMPLICIT AttributeList,               recommendedAlternatives  [2] IMPLICIT SEQUENCE OF AttributeList OPTIONAL}, term      [1006]  IMPLICIT SEQUENCE{                problem    [1] IMPLICIT INTEGER{                            codedValue  (1),                            unparsable  (2),                            tooShort    (3),                            type      (4)} OPTIONAL,                term      [2] Term},proximity  [1007] CHOICE{        -- proximity diagnostics:               resultSets  [1]    IMPLICIT NULL,         -- proximity between sets not supported              badSet    [2]    IMPLICIT InternationalString,  -- bad result set specified                 relation    [3]   IMPLICIT INTEGER,      -- 1 to 6 ; relation not supported              unit      [4]  IMPLICIT INTEGER,      -- unsupported unit code              distance    [5]  IMPLICIT INTEGER,      -- unsupported distance              attributes  [6]  AttributeList,             --  proximity not supported with specified                                                   -- attribute combination              ordered    [7]  IMPLICIT NULL,        -- ordered flag not supported              exclusion  [8]  IMPLICIT NULL          -- exclusion flag not supported                    },scan     [1008] CHOICE{      -- scan diagnostics:              nonZeroStepSize  [0] IMPLICIT NULL,  -- only zero step size supported              specifiedStepSize  [1] IMPLICIT NULL,  -- specified step size not supported              termList1      [3] IMPLICIT NULL,  -- term list not supported (no alternative supplied)              termList2      [4] IMPLICIT SEQUENCE OF AttributeList,                                          -- term list not supported (alternatives supplied)              posInResponse    [5] IMPLICIT INTEGER{  --value of positionInResponse not supported                              mustBeOne        (1),                              mustBePositive    (2),                              mustBeNonNegative  (3),                              other            (4)},              resources      [6] IMPLICIT NULL,   -- resources exhausted looking for satisfying terms              endOfList      [7] IMPLICIT NULL  -- beginning or end of term list                },sort       [1009] CHOICE{              sequence    [0]  IMPLICIT NULL,        -- cannot sort according to sequence              noRsName    [1]  IMPLICIT NULL,        -- no result set name supplied              tooMany    [2]  IMPLICIT INTEGER,      --  Too many input result sets,                                                --  maximum supplied.              incompatible  [3]  IMPLICIT NULL,        -- records with different formats                                                 -- not compatible for sorting              generic      [4]  IMPLICIT NULL,        -- generic sort not supported                                                 -- (db specific only)              dbSpecific    [5]  IMPLICIT NULL,        -- db specific sort not supported              sortElement    [6]  SortElement,              key        [7]  IMPLICIT INTEGER{                              tooMany  (1),    -- too many sort keys                              duplicate  (2)},    -- duplicate sort keys              action      [8]  IMPLICIT NULL,  -- unsupported missing data action              illegal      [9]  IMPLICIT INTEGER{                              relation  (1),  -- illegal sort relation                              case    (2),  -- illegal case value                              action  (3),   -- illegal missing data action                              sort    (4)},  -- illegal sort            inputTooLarge    [10]  IMPLICIT SEQUENCE OF InternationalString,                                      --   one or more of the input result sets too large to sort          aggregateTooLarge  [11]  IMPLICIT NULL  --  aggregate result set too large                          },segmentation  [1010]  CHOICE{                segmentCount  [0]    IMPLICIT NULL,                                  -- Cannot guarantee record will fit within max segments. Target                                  -- suggests that origin try again to retrieve record, without                                  -- including max-segment-count.                segmentSize  [1]    IMPLICIT INTEGER                                -- record cannot be segmented into fragments such that the largest                                -- will fit within max segment size specified. Target supplies (in                                -- bytes) the smallest acceptable value of Max-segment-size to                                -- retrieve the record.                          },extServices  [1011] CHOICE{                req        [1] IMPLICIT INTEGER{   -- bad request                            nameInUse    (1),  -- package name already in use                            noSuchName  (2),  -- no such package, on modify/delete                            quota        (3),  -- quota exceeded                            type        (4)},  -- extended service type not supported                permission  [2] IMPLICIT INTEGER{ -- permission denied on ES, because:                             id         (1),    --   id not authorized, or                            modifyDelete  (2)},    -- cannot modify or delete                immediate  [3] IMPLICIT INTEGER{ -- immediate execution:                            failed      (1),    -- failed,                             service      (2),    -- not supported for this service, or                            parameters    (3)    -- for these parameters.                                }},accessCtrl    [1012] CHOICE{                noUser    [1] IMPLICIT NULL,    -- no user to display challenge to                refused    [2] IMPLICIT NULL,    -- access control information refused by user                simple    [3] IMPLICIT NULL,    -- only simple form supported (target used                                          -- externally defined)                oid      [4] IMPLICIT SEQUENCE OF OBJECT IDENTIFIER,                                          -- oid not supported (origin supplies alternative                                          -- suggested oids)                alternative  [5] IMPLICIT SEQUENCE OF OBJECT IDENTIFIER,                                          -- origin insists that target use an alternative                                          -- challenge for this data (e.g. stronger                                                                                  -- authentication or stronger Access control). The                                          -- origin supplies suggested alternative oids.                pwdInv    [6] IMPLICIT NULL,    -- password invalid                pwdExp    [7] IMPLICIT NULL      -- password expired                    },recordSyntax  [1013] IMPLICIT SEQUENCE{ -- record cannot be transferred in requested syntax              unsupportedSyntax    [1] IMPLICIT OBJECT IDENTIFIER,               suggestedAlternatives  [2] IMPLICIT SEQUENCE OF OBJECT IDENTIFIER OPTIONAL}}ENDRecordSyntax-explain {Z39-50-recordSyntax explain (100)} DEFINITIONS ::=BEGIN IMPORTS AttributeSetId, Term, OtherInformation, DatabaseName, ElementSetName, IntUnit, Unit, StringOrNumeric, Specification, InternationalString, AttributeList, AttributeElement FROM Z39-50-APDU-1995;EXPORTS LanguageCode;Explain-Record ::= CHOICE{  -- Each of these may be used as search term  when Use attribute is 'explain-category'.  targetInfo         [0]    IMPLICIT TargetInfo,  databaseInfo      [1]    IMPLICIT DatabaseInfo,  schemaInfo        [2]    IMPLICIT SchemaInfo,  tagSetInfo         [3]    IMPLICIT TagSetInfo,  recordSyntaxInfo    [4]    IMPLICIT RecordSyntaxInfo,  attributeSetInfo    [5]    IMPLICIT AttributeSetInfo,  termListInfo      [6]    IMPLICIT TermListInfo,  extendedServicesInfo  [7]    IMPLICIT ExtendedServicesInfo,  attributeDetails      [8]    IMPLICIT AttributeDetails,  termListDetails    [9]    IMPLICIT TermListDetails,  elementSetDetails    [10]  IMPLICIT ElementSetDetails,  retrievalRecordDetails  [11]   IMPLICIT RetrievalRecordDetails,  sortDetails             [12]   IMPLICIT SortDetails,  processing           [13]  IMPLICIT ProcessingInformation,  variants          [14]  IMPLICIT VariantSetInfo,  units          [15]    IMPLICIT UnitInfo,  categoryList            [100]  IMPLICIT CategoryList}-- Element set name 'B' (brief)  retrieves:--  -  'commonInfo' (except for otherInfo within commonInfo)--  -  key elements--  -  other elements designated as 'non-key brief elements'-- Esn 'description' retrieves brief elements as well as 'description', and specific additional descriptive-- elements if designated.  -- Element set name 'F' (full) retrieves all of the above, as well as those designated as "non-brief elements". Some-- elements designated as OPTIONAL may be mandatory in full records, and are so identified. (Note that all elements-- that are not part of the brief element set must be designated as OPTIONAL in the ASN.1, otherwise it would be-- illegal to omit them.)-- Other esns are defined (below) as needed.-- - - - - - - - - - - - -   Info Records  -- Info records are mainly for software consumption  -- They describe individual entities within the target system:  --   The target itself  --   Individual databases  --   Schemas  --   Tag sets  --   Record syntaxes  --   Attribute sets  --   Term lists  --   Extended services --     The information about each Schema, Tag Set, Record Syntax and Attribute Set should  -- match the universal definitions of these items. The only exception is that a target may omit any  -- items it doesn't support, for example the description of the bib-1 attribute set may omit attributes  -- that the target does not support under any circumstances.  --      Databases that may be searched together can be listed in the dbCominations element of the TargetInfo record.  TargetInfo ::= SEQUENCE {  commonInfo      [0]    IMPLICIT CommonInfo OPTIONAL,    -- Key elements follow:  name          [1]    IMPLICIT InternationalString,    -- Non-key brief elements follow:  recent-news      [2]    IMPLICIT HumanString OPTIONAL,  icon          [3]    IMPLICIT IconObject OPTIONAL,  namedResultSets    [4]    IMPLICIT BOOLEAN,  multipleDBsearch    [5]    IMPLICIT BOOLEAN,  maxResultSets      [6]    IMPLICIT INTEGER OPTIONAL,  maxResultSize      [7]    IMPLICIT INTEGER OPTIONAL,  maxTerms        [8]    IMPLICIT INTEGER OPTIONAL,  timeoutInterval      [9]    IMPLICIT IntUnit OPTIONAL,  welcomeMessage    [10]  IMPLICIT HumanString OPTIONAL,    -- non-brief elements follow:  -- 'description' esn retrieves the following two (as well as brief):  contactInfo      [11]  IMPLICIT ContactInfo OPTIONAL,  description      [12]  IMPLICIT HumanString OPTIONAL,  nicknames        [13]  IMPLICIT SEQUENCE OF InternationalString OPTIONAL,  usage-restrictions    [14]  IMPLICIT HumanString OPTIONAL,  paymentAddr      [15]  IMPLICIT HumanString OPTIONAL,  hours          [16]  IMPLICIT HumanString OPTIONAL,  dbCombinations    [17]  IMPLICIT SEQUENCE OF DatabaseList OPTIONAL,  addresses        [18]  IMPLICIT SEQUENCE OF NetworkAddress OPTIONAL,  languages        [101]  IMPLICIT SEQUENCE OF InternationalString OPTIONAL,                  -- Languages supported for message strings.  Each is a three-character                  -- language code from Z39.53-1994.-- characterSets      [102]  this tag reserved for "character sets supported for name and message strings".  -- commonAccessInfo elements list objects the target supports. All objects listed in  -- AccessInfo for any individual database should also be listed here.  commonAccessInfo  [19]  IMPLICIT AccessInfo OPTIONAL}DatabaseInfo ::= SEQUENCE {      -- A target may provide "virtual databases" that are combinations of individual database. These      -- databases are indicated by the presence of subDbs in the combination database's DatabaseDescription.  commonInfo        [0]    IMPLICIT CommonInfo OPTIONAL,    -- Key elements follow:  name            [1]    IMPLICIT DatabaseName,    -- Non-key brief elements follow:  explainDatabase      [2]             IMPLICIT NULL OPTIONAL,                       -- If present, this database is the Explain database, or an Explain database                    -- for a different server, possibly on a different host. The means by which                    -- that server may be accessed is not addressed by this standard. One

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -