Commit graph

57 commits

Author SHA1 Message Date
d971082000 do not process XML characters outside elements, fix tests to not use temp files with deleteOnExit 2023-02-08 13:40:20 +01:00
09db520c2e suppress format/type attribute in MarcXML, add creation/modification date to MarcRecord, allow rebuild of record fields by external comparator 2023-01-28 23:08:24 +01:00
62c5a73771 add underscore subfield ID for control field hack in XML write 2023-01-26 22:41:21 +01:00
b5d4913acf add iterable XML MARCRecord 2023-01-23 14:26:47 +01:00
cacf1e5b05 add MARCRecord convenience method for instantiating from input stream 2023-01-15 23:22:31 +01:00
52b4462332 fix NPE in XML writing, restore MAB hack for subfield 'a' in control field 2022-12-12 13:58:44 +01:00
e99f75c473 use RecordLabel in leader() of MarcListener, set record length always to zero in XML 2022-12-09 19:48:06 +01:00
ddae3f750c add MarcWriter test 2022-12-05 15:17:41 +01:00
dfefc49fee fixes for MarcXchange XML writing 2022-12-02 17:05:52 +01:00
216031848e add convenience method 2022-11-23 17:57:36 +01:00
8192830b75 fix NPE in JSON writing 2022-11-22 16:26:48 +01:00
48098e22fd allow null marcFields in MarcRecord 2022-11-21 18:36:59 +01:00
e45038d31a fix handling of meta tags in JSON writer, clean style constructors, let the meta fields be appended at the end in JSON, not at the beginning, because it is the natural order 2022-11-07 18:40:46 +01:00
9950003ea7 do not parse private tags into MARC fields 2022-11-04 18:18:57 +01:00
a66fae1014 add subfield helpers 2022-11-03 17:23:21 +01:00
0037857591 add plain map join in parsing from maps, add UTF-8 encoding to compiler and javadoc 2022-11-02 14:29:58 +01:00
399a43d920 fix nested map parsing for MarcField building in MarcRecord 2022-10-31 22:52:50 +01:00
28b9a2d86d add stable field order in record building, use delegate map in MarcRecord, more filters for field processing in MarcRecord 2022-10-21 17:07:49 +02:00
9b1bac1e6f add methods to initialize MarcField and MarcRecord from Java Maps 2022-10-20 15:12:44 +02:00
780cade9ca disable logging in MARC field transformer, was enabled for tests 2022-10-18 09:20:44 +02:00
1abe90fdd1 cosmetic 2022-10-17 09:32:13 +02:00
ee55fa7ff8 update to Java 17, add Alma XML, relax label value interpretation with # symbol 2022-10-13 17:51:01 +02:00
4cb84894db update to gradle 7.3.2, asciidoc plugin to 2.5.2.1 2021-12-19 13:20:33 +01:00
5ed7a065d7 move XML factories out of Marc processing to allow efficient reuse of XML parsers, fix NPE in subfield transforming 2021-04-27 00:22:38 +02:00
3fa26ade80 update to Gradle 6.6.1, add a MARC record listener to a MARC content handler 2020-11-20 13:01:09 +01:00
aef7c53a04 update to content 2.3.1, better named module exports 2020-06-05 11:46:43 +02:00
c7d2aa3c87 Java named module, Gradle 6.4.1, JUnit 5 tests 2020-05-19 23:40:25 +02:00
970f62f44f add lambdas to logging API 2020-05-05 20:23:17 +02:00
b123d27567 add buffer size parameter, marc4j comparison test 2020-05-02 18:49:19 +02:00
c8b8955303 2.1.0 2019-11-07 11:51:44 +01:00
414abce68f add JSON reader and writer to allow duplicate keys, closes #8 2019-11-07 11:10:31 +01:00
7317647023 update to xbib-content 2.0.4 2019-11-06 22:29:52 +01:00
d4e06c58ed update to gradle 5.6, xbib content 2.0.1 2019-09-13 21:26:51 +02:00
fac8020183 update to OpenJDK 11, Gradle 5.3.1, xbib content 2.0.0 2019-08-08 19:58:21 +02:00
d8426fcfc6 add line feed control to JSON writer, remove Asciidoclet for now 2018-03-14 10:39:03 +01:00
8499915b3a preparing for Java 9 2018-02-15 11:56:38 +01:00
871287dc4e update to xbib content 1.3.0, prepare for Java 9 2018-02-07 00:30:41 +01:00
bacf451818 fix for converting MAB XML to JSON, add optional trim 2018-01-06 00:29:39 +01:00
7fe42850dc fixed validity check for subfield codes, changed MarcGenerator close() to flush() method, fixes for sonarqube, update to gradle 4.4 2017-12-14 14:01:26 +01:00
58c2a49293 fix for #2, convert space subfield codes into underscore, add Bundeskunsthalle MARC example, update to Gradle 4.3.1 2017-12-07 18:24:40 +01:00
195abf74de getField() and getSubfield() methods 2017-11-16 09:29:40 +01:00
3fb01e1b2c fix for subfield ID length in MAB, fix for UNIMARC 2017-10-17 15:59:03 +02:00
ae5b85f923 add OBVSG test with fix fo subfield ID length 2017-10-16 15:06:00 +02:00
d947c5cb81 update to Gradle 4.2, fix for incomplete iso2709 streams, add SWB/OBVSG examples 2017-10-16 11:41:05 +02:00
0d76b4b868 update to Gradle 3.5, suppress empty XML value in PicaXML 2017-05-09 22:40:26 +02:00
6c80bd052f add ISSN example 2017-03-06 22:42:57 +01:00
e9b0983845 gradle update, move versions to gradle properties, fix repeat counter in MARC field transformer 2017-02-23 17:29:23 +01:00
8463218c8e add two convienience method to check first/last subfield value, add MARC round trip test 2017-01-08 16:40:38 +01:00
700661b232 collection parameter for drop(), javadoc without timestamps 2017-01-04 01:52:12 +01:00
c325b7e3b7 add Xalan to avoid JDK TraX class verify error, increase test heap to handle xmlunit memory hunger 2017-01-02 19:28:04 +01:00