89ed05a178e3dc9eedc333a0d18cbb77909cb530
[gedcom-parse.git] / t / output / dates.ref
1
2 === Parsing file dates.ged
3 Header start
4 == 1 CHAR (292) ASCII (ctxt is 1, conversion failures: 0)
5 Source is APPROVED_SOURCE_NAME (ctxt is 1001, parent is 1)
6 Source context 1001 in parent 1
7 == 1 SUBM (382) @SUBMITTER@ (ctxt is 1, conversion failures: 0)
8 == 1 GEDC (326) (null) (ctxt is 1, conversion failures: 0)
9 == 2 VERS (391) 5.5 (ctxt is 1, conversion failures: 0)
10 == 2 FORM (325) LINEAGE-LINKED (ctxt is 1, conversion failures: 0)
11 Header end, context is 1
12 Submitter, xref is @SUBMITTER@
13 == 1 NAME (342) Peter /Verthez/ (ctxt is 10000, conversion failures: 0)
14 Rec INDI start, xref is @PERS00@
15 == 1 NAME (342) /Normal date/ (ctxt is 333, conversion failures: 0)
16 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
17 Contents of the date_value:
18   raw value: 23 JUL 1992
19   type: 0
20   date1:
21     calendar type: 0
22     day: 23
23     month: JUL
24     year: 1992
25     date type: 1
26     sdn1: 2448827
27     sdn2: -1
28   date2:
29     calendar type: 4
30     day: 
31     month: 
32     year: 
33     date type: 0
34     sdn1: -1
35     sdn2: -1
36   phrase: 
37 Rec INDI start, xref is @PERS01@
38 == 1 NAME (342) /No day number/ (ctxt is 333, conversion failures: 0)
39 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
40 Contents of the date_value:
41   raw value: JUL 1992
42   type: 0
43   date1:
44     calendar type: 0
45     day: 
46     month: JUL
47     year: 1992
48     date type: 2
49     sdn1: 2448805
50     sdn2: 2448835
51   date2:
52     calendar type: 4
53     day: 
54     month: 
55     year: 
56     date type: 0
57     sdn1: -1
58     sdn2: -1
59   phrase: 
60 Rec INDI start, xref is @PERS02@
61 == 1 NAME (342) /Only year/ (ctxt is 333, conversion failures: 0)
62 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
63 Contents of the date_value:
64   raw value: 1992
65   type: 0
66   date1:
67     calendar type: 0
68     day: 
69     month: 
70     year: 1992
71     date type: 2
72     sdn1: 2448623
73     sdn2: 2448988
74   date2:
75     calendar type: 4
76     day: 
77     month: 
78     year: 
79     date type: 0
80     sdn1: -1
81     sdn2: -1
82   phrase: 
83 Rec INDI start, xref is @PERS03@
84 == 1 NAME (342) /Mixed case/ (ctxt is 333, conversion failures: 0)
85 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
86 Contents of the date_value:
87   raw value: 23 Jul 1992
88   type: 0
89   date1:
90     calendar type: 0
91     day: 23
92     month: Jul
93     year: 1992
94     date type: 1
95     sdn1: 2448827
96     sdn2: -1
97   date2:
98     calendar type: 4
99     day: 
100     month: 
101     year: 
102     date type: 0
103     sdn1: -1
104     sdn2: -1
105   phrase: 
106 Rec INDI start, xref is @PERS04@
107 == 1 NAME (342) /Strange case/ (ctxt is 333, conversion failures: 0)
108 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
109 Contents of the date_value:
110   raw value: 23 JuL 1992
111   type: 0
112   date1:
113     calendar type: 0
114     day: 23
115     month: JuL
116     year: 1992
117     date type: 1
118     sdn1: 2448827
119     sdn2: -1
120   date2:
121     calendar type: 4
122     day: 
123     month: 
124     year: 
125     date type: 0
126     sdn1: -1
127     sdn2: -1
128   phrase: 
129 Rec INDI start, xref is @PERS05@
130 == 1 NAME (342) /Zero prefix/ (ctxt is 333, conversion failures: 0)
131 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
132 Contents of the date_value:
133   raw value: 04 JUL 1992
134   type: 0
135   date1:
136     calendar type: 0
137     day: 04
138     month: JUL
139     year: 1992
140     date type: 1
141     sdn1: 2448808
142     sdn2: -1
143   date2:
144     calendar type: 4
145     day: 
146     month: 
147     year: 
148     date type: 0
149     sdn1: -1
150     sdn2: -1
151   phrase: 
152 Rec INDI start, xref is @PERS06@
153 == 1 NAME (342) /Unexpected calendar type/ (ctxt is 333, conversion failures: 0)
154 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
155 ERROR: Error on line 37: Unknown calendar type
156 ERROR: Error on line 37: parse error
157 Contents of the date_value:
158   raw value: @#DFRENCH@ 03 BRUM 4
159   type: 11
160   date1:
161     calendar type: 4
162     day: 
163     month: 
164     year: 
165     date type: 0
166     sdn1: -1
167     sdn2: -1
168   date2:
169     calendar type: 4
170     day: 
171     month: 
172     year: 
173     date type: 0
174     sdn1: -1
175     sdn2: -1
176   phrase: @#DFRENCH@ 03 BRUM 4
177 Rec INDI start, xref is @PERS07@
178 == 1 NAME (342) /French revolution/ (ctxt is 333, conversion failures: 0)
179 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
180 Contents of the date_value:
181   raw value: @#DFRENCH R@ 03 BRUM 4
182   type: 0
183   date1:
184     calendar type: 3
185     day: 03
186     month: BRUM
187     year: 4
188     date type: 1
189     sdn1: 2376968
190     sdn2: -1
191   date2:
192     calendar type: 4
193     day: 
194     month: 
195     year: 
196     date type: 0
197     sdn1: -1
198     sdn2: -1
199   phrase: 
200 Rec INDI start, xref is @PERS08@
201 == 1 NAME (342) /Hebrew calendar/ (ctxt is 333, conversion failures: 0)
202 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
203 Contents of the date_value:
204   raw value: @#DHEBREW@ 1 SHV 4
205   type: 0
206   date1:
207     calendar type: 2
208     day: 1
209     month: SHV
210     year: 4
211     date type: 1
212     sdn1: 349209
213     sdn2: -1
214   date2:
215     calendar type: 4
216     day: 
217     month: 
218     year: 
219     date type: 0
220     sdn1: -1
221     sdn2: -1
222   phrase: 
223 Rec INDI start, xref is @PERS09@
224 == 1 NAME (342) /Julian calendar/ (ctxt is 333, conversion failures: 0)
225 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
226 Contents of the date_value:
227   raw value: @#DJULIAN@ 12 APR 1302
228   type: 0
229   date1:
230     calendar type: 1
231     day: 12
232     month: APR
233     year: 1302
234     date type: 1
235     sdn1: 2196715
236     sdn2: -1
237   date2:
238     calendar type: 4
239     day: 
240     month: 
241     year: 
242     date type: 0
243     sdn1: -1
244     sdn2: -1
245   phrase: 
246 Rec INDI start, xref is @PERS10@
247 == 1 NAME (342) /Annunciation style/ (ctxt is 333, conversion failures: 0)
248 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
249 Contents of the date_value:
250   raw value: 20 MAR 1677/78
251   type: 0
252   date1:
253     calendar type: 0
254     day: 20
255     month: MAR
256     year: 1677/78
257     date type: 1
258     sdn1: 2334016
259     sdn2: -1
260   date2:
261     calendar type: 4
262     day: 
263     month: 
264     year: 
265     date type: 0
266     sdn1: -1
267     sdn2: -1
268   phrase: 
269 WARNING: Warning: Cross-reference @PERS07@ defined on line 38 is never used
270 WARNING: Warning: Cross-reference @PERS02@ defined on line 18 is never used
271 WARNING: Warning: Cross-reference @PERS00@ defined on line 10 is never used
272 WARNING: Warning: Cross-reference @PERS10@ defined on line 50 is never used
273 WARNING: Warning: Cross-reference @PERS01@ defined on line 14 is never used
274 WARNING: Warning: Cross-reference @PERS04@ defined on line 26 is never used
275 WARNING: Warning: Cross-reference @PERS09@ defined on line 46 is never used
276 WARNING: Warning: Cross-reference @PERS08@ defined on line 42 is never used
277 WARNING: Warning: Cross-reference @PERS06@ defined on line 34 is never used
278 WARNING: Warning: Cross-reference @PERS05@ defined on line 30 is never used
279 WARNING: Warning: Cross-reference @PERS03@ defined on line 22 is never used
280
281 === Total conversion failures: 0
282
283 === Parsing file dates.ged
284 Header start
285 == 1 CHAR (292) ASCII (ctxt is 1, conversion failures: 0)
286 Source is APPROVED_SOURCE_NAME (ctxt is 1001, parent is 1)
287 Source context 1001 in parent 1
288 == 1 SUBM (382) @SUBMITTER@ (ctxt is 1, conversion failures: 0)
289 == 1 GEDC (326) (null) (ctxt is 1, conversion failures: 0)
290 == 2 VERS (391) 5.5 (ctxt is 1, conversion failures: 0)
291 == 2 FORM (325) LINEAGE-LINKED (ctxt is 1, conversion failures: 0)
292 Header end, context is 1
293 Submitter, xref is @SUBMITTER@
294 == 1 NAME (342) Peter /Verthez/ (ctxt is 10000, conversion failures: 0)
295 Rec INDI start, xref is @PERS00@
296 == 1 NAME (342) /Normal date/ (ctxt is 333, conversion failures: 0)
297 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
298 Contents of the date_value:
299   raw value: 23 JUL 1992
300   type: 0
301   date1:
302     calendar type: 0
303     day: 23
304     month: JUL
305     year: 1992
306     date type: 1
307     sdn1: 2448827
308     sdn2: -1
309   date2:
310     calendar type: 4
311     day: 
312     month: 
313     year: 
314     date type: 0
315     sdn1: -1
316     sdn2: -1
317   phrase: 
318 Rec INDI start, xref is @PERS01@
319 == 1 NAME (342) /No day number/ (ctxt is 333, conversion failures: 0)
320 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
321 Contents of the date_value:
322   raw value: JUL 1992
323   type: 0
324   date1:
325     calendar type: 0
326     day: 
327     month: JUL
328     year: 1992
329     date type: 2
330     sdn1: 2448805
331     sdn2: 2448835
332   date2:
333     calendar type: 4
334     day: 
335     month: 
336     year: 
337     date type: 0
338     sdn1: -1
339     sdn2: -1
340   phrase: 
341 Rec INDI start, xref is @PERS02@
342 == 1 NAME (342) /Only year/ (ctxt is 333, conversion failures: 0)
343 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
344 Contents of the date_value:
345   raw value: 1992
346   type: 0
347   date1:
348     calendar type: 0
349     day: 
350     month: 
351     year: 1992
352     date type: 2
353     sdn1: 2448623
354     sdn2: 2448988
355   date2:
356     calendar type: 4
357     day: 
358     month: 
359     year: 
360     date type: 0
361     sdn1: -1
362     sdn2: -1
363   phrase: 
364 Rec INDI start, xref is @PERS03@
365 == 1 NAME (342) /Mixed case/ (ctxt is 333, conversion failures: 0)
366 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
367 Contents of the date_value:
368   raw value: 23 Jul 1992
369   type: 0
370   date1:
371     calendar type: 0
372     day: 23
373     month: Jul
374     year: 1992
375     date type: 1
376     sdn1: 2448827
377     sdn2: -1
378   date2:
379     calendar type: 4
380     day: 
381     month: 
382     year: 
383     date type: 0
384     sdn1: -1
385     sdn2: -1
386   phrase: 
387 Rec INDI start, xref is @PERS04@
388 == 1 NAME (342) /Strange case/ (ctxt is 333, conversion failures: 0)
389 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
390 Contents of the date_value:
391   raw value: 23 JuL 1992
392   type: 0
393   date1:
394     calendar type: 0
395     day: 23
396     month: JuL
397     year: 1992
398     date type: 1
399     sdn1: 2448827
400     sdn2: -1
401   date2:
402     calendar type: 4
403     day: 
404     month: 
405     year: 
406     date type: 0
407     sdn1: -1
408     sdn2: -1
409   phrase: 
410 Rec INDI start, xref is @PERS05@
411 == 1 NAME (342) /Zero prefix/ (ctxt is 333, conversion failures: 0)
412 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
413 Contents of the date_value:
414   raw value: 04 JUL 1992
415   type: 0
416   date1:
417     calendar type: 0
418     day: 04
419     month: JUL
420     year: 1992
421     date type: 1
422     sdn1: 2448808
423     sdn2: -1
424   date2:
425     calendar type: 4
426     day: 
427     month: 
428     year: 
429     date type: 0
430     sdn1: -1
431     sdn2: -1
432   phrase: 
433 Rec INDI start, xref is @PERS06@
434 == 1 NAME (342) /Unexpected calendar type/ (ctxt is 333, conversion failures: 0)
435 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
436 ERROR: Error on line 37: Unknown calendar type
437 ERROR: Error on line 37: parse error
438 Contents of the date_value:
439   raw value: @#DFRENCH@ 03 BRUM 4
440   type: 11
441   date1:
442     calendar type: 4
443     day: 
444     month: 
445     year: 
446     date type: 0
447     sdn1: -1
448     sdn2: -1
449   date2:
450     calendar type: 4
451     day: 
452     month: 
453     year: 
454     date type: 0
455     sdn1: -1
456     sdn2: -1
457   phrase: @#DFRENCH@ 03 BRUM 4
458 Rec INDI start, xref is @PERS07@
459 == 1 NAME (342) /French revolution/ (ctxt is 333, conversion failures: 0)
460 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
461 Contents of the date_value:
462   raw value: @#DFRENCH R@ 03 BRUM 4
463   type: 0
464   date1:
465     calendar type: 3
466     day: 03
467     month: BRUM
468     year: 4
469     date type: 1
470     sdn1: 2376968
471     sdn2: -1
472   date2:
473     calendar type: 4
474     day: 
475     month: 
476     year: 
477     date type: 0
478     sdn1: -1
479     sdn2: -1
480   phrase: 
481 Rec INDI start, xref is @PERS08@
482 == 1 NAME (342) /Hebrew calendar/ (ctxt is 333, conversion failures: 0)
483 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
484 Contents of the date_value:
485   raw value: @#DHEBREW@ 1 SHV 4
486   type: 0
487   date1:
488     calendar type: 2
489     day: 1
490     month: SHV
491     year: 4
492     date type: 1
493     sdn1: 349209
494     sdn2: -1
495   date2:
496     calendar type: 4
497     day: 
498     month: 
499     year: 
500     date type: 0
501     sdn1: -1
502     sdn2: -1
503   phrase: 
504 Rec INDI start, xref is @PERS09@
505 == 1 NAME (342) /Julian calendar/ (ctxt is 333, conversion failures: 0)
506 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
507 Contents of the date_value:
508   raw value: @#DJULIAN@ 12 APR 1302
509   type: 0
510   date1:
511     calendar type: 1
512     day: 12
513     month: APR
514     year: 1302
515     date type: 1
516     sdn1: 2196715
517     sdn2: -1
518   date2:
519     calendar type: 4
520     day: 
521     month: 
522     year: 
523     date type: 0
524     sdn1: -1
525     sdn2: -1
526   phrase: 
527 Rec INDI start, xref is @PERS10@
528 == 1 NAME (342) /Annunciation style/ (ctxt is 333, conversion failures: 0)
529 == 1 BIRT (283) (null) (ctxt is 333, conversion failures: 0)
530 Contents of the date_value:
531   raw value: 20 MAR 1677/78
532   type: 0
533   date1:
534     calendar type: 0
535     day: 20
536     month: MAR
537     year: 1677/78
538     date type: 1
539     sdn1: 2334016
540     sdn2: -1
541   date2:
542     calendar type: 4
543     day: 
544     month: 
545     year: 
546     date type: 0
547     sdn1: -1
548     sdn2: -1
549   phrase: 
550 WARNING: Warning: Cross-reference @PERS07@ defined on line 38 is never used
551 WARNING: Warning: Cross-reference @PERS02@ defined on line 18 is never used
552 WARNING: Warning: Cross-reference @PERS00@ defined on line 10 is never used
553 WARNING: Warning: Cross-reference @PERS10@ defined on line 50 is never used
554 WARNING: Warning: Cross-reference @PERS01@ defined on line 14 is never used
555 WARNING: Warning: Cross-reference @PERS04@ defined on line 26 is never used
556 WARNING: Warning: Cross-reference @PERS09@ defined on line 46 is never used
557 WARNING: Warning: Cross-reference @PERS08@ defined on line 42 is never used
558 WARNING: Warning: Cross-reference @PERS06@ defined on line 34 is never used
559 WARNING: Warning: Cross-reference @PERS05@ defined on line 30 is never used
560 WARNING: Warning: Cross-reference @PERS03@ defined on line 22 is never used
561
562 === Total conversion failures: 0
563 Parse succeeded