Skip to content

Question on subfield branch of marcSpec rule #30

@danizen

Description

@danizen

The subfield branch of the marcSpec rule confuses me as to the purpose of the subSpec clauses:

MARCspec          = fieldSpec *subSpec / (subfieldSpec *subSpec *(abrSubfieldSpec *subSpec)) / indicatorSpec *subSpec

Because one or more subSpecs can occur after the subfieldSpec, and after the abrSubfieldSpec, it seems like the following would be quite valid (it is valid with the parser I am building in python):

"880$a{?$f}$b$c$e{$f=\q}"

But I though the function of the abrSubfieldSpec and subSpecs after it are to allow multiple subfields to be specified. Would the subspec {$f=\a} be evaluated against all of the subfields? What is the sense of the first subspec in this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions