Renamed 'add' record functions to 'new'.
[gedcom-parse.git] / t / output / update_gom.ref
1 ERROR: Error: The input 'België' is not a valid UTF-8 string
2 ERROR: Error: The input 'België' is not a valid string for the locale
3
4 Initial date value:
5   type: 0
6   date1:
7     calendar type: 4
8     day: '', -1
9     month: '', -1
10     year: '', -1
11     year type: 0
12     date type: 0
13     sdn1: -1
14     sdn2: -1
15   date2:
16     calendar type: 4
17     day: '', -1
18     month: '', -1
19     year: '', -1
20     year type: 0
21     date type: 0
22     sdn1: -1
23     sdn2: -1
24   phrase: ''
25 ERROR: Error: Date is not normalized: some fields are invalid
26 String: ''
27
28 Setting only year string:
29   type: 0
30   date1:
31     calendar type: 0
32     day: '', -1
33     month: '', -1
34     year: '1990', 1990
35     year type: 0
36     date type: 2
37     sdn1: 2447893
38     sdn2: 2448257
39   date2:
40     calendar type: 4
41     day: '', -1
42     month: '', -1
43     year: '', -1
44     year type: 0
45     date type: 0
46     sdn1: -1
47     sdn2: -1
48   phrase: ''
49 String: '1990'
50
51 Setting only year number:
52   type: 0
53   date1:
54     calendar type: 0
55     day: '', -1
56     month: '', -1
57     year: '1989', 1989
58     year type: 0
59     date type: 2
60     sdn1: 2447528
61     sdn2: 2447892
62   date2:
63     calendar type: 4
64     day: '', -1
65     month: '', -1
66     year: '', -1
67     year type: 0
68     date type: 0
69     sdn1: -1
70     sdn2: -1
71   phrase: ''
72 String: '1989'
73
74 Setting only SDN 1:
75   type: 0
76   date1:
77     calendar type: 0
78     day: '31', 31
79     month: 'AUG', 8
80     year: '2132', 2132
81     year type: 0
82     date type: 1
83     sdn1: 2500000
84     sdn2: -1
85   date2:
86     calendar type: 4
87     day: '', -1
88     month: '', -1
89     year: '', -1
90     year type: 0
91     date type: 0
92     sdn1: -1
93     sdn2: -1
94   phrase: ''
95 String: '31 AUG 2132'
96
97 Same date in Hebrew calendar:
98   type: 0
99   date1:
100     calendar type: 2
101     day: '19', 19
102     month: 'ELL', 13
103     year: '5892', 5892
104     year type: 0
105     date type: 1
106     sdn1: 2500000
107     sdn2: -1
108   date2:
109     calendar type: 4
110     day: '', -1
111     month: '', -1
112     year: '', -1
113     year type: 0
114     date type: 0
115     sdn1: -1
116     sdn2: -1
117   phrase: ''
118 String: '@#DHEBREW@ 19 ELL 5892'
119 ERROR: Error: SDN 1 isn't a valid date in the given calendar
120
121 Same date in French revolution calendar:
122   type: 0
123   date1:
124     calendar type: 3
125     day: '0', 0
126     month: 'ELL', 0
127     year: '0', 0
128     year type: 0
129     date type: 1
130     sdn1: 2500000
131     sdn2: -1
132   date2:
133     calendar type: 4
134     day: '', -1
135     month: '', -1
136     year: '', -1
137     year type: 0
138     date type: 0
139     sdn1: -1
140     sdn2: -1
141   phrase: ''
142 ERROR: Error: Date is not normalized: some fields are invalid
143 String: ''
144
145 Valid French revolution date:
146   type: 0
147   date1:
148     calendar type: 3
149     day: '16', 16
150     month: 'PLUV', 5
151     year: '7', 7
152     year type: 0
153     date type: 1
154     sdn1: 2378166
155     sdn2: -1
156   date2:
157     calendar type: 4
158     day: '', -1
159     month: '', -1
160     year: '', -1
161     year type: 0
162     date type: 0
163     sdn1: -1
164     sdn2: -1
165   phrase: ''
166 String: '@#DFRENCH R@ 16 PLUV 7'
167 ERROR: Error: Cross-reference key '@FAM1@' is already in use
168 ERROR: Error: Cross-reference key '@SUBMITTER@' is already in use
169 Intermediate output:
170 === HEADER ===
171 Source:
172   ID: 'TEST_UPDATE'
173   Name: '(null)'
174   Version: '0.20.0'
175   Corporation:
176     Name: '(null)'
177     Address: 0x<null>
178     Phone 1: '(null)'
179     Phone 2: '(null)'
180     Phone 3: '(null)'
181   Data:
182     Name: '(null)'
183     Date: 0x<null>
184     Copyright: '(null)'
185 Destination: '(null)'
186 Date: 
187   type: 0
188   date1:
189     calendar type: 3
190     day: '16', 16
191     month: 'PLUV', 5
192     year: '7', 7
193     year type: 0
194     date type: 1
195     sdn1: 2378166
196     sdn2: -1
197   date2:
198     calendar type: 4
199     day: '', -1
200     month: '', -1
201     year: '', -1
202     year type: 0
203     date type: 0
204     sdn1: -1
205     sdn2: -1
206   phrase: ''
207 Time: '(null)'
208 Submitter: 
209   type: 7
210   xref: '@SUBMITTER@'
211   object: 0x<non-null>
212 Submission: 0x<null>
213 File name: '(null)'
214 Copyright: '(null)'
215 Gedcom:
216   Version: '5.5'
217   Form: 'LINEAGE-LINKED'
218 Character set:
219   Name: 'ASCII'
220   Version: '(null)'
221 Language: '(null)'
222 Place hierarchy: '(null)'
223 Note:
224 ====
225 (null)
226 ====
227 User data: 0x<null>
228 === SUBMISSION (@SUBMISSION@) ===
229 Submitter: 0x<null>
230 Family file: '(null)'
231 Temple code: '(null)'
232 Nr of ancestor generations: '(null)'
233 Nr of descendant generations: '(null)'
234 Ordinance process flag: '(null)'
235 Record id: '(null)'
236 User data: 0x<null>
237 === FAMILY (@FAM1@) ===
238 Family events: 0x<null>
239 Husband: 
240   type: 2
241   xref: '@IND1@'
242   object: 0x<non-null>
243 Wife: 0x<null>
244 Children: 
245   reference: 
246     type: 2
247     xref: '@IND2@'
248     object: 0x<non-null>
249   User data: 0x<null>
250 Number of children: '3'
251 Submitters: 0x<null>
252 LDS spouse sealings: 0x<null>
253 citations: 0x<null>
254 multimedia links: 0x<null>
255 notes: 0x<null>
256 user refs: 0x<null>
257 Record ID: '(null)'
258 change date: 0x<null>
259 User data: 0x<null>
260 === INDIVIDUAL (@IND1@) ===
261 Restriction notice: '(null)'
262 names: 0x<null>
263 Sex: '(null)'
264 Individual events: 0x<null>
265 Individual attributes: 0x<null>
266 LDS individual ordinance: 0x<null>
267 Child to family links: 0x<null>
268 Spouse to family links: 0x<null>
269 Submitters: 0x<null>
270 Associations: 0x<null>
271 Aliases: 0x<null>
272 Ancestor interest: 0x<null>
273 Descendant interest: 0x<null>
274 citations: 0x<null>
275 multimedia links: 0x<null>
276 notes: 0x<null>
277 Record file nr: '(null)'
278 Ancestral file nr: '(null)'
279 user refs: 0x<null>
280 Record ID: '(null)'
281 change date: 0x<null>
282 User data: 0x<null>
283 === INDIVIDUAL (@IND2@) ===
284 Restriction notice: '(null)'
285 names: 0x<null>
286 Sex: '(null)'
287 Individual events: 0x<null>
288 Individual attributes: 0x<null>
289 LDS individual ordinance: 0x<null>
290 Child to family links: 0x<null>
291 Spouse to family links: 0x<null>
292 Submitters: 0x<null>
293 Associations: 0x<null>
294 Aliases: 0x<null>
295 Ancestor interest: 0x<null>
296 Descendant interest: 0x<null>
297 citations: 0x<null>
298 multimedia links: 0x<null>
299 notes: 0x<null>
300 Record file nr: '(null)'
301 Ancestral file nr: '(null)'
302 user refs: 0x<null>
303 Record ID: '(null)'
304 change date: 0x<null>
305 User data: 0x<null>
306 === INDIVIDUAL (@IND3@) ===
307 Restriction notice: '(null)'
308 names: 0x<null>
309 Sex: '(null)'
310 Individual events: 0x<null>
311 Individual attributes: 0x<null>
312 LDS individual ordinance: 0x<null>
313 Child to family links: 0x<null>
314 Spouse to family links: 0x<null>
315 Submitters: 0x<null>
316 Associations: 0x<null>
317 Aliases: 0x<null>
318 Ancestor interest: 0x<null>
319 Descendant interest: 0x<null>
320 citations: 0x<null>
321 multimedia links: 0x<null>
322 notes: 0x<null>
323 Record file nr: '(null)'
324 Ancestral file nr: '(null)'
325 user refs: 0x<null>
326 Record ID: '(null)'
327 change date: 0x<null>
328 User data: 0x<null>
329 === INDIVIDUAL (@IND4@) ===
330 Restriction notice: '(null)'
331 names: 0x<null>
332 Sex: '(null)'
333 Individual events: 0x<null>
334 Individual attributes: 0x<null>
335 LDS individual ordinance: 0x<null>
336 Child to family links: 0x<null>
337 Spouse to family links: 0x<null>
338 Submitters: 0x<null>
339 Associations: 0x<null>
340 Aliases: 0x<null>
341 Ancestor interest: 0x<null>
342 Descendant interest: 0x<null>
343 citations: 0x<null>
344 multimedia links: 0x<null>
345 notes: 0x<null>
346 Record file nr: '(null)'
347 Ancestral file nr: '(null)'
348 user refs: 0x<null>
349 Record ID: '(null)'
350 change date: 0x<null>
351 User data: 0x<null>
352 === MULTIMEDIA (@OBJ1@) ===
353 Form: '(null)'
354 Title: '(null)'
355 notes: 0x<null>
356 Data: '(null)'
357 Continued: 0x<null>
358 user refs: 0x<null>
359 Record ID: '(null)'
360 change date: 0x<null>
361 User data: 0x<null>
362 === NOTE (@NOTE1@) ===
363 Text: 'This is some text'
364 citations: 0x<null>
365 user refs: 0x<null>
366 Record ID: '(null)'
367 change date: 0x<null>
368 User data: 0x<null>
369 === REPOSITORY (@REPO1@) ===
370 Name: '(null)'
371 Address: 0x<null>
372 Phone 1: '(null)'
373 Phone 2: '(null)'
374 Phone 3: '(null)'
375 notes: 0x<null>
376 user refs: 0x<null>
377 Record ID: '(null)'
378 change date: 0x<null>
379 User data: 0x<null>
380 === SOURCE (@SOUR1@) ===
381 Data: 
382   events: 0x<null>
383   Agency: '(null)'
384   notes: 0x<null>
385 Author: '(null)'
386 Title: '(null)'
387 Abbreviation: '(null)'
388 Publication: '(null)'
389 Text: '(null)'
390 Repository:
391   Link: 0x<null>
392   notes: 0x<null>
393   source descriptions: 0x<null>
394 multimedia links: 0x<null>
395 notes: 0x<null>
396 user refs: 0x<null>
397 Record ID: '(null)'
398 change date: 0x<null>
399 User data: 0x<null>
400 === SUBMITTER (@SUBMITTER@) ===
401 Name: 'België'
402 Address: 0x<null>
403 Phone 1: '(null)'
404 Phone 2: '(null)'
405 Phone 3: '(null)'
406 multimedia links: 0x<null>
407 Language 1: '(null)'
408 Language 2: '(null)'
409 Language 3: '(null)'
410 Record file nr: '(null)'
411 Record ID: '(null)'
412 change date: 0x<null>
413 User data: 0x<null>
414 === SUBMITTER (@SUBM2@) ===
415 Name: '(null)'
416 Address: 0x<null>
417 Phone 1: '(null)'
418 Phone 2: '(null)'
419 Phone 3: '(null)'
420 multimedia links: 0x<null>
421 Language 1: '(null)'
422 Language 2: '(null)'
423 Language 3: '(null)'
424 Record file nr: '(null)'
425 Record ID: '(null)'
426 change date: 0x<null>
427 User data: 0x<null>
428 === USER RECORD (@USER1@) ===
429 Tag: '_TAG'
430 String value: '(null)'
431 Xref value: 0x<null>
432 User data: 0x<null>
433 ERROR: Error: Cross-reference @IND1@ still in use
434 Test succeeded
435 === HEADER ===
436 Source:
437   ID: 'TEST_UPDATE'
438   Name: '(null)'
439   Version: '0.20.0'
440   Corporation:
441     Name: '(null)'
442     Address: 0x<null>
443     Phone 1: '(null)'
444     Phone 2: '(null)'
445     Phone 3: '(null)'
446   Data:
447     Name: '(null)'
448     Date: 0x<null>
449     Copyright: '(null)'
450 Destination: '(null)'
451 Date: 
452   type: 0
453   date1:
454     calendar type: 3
455     day: '16', 16
456     month: 'PLUV', 5
457     year: '7', 7
458     year type: 0
459     date type: 1
460     sdn1: 2378166
461     sdn2: -1
462   date2:
463     calendar type: 4
464     day: '', -1
465     month: '', -1
466     year: '', -1
467     year type: 0
468     date type: 0
469     sdn1: -1
470     sdn2: -1
471   phrase: ''
472 Time: '(null)'
473 Submitter: 
474   type: 7
475   xref: '@SUBMITTER@'
476   object: 0x<non-null>
477 Submission: 0x<null>
478 File name: '(null)'
479 Copyright: '(null)'
480 Gedcom:
481   Version: '5.5'
482   Form: 'LINEAGE-LINKED'
483 Character set:
484   Name: 'ASCII'
485   Version: '(null)'
486 Language: '(null)'
487 Place hierarchy: '(null)'
488 Note:
489 ====
490 (null)
491 ====
492 User data: 0x<null>
493 === INDIVIDUAL (@IND3@) ===
494 Restriction notice: '(null)'
495 names: 0x<null>
496 Sex: '(null)'
497 Individual events: 0x<null>
498 Individual attributes: 0x<null>
499 LDS individual ordinance: 0x<null>
500 Child to family links: 0x<null>
501 Spouse to family links: 0x<null>
502 Submitters: 0x<null>
503 Associations: 0x<null>
504 Aliases: 0x<null>
505 Ancestor interest: 0x<null>
506 Descendant interest: 0x<null>
507 citations: 0x<null>
508 multimedia links: 0x<null>
509 notes: 0x<null>
510 Record file nr: '(null)'
511 Ancestral file nr: '(null)'
512 user refs: 0x<null>
513 Record ID: '(null)'
514 change date: 0x<null>
515 User data: 0x<null>
516 === INDIVIDUAL (@IND4@) ===
517 Restriction notice: '(null)'
518 names: 0x<null>
519 Sex: '(null)'
520 Individual events: 0x<null>
521 Individual attributes: 0x<null>
522 LDS individual ordinance: 0x<null>
523 Child to family links: 0x<null>
524 Spouse to family links: 0x<null>
525 Submitters: 0x<null>
526 Associations: 0x<null>
527 Aliases: 0x<null>
528 Ancestor interest: 0x<null>
529 Descendant interest: 0x<null>
530 citations: 0x<null>
531 multimedia links: 0x<null>
532 notes: 0x<null>
533 Record file nr: '(null)'
534 Ancestral file nr: '(null)'
535 user refs: 0x<null>
536 Record ID: '(null)'
537 change date: 0x<null>
538 User data: 0x<null>
539 === SUBMITTER (@SUBMITTER@) ===
540 Name: 'België'
541 Address: 0x<null>
542 Phone 1: '(null)'
543 Phone 2: '(null)'
544 Phone 3: '(null)'
545 multimedia links: 0x<null>
546 Language 1: '(null)'
547 Language 2: '(null)'
548 Language 3: '(null)'
549 Record file nr: '(null)'
550 Record ID: '(null)'
551 change date: 0x<null>
552 User data: 0x<null>