DOREMUS-ANR / marc2rdf

Converter from UNIMARC/INTERMARC to RDF using the DOREMUS model
Apache License 2.0
6 stars 0 forks source link

Multiple subfields with the same code are not (yet) parsed #20

Closed pasqLisena closed 8 years ago

pasqLisena commented 8 years ago

In cases like this one:

<datafield tag="600" ind1=" " ind2=" ">
    <subfield code="a">Dédicace à l&apos;archiduc Rodolphe de Habsbourg</subfield>
    <subfield code="a">Date de composition : 1809</subfield>
    <subfield code="a">1re éd. : Leipzig : Breitkopf &amp; Härtel, 1811</subfield>
</datafield>

we currently read only the 1st subfield. This happens because the method getSubfield(char code) return only one value.