File: ChangeLog.4

package info (click to toggle)
raptor2 2.0.8-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 15,420 kB
  • sloc: ansic: 36,499; sh: 11,917; xml: 6,629; yacc: 2,357; makefile: 1,759; perl: 1,013; lex: 961; cpp: 59
file content (2809 lines) | stat: -rw-r--r-- 89,774 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2003-12-31  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_rss.c, raptor_parse.c, ntriples_parse.c, n3_parser.y:
	Use expanded raptor_parser_register_factory with mime_type and
	uri_string args where appropriate.

	* libraptor.3, raptor.h: Added raptor_syntaxes_enumerate

	* raptor_general.c (raptor_parser_register_factory):
	Add mime_type and uri_string args, both optional.
	(raptor_syntaxes_enumerate): Added to get syntax name, label,
	mime_type or uri_string - all optional.
	(raptor_parsers_enumerate): Uses raptor_syntaxes_enumerate.

	* raptor_internal.h:
	Store parser mime_type, URI in raptor_parser_factory
	Update raptor_parser_register_factory to take mime_type,
	uri_string args.

	* configure.ac: Bumped version to 1.2.0

	* Snapshotted raptor_1_1_0 for 1.1.0 release

	* configure.ac:
	Update RAPTOR_LIBTOOL_VERSION to reflect interfaces added,
	none removed giving current 2:0:1

	* NEWS.html: 1.1.0 released 2003-12-31

	* libraptor.3: nroff/man style tweaks

2003-12-31  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* libraptor.3: nroff/man style tweaks

2003-12-30  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* NEWS.html: Link to W3C docs for 1.1.0

	* configure.ac: words

	* configure.ac: Make flex version warnings mention N-Triples Plus more

2003-12-30  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* NEWS.html: Link to W3C docs for 1.1.0

	* configure.ac: Make flex version warnings mention N-Triples Plus more

2003-12-29  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html, README.html, NEWS.html, LICENSE.html, INSTALL.html:
	XHTML 1 strict

	* NEWS.html: Prepare for 1.1.0

	* libraptor.3: bump date

	* raptor_stringbuffer.c (main): Do not free as_string returned strings

	* raptor_stringbuffer.c: brackets

	* raptor_stringbuffer.c (raptor_free_stringbuffer):
	Free any constructed string.

	* raptor_xml_writer.c:
	Use raptor_stringbuffer to better grow the output cdata.

	* raptor_stringbuffer.c: stringbuffer now uses unsigned char
	Removed raptor_new|free_stringbuffer_node - used once, now inlined.
	(raptor_stringbuffer_append_string_common): Added with
	common append code merged here.
	(raptor_stringbuffer_append_counted_string,
	raptor_stringbuffer_append_string): Added do_copy arg.
	(main): Test code updated for api changes.

	* raptor_internal.h:
	Added prototypes for raptor_stringbuffer class to internal API

	* Makefile.am:
	Re-added raptor_stringbuffer.c and raptor_stringbuffer_test

2003-12-23  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* rapper.1: Updated for 1.1.0, -a is gone.  Added ntriples-plus

	* libraptor.3: parser name is ntriples-plus

	* libraptor.3: Updated for 1.1.0

	* raptor.h: remove raptor_namespaces_end_namespace - does not exist.

2003-12-22  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* Makefile.am:
	Remove raptor_stringbuffer.c/test from dist - not used at present.

	* configure.ac:
	Added --with-xml-names to choose XML 1.0 name checking (default) or 1.1

	* TODO.html: Added --enable-xml-1-1-names and updated to XML 1.1 PRs

	* raptor_utf8.c (raptor_unicode_is_namestartchar):
	Update to Namespaces in XML 1.1 WD
	http://www.w3.org/TR/2003/PR-xml-names11-20031105/#NT-NCNameStartChar
	and Extensible Markup Language (XML) 1.1 PR
	http://www.w3.org/TR/2003/PR-xml11-20031105/#NT-NameStartChar
	(raptor_unicode_is_namechar): Updated comment, no code changes
	needed.

	* tests/ntriplesplus/Makefile.am: No check-warn-rdf tests yet

	* TODO.html: Added --disable-nfc-check to disable Unicode NFC checking.

	* raptor_utf8.c:
	Use RAPTOR_NFC_CHECK to wrap any use of the glib g_utf8_normalize.

	* configure.ac: Define RAPTOR_NFC_CHECK when NFC check is needed

	* configure.ac:
	Added --disable-nfc-check to disable Unicode NFC checking even if a
	suitable glib is present and providing it.  Otherwise, autodetects
	as before.

	* TODO.html: I claim the CDATA counting problem with libxml is a
	libxml bug.

	* TODO.html: Record win32 file://c: somewhat handled.

	* TODO.html: Added --disable-nfc-check to disable Unicode NFC checking.

	* raptor_utf8.c:
	Use RAPTOR_NFC_CHECK to wrap any use of the glib g_utf8_normalize.

	* configure.ac: Define RAPTOR_NFC_CHECK when NFC check is needed

	* configure.ac:
	Added --disable-nfc-check to disable Unicode NFC checking even if a
	suitable glib is present and providing it.  Otherwise, autodetects
	as before.

	* TODO.html:
	I claim the CDATA counting problem with libxml is a libxml bug.

	* TODO.html: Record win32 file://c: somewhat handled.

2003-12-19  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html: updates, note bug or feature

	* examples/Makefile.am: Removed REDLAND_LIBS

2003-12-17  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_parse.c:
	Update for changed raptor_generate_id handler calls - no const.

	* raptor_general.c, raptor.h, raptor_internal.h:
	raptor_generate_id handler does not take const string

	* raptor_general.c, raptor.h, raptor_internal.h:
	raptor_generate_id returns non const

	* ntriples_parse.c (raptor_ntriples_parse_line):
	Casts, unsigned char* for blank node IDs.

	* ntriples_parse.c (raptor_ntriples_parse_line):
	Enforce predicate must be URIref

2003-12-16  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* ntriples_parse.c (raptor_ntriples_parse_line):
	Pass blank node identifier generation
	through raptor_generate_id.  Rewrite returns into setting rc and jump
	to cleanup to ensure allocated blank node IDs are freed.

	* raptor.pc.in: Restore LDFLAGS, LIBS

	* raptor-src-config.in: Removed --static-libs

2003-12-15  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.pc.in: Just link -lraptor

	* configure.ac:
	Remove use of have_redland for expat sources (no longer shipped with
	redland anyway)

	* configure.ac: Remove redland source check.

	* Makefile.am: No need for librdf.la rule

	* rdfdump.c, raptor_stringbuffer.c, raptor_set.c,
	raptor_namespace.c, Makefile.am: Remove all RAPTOR_IN_REDLAND code
	use of REDLAND_LIBS, REDLAND_CFLAGS.  Now the test and rdfdump
	programs always just use raptor alone.

2003-12-14  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html:
	CDATA sections do not count line numbers at all (seen with libxml)

	* raptor_general.c (raptor_print_statement_part_as_ntriples):
	Update call of raptor_print_ntriples_string

	* raptor.h: Update raptor_print_ntriples_string prototype

	* raptor_general.c (raptor_print_ntriples_string):
	Take unsigned const char*

2003-12-08  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html: libxml2.6.0 SAX API support done

2003-12-06  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* Makefile.am:
	Narrower yyerrlabl fix since bison 1.875a no longer requires it

	* examples/grapper.c:
	Casts and updates to use URI strings from raptor as unsigned char*
	and converting to/from gchar*

	* rdfdump.c, raptor_xml_writer.c, raptor_xml.c,
	raptor_www_libxml.c, raptor_www.c, raptor_uri.c, raptor_sax2.c,
	raptor_rss.c, raptor_parse.c, raptor_namespace.c, n3_parser.y,
	n3_lexer.l:
	Lots of casts for str* function args, return values between
	unsigned char* as used for UTF8 and URI strings and char* used by
	str* functions.
	Some further casts for strings from XML.

	* raptor_www_test.c (write_bytes_fh): No return value.
	(main) Test code casts unsigned char* for URI strings
	Fix write_content_type and write_bytes_fh set handler methods.

	* raptor_utf8.c (raptor_unicode_char_to_utf8): unsigned char* arg.
	(raptor_utf8_is_nfc): unsigned int, cast for unsigned char*

	* raptor_sequence.c (raptor_sequence_ensure):
	Use void** not void*.  C++ cares.
	(main): Test code casts to void* for args.

	* raptor_qname.c (raptor_qname_string_to_uri):
	cast for signed/unsigned int
	comparison.

	* raptor_locator.c (raptor_format_locator):
	Use raptor_uri_as_counted_string to save a strlen.

	* raptor_identifier.c:
	(raptor_identifier_print) fputs arg cast [function for
        RAPTOR_DEBUG only]

	* raptor_general.c (raptor_parsers_enumerate): Unsigned int.
	(raptor_parse_uri_write_bytes): unsigned char* cast.
	Declare raptor_xml_literal_datatype_uri_string.
	(raptor_print_statement_detailed): Replace several fprintf with fputs
	and fputc.
	(raptor_print_ntriples_string): Use unsigned long/size_t for counts.
	(raptor_statement_part_as_counted_string): unsigned char*
	Use raptor_xml_literal_datatype_uri_string.
	(raptor_statement_part_as_string): unsigned char*
	(raptor_print_statement_part_as_ntriples): unsigned char*.  Replace
	several fprintf with fputs and fputc.
	Use raptor_xml_literal_datatype_uri_string
	(raptor_default_generate_id_handler): Casts for str* functions
	(raptor_check_ordinal): unsigned char*

	* ntriples_parse.c:
	(raptor_ntriples_generate_statement,
	raptor_ntriples_string_as_utf8_string, raptor_ntriples_parse_line):
	Updated to take/return unsigned char* args and internals.  Update
	raptor_uri calls for similar changes.
	Use raptor_xml_literal_datatype_uri_string
	Lots of casts for str* functions char* arguments.

	* Makefile.am: Remove maintainer only n3 lex/yacc rules (flex/bison)
	Post process the bison output to remove unused label to make g++
	happier.

	* raptor_internal.h:
	Added raptor_xml_literal_datatype_uri_string for the RDF datatype
	literal URI string, used several times.
	raptor_check_ordinal takes unsigned char*
	A couple of lengths, counts become unsigned int.
	raptor_unicode_char_to_utf8, raptor_format_sax2_element,
	raptor_xml_writer_cdata, raptor_xml_writer_comment,
	raptor_xml_writer_as_string changed to
	take/return unsigned char* for UTF8 strings.

	* raptor.h: raptor_new_uri_func, raptor_new_uri_from_local_name_func,
	raptor_new_uri_relative_to_base_func, raptor_uri_as_string_func,
	raptor_uri_as_counted_string_func URI factory methods
	changed to all take/return unsigned char* for URI strings
	raptor_statement_part_as_counted_string,
	raptor_statement_part_as_string,
	raptor_new_uri, raptor_new_uri_from_uri_local_name,
	raptor_new_uri_relative_to_base, raptor_uri_as_string,
	raptor_uri_as_counted_string
	URI methods changed to take/return unsigned char* for URI strings
	raptor_ntriples_string_as_utf8_string changed to return unsigned
	char* for UTF8 string
	raptor_uri_resolve_uri_reference, raptor_uri_filename_to_uri_string,
	raptor_uri_uri_string_to_filename,
	raptor_uri_uri_string_to_filename_fragment, raptor_uri_is_file_uri
	Changed to use unsigned char* for URI strings, char* for filenames

2003-12-03  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html: ntriples parser should use raptor_generate_id for bnodes

2003-12-01  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_set.c (raptor_set_stats_print): Debug printing tweak.

2003-11-28  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_internal.h: raptor_check_ordinal with now unsigned char* arg
	raptor_sax2 content_cdata now unsigned char*

	* raptor_general.c (raptor_check_ordinal): unsigned char *name

	* raptor_parse.c: Lots of char/unsigned char casting.

	* n3_common.h: Undo n3_syntax_error back to raptor_parser arg.

	* n3_parser.y: (n3_parser_error) aka yyerror; take a void arg.

	* n3_common.h:
	The n3_syntax_error aka yyerror function takes a void arg.

	* n3_parser.y: Casts for rdf_parser, strings.

	* n3_lexer.l: Define INPUT_FN as yyinput (C++) or input (otherwise)
	Add more casts for C++ near rdf_parser, yytext.
	(copy_token): More casts for malloc and string functions.
	(copy_string_token): More size_t, casts.

	* ntriples_parse.c (raptor_ntriples_term): Use a size_t; cast for C++.

	* ntriples_parse.c (raptor_ntriples_term_valid,raptor_ntriples_term):
	Change argument names from class to term_class to avoid C++ keyword.

	* raptor_getopt.h: Protect prototypes for C++

	* raptor_stringbuffer.c: casts for RAPTOR_*ALLOC returns

	* n3_parser.y: oops, raptort -> raptor

	* n3_parser.y: another cast for RAPTOR_MALLOC return

	* n3_parser.y: casts for RAPTOR_CALLOC returns

	* configure.ac:
	Move adding pkg-config glib2.0 cppflags/libs till after the other
	libraries since that's more likely to be system wide and least
	effect libxml2, other libraries that might be elsewhere.  Mostly
	affects OSX which is more sensitive to link order.

	* raptor_stringbuffer.c (main): declare at start of block

	* configure.ac: Check for libxml/SAX2.h - the new SAX2 API

	* raptor_libxml.c:
	Added a pile of libxml2_* macros to use the libxml2 SAX2 functions
	when they are present, otherwise the SAX1.  Not using the SAX2 parts
	of the libxml2 API at present.

	* strcasecmp.c: Add debug message arg casts.

	* configure.ac:
	Include libxml/parser.h when checking for other libxml2 headers

	* ntriples_parse.c: Add some debug message arg casts.
	(raptor_ntriples_parse_chunk): At end of input, check that there is
	no remaining junk.

	* ntriples_parse.c (raptor_ntriples_parse_chunk):
	Fix line counting problems when \r\n
	crosses a buffer or when a line ends at the end of a buffer.
	last_char recorded in state.

	* TODO.html: N-Triples Plus parser
	More line counting fixes.

	* README.html: Added N-Triples Plus parser

	* raptor_stringbuffer.c (main): Free returned strings.

	* Makefile.am:
	Added raptor_stringbuffer.c raptor_stringbuffer_test code

	* raptor.h: Added raptor_stringbuffer.

	* raptor_stringbuffer.c: Stringbuffer class for growing strings

	* raptor_libxml.c (raptor_libxml_init): With libxml2 use
	raptor_xml_characters_handler for sax->characters.

	* raptor_parse.c (raptor_cdata_grammar): Added is_cdata arg.
	(raptor_xml_characters_handler): Added, calling raptor_cdata_grammar.
	(raptor_xml_cdata_handler): Updated to call raptor_cdata_grammar with
	is_cdata=1.
	(raptor_xml_parse_init): With expat use raptor_xml_characters_handler
	with XML_SetCharacterDataHandler.
	(raptor_cdata_grammar): Tidy error reporting; do not use
	raptor_xml_writer_as_string for a simple print.

	* raptor_internal.h: Added raptor_xml_characters_handler prototype.

2003-11-25  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* manifest.pl: Add withdrawn tests check

2003-11-23  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/ntriplesplus/Makefile.am:
	Added more N-Triples Plus tests (1-7) and bad (0-3)

	* tests/ntriplesplus/test-07.out, tests/ntriplesplus/test-07.ntp,
	tests/ntriplesplus/test-06.out, tests/ntriplesplus/test-06.ntp,
	tests/ntriplesplus/test-05.out, tests/ntriplesplus/test-05.ntp,
	tests/ntriplesplus/test-04.out, tests/ntriplesplus/test-04.ntp,
	tests/ntriplesplus/test-03.out, tests/ntriplesplus/test-03.ntp,
	tests/ntriplesplus/test-02.out, tests/ntriplesplus/test-02.ntp,
	tests/ntriplesplus/test-01.out, tests/ntriplesplus/test-01.ntp:
	More N-Triples Plus tests

	* tests/ntriplesplus/bad-00.ntp, tests/ntriplesplus/bad-01.ntp,
	tests/ntriplesplus/bad-02.ntp, tests/ntriplesplus/bad-03.ntp:
	N-Triples Plus bad tests

	* n3_lexer.l: In prefix state, always return to initial on
	matching '.', then error out.
	(n3_syntax_error): Copy removed here.
	(main): Init enough more of parser/locator so that n3_syntax_error
	in main library can be used.

2003-11-21  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* rdfdump.c: extra newline in version

	* rdfdump.c: extra newline in help

2003-11-19  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am:
	Added check-ntriples-plus to check N-Triples Plus with the N-Triples
	tests.

	* n3_parser.y, n3_lexer.l, n3_common.h:
	Added lineno to raptor_n3_parser context to track newlines for dos,
	unix, mac since flex doesn't do that by default with yylineno.

	* rdfdump.c: tidy help messages

	* TODO.html: line counting for dos files

	* ntriples_parse.c:
	Track newlines correctly for \r\n across chunks; move last_nl into
	ntriples parser context.
	(raptor_ntriples_parse_chunk,raptor_ntriples_parse_start): Use and
	init last_nl in ntriples parser context.

2003-11-16  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.h: Added raptor_ntriples_string_as_utf8_string

	* ntriples_parse.c (raptor_ntriples_term):
	Added allow_utf8 argument and new class
	RAPTOR_TERM_CLASS_FULL which uses all the passed in string.
	(raptor_ntriples_string_as_utf8_string): Added, using
	raptor_ntriples_term as above.
	(raptor_ntriples_parse_line): Use size_t len args.

	* rdfdump.c: Use f/puts instead of print/fprintf when there are no %s

	* raptor_uri.c (raptor_default_new_uri_for_rdf_concept):
	Remove duplicate strlen(base_uri)

2003-11-15  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* n3_lexer.l: Document more ntriples plus
	Error out if @prefix's name doesn't match name

	* TODO.html: todos near xml1.1 names

	* raptor_utf8.c (raptor_unicode_is_namestartchar):
	Two | changed to ||.  Likely worked anyway

2003-11-11  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* libraptor.3: Noted raptor_set_feature with non_nfc_fatal

	* raptor.h: Added RAPTOR_FEATURE_NON_NFC_FATAL to pick between NFC
	errors or warnings.

	* raptor_general.c (raptor_set_feature): Added
	RAPTOR_FEATURE_NON_NFC_FATAL to pick between NFC errors or warnings.
	(raptor_set_parser_strict): Set feature_non_nfc_fatal default off.

	* raptor_internal.h:
	Added feature_non_nfc_fatal to pick between NFC errors or warnings.

	* raptor_parse.c:
	Put 'quotes' around element/attribute names in messages.
	Use feature_non_nfc_fatal to pick between NFC errors or warnings.

	* tests/Makefile.am: check-bad-nfc-rdf - use strict mode

	* rdfdump.c: Document -m/--mode arg

	* TODO.html: gzip2/bzip2 api

2003-11-10  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html: Note libxml2 2.6.0 SAX2 issues

	* configure.ac: Added tests/ntriplesplus

	* tests/ntriplesplus/Makefile.am: N-Triples plus tests

	* tests/ntriplesplus/test-00.ntp, tests/ntriplesplus/test-00.out:
	N-Triples Plus default namespace test

	* tests/Makefile.am: added ntriplesplus dir

	* raptor_qname.c (raptor_qname_string_to_uri):
	Keep original name around for error reporting.

	* rdfdump.c, n3_parser.y: parser now called ntriples-plus

	* n3_parser.y: parser called ntriplesplus

	* n3_parser.y (production directive):
	Fix declaring default namespace prefix

2003-11-09  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am: added bad-20.rdf

	* tests/bad-20.rdf: check non-namespaced element does not crash parser

	* raptor_qname.c (raptor_new_qname,
	raptor_new_qname_from_namespace_local_name): Do not die if no URI
	for qname is available.  It might be <a xmlns=""> which is at
	least needed for some error reports or for embedded qnames.
	Caused unnecessary crashes when parsing failed.

2003-11-03  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_xml.c (main): Make tests less chatty on success

	* raptor_uri.c (main): Make it less chatty on success

	* raptor_uri.c (raptor_uri_uri_string_to_filename_fragment):
	Allow file://a|/ and file://a:/
	(main): For WIN32, check the above works.

	* autogen.sh: remove ltmain.sh libtool before libtoolize

	* raptor_general.c (raptor_parse_uri_with_connection):
	Fail before parsing if raptor_www_fetch failed.

	* raptor_internal.h: Added raptor_www_error_varargs internal prototype.

	* raptor_www_libxml.c (raptor_www_libxml_http_error):
	This was just all wrong, printing to
	stderr and then exit(1).  Change to use the proper
	raptor_www_error_varargs callback.

	* raptor_www.c (raptor_www_error_varargs):
	Added, with va_list signature.

	* raptor_general.c (raptor_parse_file):
	When uri is given and base_uri is NULL, copy
	the uri and free it later - fix to match the function documentation.

2003-10-31  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_general.c (raptor_parse_file): fclose only when fh is not NULL

2003-10-21  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html: Note Win32 URI code possible bug

	* raptor_parse.c (raptor_xml_end_element_handler):
	For RAPTOR_DEBUG, declare element_name at start of function.

2003-10-20  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.h: raptor_namespace(s)_(new|free) renamed to
	raptor_(new|free)_namespace(s) 
	Added raptor_new_qname_from_namespace_local_name

	* raptor_qname.c (raptor_new_qname_from_namespace_local_name): Added.

	* raptor_namespace.c:
	raptor_namespaces_(new|free) renamed to raptor_(new|free)_namespaces

	* raptor_namespace.c:
	raptor_namespace_(new|free) renamed to raptor_(new|free)_namespace

	* raptor_xml_writer.c:
	raptor_namespaces_free renamed to raptor_namespaces_clear

	* raptor_parse.c (raptor_xml_start_element_handler):
	Use raptor_new_sax2_element.
	raptor_namespaces_free renamed to raptor_namespaces_clear

	* raptor_internal.h: Added raptor_new_sax2_element

	* raptor_sax2.c (raptor_new_sax2_element): Added.

	* raptor.h:
	Added prototypes for raptor_namespaces_new, raptor_namespaces_clear

	* raptor_namespace.c (raptor_namespaces_new,raptor_namespaces_free):
	Added for constructor and destructor.
	raptor_namespaces_free renamed to raptor_namespaces_clear for
	emptying a statically allocated namespace stack.

	* n3_parser.y:
	raptor_namespaces_free renamed to raptor_namespaces_clear

2003-10-16  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* n3_parser.y: Moved n3 lexer/parser stuff to n3_common.h
	Added uri field to union.
	URI_LITERAL and QNAME_LITERAL now are uri.
	PREFIX now expects an IDENTIFIER to follow.
	Remove all make qname/uri and free(copied token) sequences since the
	lexer does it.
	Added fake yy_init_globals to stop dumb warning.

	* n3_lexer.l: Make raptor_uris here from lexer tokens (qnames or URIs)
	For @prefix, recognise following token as an identifier specially
	rather than try to make it a URI.
	(n3_token_free): Free string or raptor_uri.
	(main): Lots of fixups to fake enough n3 parser structure to
	get it working fairly standalone.

	* Makefile.am: Added n3_common.h
	Fixup free of null inside flex-generated lexer.

	* n3_common.h: N3 parser/lexer shared internals

	* raptor_internal.h: Moved n3 lexer/parser stuff to n3_common.h

	* n3_parser.y (n3_qname_to_uri): Replace with call to
	raptor_qname_string_to_uri and added length parameter.

	* raptor_qname.c (raptor_new_qname):
	Replace raptor_namespace_local_name_to_uri
	with use of raptor_new_uri_from_uri_local_name.
	(raptor_qname_string_to_uri): Added, making only the URI
	equivalent to the qname and handling N3/RDQL-style special
	cases such as "prefix:", ":" and NULL.

	* raptor_internal.h, raptor.h:
	Moved raptor_qname, raptor_namespace, raptor_namespace_stack
	classes into public API.
	Added raptor_qname_string_to_uri

	* raptor_namespace.c (raptor_namespace_local_name_to_uri):
	Removed - only used once internally and was never public.

2003-10-09  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* n3_lexer.l (n3_token_free): Added, for cleanup in debugging.
	(main): Init and clear token/lval.

	* tests/Makefile.am: Added ex-53

	* tests/ex-53.out, tests/ex-53.rdf: Check allowing optional rdf:RDF

	* rdfdump.c:
	--assume/-a feature_assume_is_rdf deleted; rdf:RDF is optional.

	* raptor_general.c, raptor_parse.c:
	feature_assume_is_rdf deleted; rdf:RDF is optional.

	* raptor_internal.h: feature_assume_is_rdf deleted

2003-10-06  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/wine.out, tests/wine.rdf:
	OWL Wine Ontology from http://www.w3.org/TR/owl-guide/wine.rdf

	* tests/Makefile.am:
	Added OWL Wine ontology from http://www.w3.org/TR/owl-guide/wine.rdf
	as wine.rdf wine.out

2003-09-30  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html: NTP lval

	* n3_parser.y: Remove n3_parser_lex; re-#define yylex to call direct

	* n3_lexer.l (copy_string_token):
	Destroy malloced string on error return.

	* n3_parser.y (n3_parse):
	Don't delete buffer, pop buffer state; a successful lex does that.

	* raptor_internal.h: Remove n3_token_print

	* n3_parser.y: Use reentrant yacc parser.
	Store the lexer lval in the n3_parser context.
	Lots of #define trickery to get flex/bison to talk nicely.
	Make n3_parser_error take an rdf_parser arg (this isn't configurable
	by bison itself, so is likely fragile).
	Remove use of extern in lineno; get it from the lexer.
	Remove N3_Parser global; use rdf_parser local.
	(n3_parser_error): Update for having rdf_parser arg, update locator
	lineno from scanner.
	(n3_syntax_error, n3_qname_to_uri): Get lineno from scanner.
	(n3_parse): Remove fixmes, no need for protecting globals.
	(main): Update for reentrant parser; init locator from standalone
	args.

	* n3_lexer.l:
	Remove n3_lexer.c/.h prototypes no longer(?) needed with
        re-entrant lexer.
	Remove use of lineno; let lexer do it.
	Change lexer call to pass in lval from reentrant parser.
	(n3_token_print): Pass in lval.
	(main): Update for api changes.

2003-09-29  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_internal.h: Updates for reentrant lexer.

	* n3_parser.y: Use reentrant lexer API.
	Define YYLEX_PARAM to be scanner arg, from current grammar.
	(n3_parser_lex): Take scanner arg.
	(n3_syntax_error): Add rdf_parser arg.
	(n3_parse): Init and destroy reentrant lexer.
	(raptor_n3_parse_terminate): Tidy up any lexer stuff.
	(main): Check for file not found, report it.

	* n3_lexer.l:
	Switch to reentrant lexer.  Pass rdf_parser into code, yyextra
	internally.
	(yywrap): Add scanner arg.
	(copy_string_token, n3_syntax_error): Add rdf_parser arg.
	(main): Use reentrant calls for lexer to set yyin, get_text.  Use
	yylex_init/yylex_destroy.

	* Makefile.am: n3_lexer_test depends on raptor_utf8

	* raptor_parse.c:
	Add EXPAT_UTF8_BOM_CRASH fix updates for sax2 changes.

	* configure.ac: Tweak for old flex version output

	* configure.ac: Try to check flex is new enough.

2003-09-21  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* n3_parser.y: Minor C reformatting

2003-09-20  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.h: Added raptor_parsers_enumerate prototype

	* n3_lexer.l: minor reformatting

	* n3_lexer.l (copy_string_token): Make \r, \n and \t work

	* raptor_general.c (raptor_init): Ensure rdf/xml is default parser.
	(raptor_parsers_enumerate): Added, to enumerate parsers, returning
	their name & label.

	* examples/grapper.c:
	Use raptor_parsers_enumerate to get parser names, labels.

	* n3_lexer.l: flex archaeology for options

	* examples/Makefile.am: Don't build examples by default

2003-09-19  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_www.c, raptor_general.c:
	Revert to old API for raptor_uri_uri_string_to_filename

	* raptor.h, raptor_uri.c (raptor_uri_uri_string_to_filename):
	Restored to old API.
	(raptor_uri_uri_string_to_filename_fragment): Added with fragment arg.

2003-09-17  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* n3_parser.y (n3_qname_to_uri):
	Handle NULL (":" in N3) returning the default
	namespace.  It's not quite clear if this is legal.

	* n3_parser.y (raptor_n3_generate_statement):
	Do nothing if some part of the triple
	is NULL.

	* raptor_internal.h: n3_syntax_error now takes varargs

	* n3_parser.y (n3_syntax_error): Now takes varargs

	* n3_lexer.l: n3_syntax_error now takes varargs
	(copy_string_token): Added \u, \U.  Fixed, \r, \n, \t

	* n3_parser.y: Wrap a debugging printf

	* n3_lexer.l: For blank literal "_:abc", don't include _: in the
	id passed to the parser.

	* n3_parser.y:
	Throughout replace raptor_new_uri with raptor_copy_uri when copying
	existing base URI.

	* n3_parser.y:
	Throughout: Handle NULL uri string meaning use the base URI

	* n3_lexer.l: Handle <> (returning NULL) as well as <> with content.
	(n3_token_print): Update to match.
	(n3_syntax_error): Simple standalone copy here.

	* n3_parser.y (n3_parser_error):
	Set lineno and call raptor_parser_simple_error to
	pass on the parsing error.
	(n3_syntax_error): Added. Set lineno and call raptor_parser_error
	to pass on a general syntax error.
	(n3_qname_to_uri): Init locator line before calling raptor_new_qname
	that may fail, calling raptor_parser_simple_error.

	* raptor_internal.h: Add n3_syntax_error

	* n3_lexer.l: Call n3_syntax_error on a syntax error

	* TODO.html: uris work for ntriples+

	* examples/grapper.c: Add n3 syntax

	* n3_parser.y (propertyList): Handle NULL verb, two cases.
	(raptor_n3_parse_start): No locator column, byte values just yet.

	* n3_parser.y (n3_qname_to_uri):
	Call raptor_new_qname with rdf_parser for errors

	* TODO.html: +RFE to disable NFC linking/check to glib

2003-09-15  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* n3_parser.y: Don't raptor_free_uri shared uris made from qnames

	* n3_parser.y (n3_parse): Tidy up flex buffers.
	(raptor_n3_parse_terminate): Destroy any flex state on exit.

	* n3_parser.y (n3_parse): delete buffer after parse.

	* n3_parser.y: Free uri strings returned from URI_LITERAL.

	* raptor_identifier.c (raptor_new_identifier):
	Note uri, literal_datatype are shared and not copied.

	* n3_parser.y: Free strings returned from QNAME_LITERAL.

	* raptor_sequence.c (raptor_new_sequence): Use RAPTOR_MALLOC.
	(raptor_free_sequence): Free the raptor_sequence.

	* raptor_identifier.c (raptor_new_identifier):
	Note id, literal, literal_language are shared and not copied.

	* n3_parser.y (statement): Free identifier used for subject
	(propertyList): Free identifier used for verb

	* n3_parser.y: Track when an identifier is copied using is_malloced
	(raptor_free_triple): Actually free the triple.

	* raptor_internal.h, n3_parser.y: raptor_triple now just has 3 items.

	* n3_parser.y (raptor_n3_parse_terminate): Free namespaces

	* n3_parser.y (n3_parse): Do not parser NULL or empty string.
	(raptor_n3_parse_chunk): Do not parser empty buffer.

	* rdfdump.c: (main) Don't free NULL uri

	* TODO.html: More N-Triples+ todos

	* TODO.html, README.html, NEWS.html, INSTALL.html:
	XHTML fixes, removing align="center"

	* TODO.html: Some N-Triples+ todos

	* n3_parser.y: More debugging messages.
	Recover from errors, don't generate partial triples.
	(n3_qname_to_uri): Return NULL if raptor_new_qname does not give a
	URI (some error happened).

	* n3_lexer.l: Remove END token, should only use EOF
	Count lines right for \r\n|\r|\n
	Handle EOF in comments

	* n3_parser.y: Remove END token, should only use EOF
	Add more debugging statements.
	Throughtout, change raptor_new_uri to raptor_new_uri_relative_to_base.
	(statement): Handle empty propertyList ("[]").
	(propertyList 1): Copy verb into objectList, then append
	propertyList items (if not empty "[]" again).
	(objectList): Add empty item for "[]", returning NULL.
	(resource): For [], handle NULL and generate statements here
	before returning the generated id.
	(n3_parser_print_statement): Added for test code
	(main): In test code, init URI module only, create fake
	static rdf_parser and n3_parser and initialise enough (base URI,
	and context) so that it works.

	* n3_parser.y: Add error recovery at '.'

2003-09-14  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* n3_parser.y: raptor_print_triple renamed to raptor_triple_print

	* n3_parser.y: Only define raptor_print_triple if debugging.

	* raptor_identifier.c, n3_parser.y:
	raptor_print_identifier renamed to raptor_identifier_print

	* n3_parser.y: Raptor N-Triples+/N3 parser

	* n3_lexer.l: Raptor N-Triples+/N3 lexer

	* raptor_identifier.c (raptor_identifier_print): Added for debugging

	* raptor_internal.h: When debugging, raptor_identifier_print

	* raptor_identifier.c (raptor_new_identifier):
	Add literal, literal_datatype,
	literal_language args and handle them.
	(raptor_init_identifier): Deleted, not used (enough).
	(raptor_copy_identifier, raptor_free_identifier): Updated for
	literal, literal language and literal datatype.

	* rdfdump.c:
	Use the syntax name (after validation) to intialise the parser rather
	than an ever-growing set of flags.

	* raptor_uri.c (raptor_default_new_uri):
	If the filename had a fragment, re-append
	it to the file:URI after updating it to be correct.
	(raptor_uri_uri_string_to_filename): Add fragment_p arg to return
	the URI fragment after a discovered filename in a file:URI.
	(assert_uri_to_filename): Update call to
	raptor_uri_uri_string_to_filename.

	* raptor_parse.c (raptor_xml_parser): Add namespaces.
	Elsewhere change rdf_parser->namespaces to
	rdf_xml_parser->namespaces.
	(raptor_xml_parse_start): Initialise the namespaces for rdf/xml.

	* raptor_sequence.c: Raptor sequence ADT

	* raptor_namespace.c (raptor_namespace_init):
	Add defaults arg to control which
	namespaces are added by default. 0=none, 1=xml, 2=... others
	(main): Update test code to give new arg.

	* raptor_general.c (raptor_init): Call raptor_init_parser_n3.
	(raptor_start_parser, raptor_free_parser): Remove namespace code from
	here; moves into specific parser context code.
	(raptor_parse_file): Update for raptor_uri_uri_string_to_filename
	extra arg.

	* raptor_xml_writer.c:
	(raptor_new_xml_writer) Update for raptor_namespaces_init defaults
	arg.

	* raptor_rss.c (raptor_rss_emit): Use raptor_new_identifier rather than
	raptor_init_identifier and make items dynamically allocated.

	* raptor_www.c:
	(raptor_www_file_fetch) Update for raptor_uri_uri_string_to_filename
	extra argument.

	* raptor.h:
	Add literal, literal_datatype, literal_language to raptor_identifier
	structure.
	Add above arguments to raptor_new_identifier.
	Remove raptor_init_identifier - not used.
	Add fragment_p argument to raptor_uri_uri_string_to_filename.

	* raptor_internal.h:
	Remove namespaces from raptor_parser; now in per-syntax contexts.
	Updated raptor_namespaces_init to take defaults arg.
	Added N3 class prototypes, for n3_token_print, raptor_init_parser_n3,
	n3_parser_lex.
	Added raptor_triple structure.
	Added sequence class prototypes.

	* Makefile.am:
	Add n3_lexer.c n3_lexer.h both generated from n3_lexer.l by flex;
	add maintainer-only rules to do that.
	Add n3_parser.tab.c n3_parser.tab.h generated from n3_parser.y by
	yacc; add maintainer-only rules to do that.
	Add raptor_sequence.c and test.

	* configure.ac: Add lex (flex required) and yacc

2003-09-08  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac: Bumped version to 1.1.0

	* ntriples.h: deprecated

	* Snapshotted raptor_1_0_0 for 1.0.0 release

	* libraptor.3: new date

	* NEWS.html: Note functions were removed, soname was increased

	* ntriples.h, Makefile.am: Removed old header ntriples.h

	* raptor_general.c, raptor.h, ntriples_parse.c:
	Removed deprecated functions as promised. Changes are described in
	the libraptor.3 man page.

	* configure.ac: Updated for Raptor 1.0.0
	Shared library soname major now 1

	* NEWS.html, libraptor.3: Updated for Raptor 1.0.0

	* win32_config.h: Added R_OK define for access()

	* tests/Makefile.am: test wording for failures

2003-09-05  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am: Added bad-05.nt

	* tests/bad-05.nt: Bad Unicode character #x110000

	* tests/test.out, tests/test.nt: fixes

	* tests/test.nt:
	Removed resource18-20 - illegal Unicode chars.  Added \U0010FFFF

	* ntriples_parse.c (raptor_ntriples_term):
	Forbid Unicode characters outside #x0-#x10FFFF

2003-09-04  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* libraptor.3: Updated for 0.9.13
	Added raptor_parse_file_stream.
	Added new feature normalize_language.
	Added list of all static variables exported.

	* configure.ac:
	Define RAPTOR_VERSION_DECIMAL here and make it an AC_SUBST.

	* raptor_general.c: Use RAPTOR_VERSION_DECIMAL define.

	* raptor-config.1: Document --version-decimal and --libtool-libs

	* raptor-config.in: Added --version-decimal.

	* rdfdump.c: Allow filename "-" to be used as standard input.
	When a filename is given, use raptor_parse_file.
	Adjust the error messages to mention file names when using
	raptor_parse_file.

	* raptor.h: Added raptor_parse_file_stream

	* raptor_general.c (raptor_parse_file_stream):
	Added, allowing passing in of an existing
	FILE* stream (with optional filename) and parsing rather than
	raptor doing the fopen/fclose.
	(raptor_parse_file): A NULL uri argument now means stdin.

	* raptor_internal.h, raptor_parse.c: Remove rdf_parser->fh

	* rdfdump.c: Use raptor_short_copyright_string in usage/help messages

	* raptor_general.c, raptor.h: Added raptor_short_copyright_string

2003-09-03  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_general.c (raptor_set_feature):
	Add new feature normalize_language
	(raptor_set_parser_strict): Set default for feature
	normalize_language to true.

	* raptor.h, raptor_internal.h: Add new feature normalize_language

	* raptor_parse.c (raptor_xml_start_element_handler):
	Normalize language to lowercase.
	After http://www.w3.org/TR/rdf-concepts/#dfn-language-identifier
	Controlled by a new parser feature 'normalize_language'.

	* ntriples_parse.c (raptor_ntriples_parse_line):
	Normalize language to lowercase.
	After http://www.w3.org/TR/rdf-concepts/#dfn-language-identifier

2003-09-01  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor-config.in: Oops, -lraptor with --libs

	* configure.ac:
	Added RAPTOR_LIBTOOL_LIBS for compiling with raptor using libtool.

	* raptor-config.in:
	Added exec_prefix to make --libs generate the right -L
	Added --libtool-libs for compiling with raptor using libtool.

2003-08-31  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac: dmalloc enabled only if dmalloc.h is present

	* tests/Makefile.am: Removed warn-01 re-added accidently.

	* tests/warn-00.out, tests/warn-00.rdf: Added rdf:bagID warning check

	* tests/Makefile.am:
	Added scanning tests and ex-52.svg/out for inside SVG

	* tests/ex-52.out, tests/ex-52.svg: Check scanning for rdf/xml in SVG

	* raptor_general.c (raptor_set_parser_strict):
	Scanning and assuming are never default
	on, must be enabled

	* TODO.html: The scanning for rdf:RDF works (--scan argument to rapper)

	* raptor_parse.c (raptor_xml_start_element_handler):
	Fix scanning for rdf:RDF.  Do
	parent->child processing if the grammar has a state set up,
	in this case it is expecting a list of node elements.

	* rdfdump.c: Set strict before setting other features

	* rdfdump.c: Use strict_mode

	* tests/warn-00.out, tests/warn-00.rdf, tests/warn-01.out,
	tests/warn-01.rdf, tests/warn-03.rdf: These are now errors not
	warnings

	* raptor_parse.c (raptor_xml_start_element_handler):
	 Non-namespaced elements are now
	an error.
	(raptor_process_property_attributes): Tidy non-namespaced element name.
	(raptor_start_element_grammar): Give errors if an attempt is made
	to proceed dealing with elements with no namespace for property or
	node elements - attributes are caught above.

	* tests/Makefile.am:
	Add bad-18.rdf, bad-19.rdf for non-namespaced elements

	* tests/bad-18.rdf, tests/bad-19.rdf:
	Test node/property elements without namespaces fail

	* raptor_internal.h:
	Add raptor_parser field 'magic' for libxml2 error/warning callback
	validation.  and declare RAPTOR_LIBXML_MAGIC to set use there

	* raptor_general.c (raptor_new_parser):
	Set RAPTOR_LIBXML_MAGIC field in structure for
	libxml2 error/warning callback validation.

	* ntriples_parse.c (raptor_ntriples_term):
	Check that the string/URI term was terminated
	before the end of the string.

	* tests/Makefile.am: Added bad-04.nt

	* tests/bad-04.nt: Test for non-terminated URI

	* raptor_libxml.c (raptor_libxml_warning,raptor_libxml_error):
	Validate the ctx pointer
	returned since sometimes it is a ctx, sometimes ctx->userData.  The
	latter is what is expected.

	* tests/Makefile.am: Oops, run bad ntriples tests in N-Triples mode

	* rapper.1: Added --version/-v

	* rdfdump.c: Tidied up option error handling, messages.
	Added --version/-v

2003-08-30  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac:
	Added --with-dmalloc option default auto for maintainer, no otherwise.

2003-08-25  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac: Bumped version to 0.9.13

	* Snapshotted raptor_0_9_12 for 0.9.12 release

	* NEWS.html: Updated for 0.9.12

	* raptor_parse.c (raptor_start_element_grammar):
	With rdf:datatype, do not lose the
	URI string pointer.  For rdf:ID, do not allocate the URI twice.

	* raptor_parse.c (raptor_generate_statement):
	Do not set language when a datatype is given.

	* raptor_xml_writer.c (raptor_new_xml_writer):
	Initialise writer buffer to an empty string
	to start (i.e. just \0).
	(raptor_xml_writer_start_element): Now assume buffer is always
	present, remove empty buffer case.
	(raptor_xml_writer_end_element,raptor_xml_writer_cdata): Handle 0
	length case, no strncpy.

	* tests/Makefile.am: Added ex-51.
	Fix daml+oil test.

	* tests/ex-51.out, tests/ex-51.rdf: Check empty XML literal works

	* tests/ex-41.out: No language for datatyped literals.

	* tests/daml-oil.rdf, tests/daml-oil.out, tests/Makefile.am:
	Updated to DAML+OIL schema 2001-03 as defined in
	http://www.daml.org/2001/03/daml+oil-index.html

	* tests/daml-oil.out, tests/daml-oil.rdf: Added 2000-11-30
	http://www.cs.man.ac.uk/%7Ehorrocks/DAML-OIL/daml-oil.rdf

	* tests/owl-schema.rdf, tests/owl-schema.out:
	Updated OWL schema http://www.w3.org/2002/07/owl to match
	that given in OWL Reference 2003-08-18 CR
	at http://www.w3.org/TR/2003/CR-owl-ref-20030818/#appB

	* libraptor.3: Updated for 0.9.12

2003-08-21  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* NEWS.html: Updates for 0.9.12

	* TODO.html: URI#frag used as URI in retrievals now

	* Makefile.am: Remove -static from test links

	* raptor_uri.c (main): Test xmlbase and retrievable URI tranforms.

	* raptor_uri.c (raptor_uri_resolve_uri_reference): Handle #s
	relative to a uri-reference with a #fragment.

	* raptor_www.c:
	(raptor_www_fetch) Use raptor_new_uri_for_retrieval to ensure
	that the URI-reference fragments are removed, and the URI path
	exists.

	* raptor.h: Added raptor_new_uri_for_retrieval

	* raptor_uri.c (raptor_new_uri_for_retrieval): Added, strips
	fragments and ensures / path is present.

	* INSTALL.html: Builds on Alpha Linux 2.2

	* raptor_xml_writer.c
	(raptor_xml_writer_start_element,raptor_xml_writer_end_element):
	Use size_t for lengths.

	* raptor_xml_writer.c (raptor_xml_writer_start_element):
	Set content_element_seen in parent only if there is a parent.
	(raptor_xml_writer_end_element): Change current_element to parent
	only if there is a current element.

	* TODO.html: NFC checks

	* tests/Makefile.am:
	Pull out may-fail NFC checks into a separate set and don't exit 1
	if they do fail.  Failure is possible since it requires GNOME glib2
	which isn't always available.

2003-08-20  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_general.c (raptor_check_ordinal): parentheses just for gcc

2003-08-17  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_xml_writer.c:
	(raptor_xml_writer_end_element) Reset the current_element pointer
	on finishing.  Makes any succeeding cdata do the right thing.

	* rdfdump.c: Inside redland, don't call raptor_init/finish, it's
	done by redland's world.

2003-08-13  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_rss.c (raptor_rss_parse_chunk):
	Stop working after a user abort of the parser.

	* raptor_general.c (raptor_check_ordinal): c is not const

	* rdfdump.c, raptor_xml_writer.c, raptor_xml.c,
	raptor_www_libwww.c, raptor_utf8.c, raptor_uri.c, raptor_set.c,
	raptor_sax2.c, raptor_qname.c, raptor_parse.c, raptor_namespace.c,
	raptor_locator.c, raptor_libxml.c, raptor_identifier.c,
	raptor_general.c, ntriples_parse.c: Move dmalloc includes into
	raptor_internal.h and use everywhere.

	* raptor_internal.h:
	Add raptor dmalloc includes here to ensure all raptor code uses it
	or not consistently.

	* TODO.html: +URI retrieval

2003-08-08  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am: Added warn-03

	* tests/warn-03.rdf: Handle deleting of default namespaces

	* raptor_parse.c (raptor_xml_start_element_handler): Handle when a
	name has a namespace but that namespace has no URI such as
	xmlns="".  In that case, the element has non-namespaced parts too,
	so skip.

	* ntriples_parse.c (raptor_ntriples_parse_line):
	Casts so isspace calls get int args.

	* raptor_uri.c (raptor_uri_is_absolute):
	Cast so isalpha and isalnum get int args.

	* tests/Makefile.am: Added ex-50

	* tests/ex-50.out, tests/ex-50.rdf: Check parseType with unknown value

	* raptor_parse.c (raptor_start_element_grammar):
	Handle parseType="Literal"
	without duplicating code.

	* raptor_parse.c (raptor_start_element_grammar):
	Handle parseType="...." which
	isn't any of the other known types identically to
	parseType="Literal".

	* raptor_general.c (raptor_check_ordinal):
	Return <0 on failure such as no legal
	characters at all.

	* raptor_internal.h: Added raptor_check_ordinal.

	* ntriples_parse.c (raptor_ntriples_generate_statement): Make
	RAPTOR_IDENTIFIER_TYPE_ORDINAL predicates for property URI strings
	that match the rdf:_<n> pattern with n a decimal integer>0.

	* raptor_parse.c: Use raptor_check_ordinal for checking <n> in rdf:_<n>

	* raptor_general.c (raptor_check_ordinal): Check the <n> in rdf:_<n>

	* raptor_general.c (raptor_vsnprintf):
	Non-portable use of va_list fixed by copying the
	arguments with va_copy before passing to vsnprintf calls.  The
	symptom was crashes on some architectures where this mattered, such
	as powerpc.

2003-08-07  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_general.c (raptor_parse_uri_with_connection):
	Return failure status.

2003-08-03  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am: Added bad N-Triples tests bad-0[0-3].nt and checks

	* tests/bad-00.nt, tests/bad-01.nt, tests/bad-02.nt, tests/bad-03.nt:
	Bad N-Triples

	* ntriples_parse.c: raptor_ntriples_term_class Added for:
	(raptor_ntriples_term_valid): Checking validity of a ntriples term -
	this could be inlined.
	(raptor_ntriples_string) Renamed to:
	(raptor_ntriples_term) Use raptor_ntriples_term_valid.
	(raptor_ntriples_parse_line): Add more checks that whitespec exists
	between ntriples terms.
	Error to have typed literals with languages.

	* tests/test.out, tests/test.nt:
	Updated to remove language from typed literals

	* raptor_general.c (raptor_print_statement_detailed):
	Fix datatype uri output <uri> not <uri<

2003-07-31  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html:
	'make check' shouldn't fail on NFC checks that will never work.

	* raptor_general.c (raptor_parser_simple_error):
	Call raptor_parser_error_varargs, don't
	lose the arguments.

2003-07-29  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac: Bumped version to 0.9.12

	* Snapshotted raptor_0_9_11 for 0.9.11 release

	* NEWS.html, README.html: words

	* raptor_sax2.c: struct nsd: use size_t for length.

	* configure.ac:
	Ensure the libxml2 xmlReader API is new enough (2.5.0+) such as
	having xmlParserSeverities.

	* NEWS.html: More updates for 0.9.11

2003-07-28  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.h: Update raptor_generate_id_handler to take user_bnodeid arg.

	* raptor_rss.c:
	Update calls of raptor_generate_id with user_bnodeid (NULL for
	existing calls)

	* raptor_parse.c:
	Update calls of raptor_generate_id with user_bnodeid (NULL for
	existing calls)
	Use it to wrap the rdf:nodeID values for subject and object cases.

	* raptor_internal.h: raptor_generate_id updated to add user_bnodeid

	* raptor_general.c (raptor_set_generate_id_handler):
	Document final argument
	user_bnodeid from the rdf:nodeID attribute value.
	(raptor_default_generate_id_handler): Add user_bnodeid, return it if
	present.
	(raptor_generate_id): Add user_bnodeid and pass on.

	* NEWS.html, README.html: words

	* README.html: Style.
	RSS tag soup rewording

	* README.html, INSTALL.html: Updated for 0.9.11 release

	* raptor_internal.h: Added raptor_xml_writer_comment

	* TODO.html: NFC checking done.
	Exclusive XML C14N done.

	* raptor_namespace.c (raptor_namespace_copy):
	Don't copy uri and then lose it.

	* raptor_xml_writer.c:
	Added current_element for tracking empty/not empty elements.
	(raptor_xml_writer_comment): Added, just concatenating the content
	via raptor_xml_writer_cdata.

	* raptor_parse.c (raptor_xml_comment_handler):
	Call raptor_xml_writer_comment inside
	parseType="Literal"

	* raptor_xml_writer.c: raptor_xml_writer gains stack depth.
	(raptor_free_xml_writer): Clear any content_cdata before finishing.
	(raptor_xml_writer_start_element)
	Add depth to raptor_format_sax2_element calls.  Increase it
	(raptor_xml_writer_start_element,raptor_xml_writer_end_element):
	Add depth to raptor_format_sax2_element calls.  Decrease it
	and raptor_namespaces_end_for_depth each time.

	* raptor_namespace.c:
	Moved  error_handler and error_data arguments around.
	(raptor_namespaces_start_namespace) Gets those as arguments
	(raptor_namespaces_start_namespace) Added, simpler version of _full
	(raptor_namespaces_start_namespace_full) Added, was the old interface
	but less error arguments.
	(raptor_namespaces_namespace_in_scope): Fix namespace URI comparison.
	(raptor_namespace_new) Looses error arguments.
	(raptor_namespace_copy) Added, copy to a new stack with a new depth.

	* raptor_sax2.c (raptor_format_sax2_element):
	Gain stack depth argument.
	Only use namespace declarations when there is a namespace stack
	present.
	copy namespaces to new stack when new ones are needed.

	* raptor_internal.h:
	Add error_handler and error_data to namespace_stack.
	raptor_namespaces_start_namespace gets those as arguments
	raptor_namespace_new looses them
	raptor_namespaces_start_namespace takes less args
	raptor_namespaces_start_namespace_full added
	raptor_namespace_copy added
	content_cdata_seen and content_element_seen back into sax2_element

	* raptor_parse.c:
	Moved content_cdata_seen and content_element_seen back into sax2_element
	Update for new raptor_namespaces_start_namespace calling convention.

	* raptor_xml_writer.c: Debug

	* raptor_namespace.c (raptor_namespaces_format):
	Fix missing counting : when present

	* tests/ex-11.rdf, tests/ex-11.out:
	Updated to declare the html namespace as default, expect it in the
	N-Triples output.

	* raptor_namespace.c (raptor_namespaces_namespace_in_scope):
	Added, checking if a given
	namespace is declared in scope.
	(raptor_namespaces_format): Added, returning a string to declare
	the given namespace.

	* raptor_xml_writer.c:
	(raptor_xml_writer_start_element,raptor_xml_writer_end_element):
	Updated for raptor_format_sax2_element new arguments

	* raptor_sax2.c (raptor_format_sax2_element):
	Add raptor_namespace_stack argument.
	Create xmlns declarations for elements not declared in the current
	stack state, using raptor_namespaces_format to create the string.

	* raptor_internal.h:
	Added prototypes for raptor_namespaces_namespace_in_scope,
	raptor_namespaces_format
	raptor_format_sax2_element now takes a raptor_namespace_stack

2003-07-27  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_internal.h: raptor_xml_writer prototypes take unsigned char*

	* raptor_parse.c: Move the code building parseType="Literal" strings to
	raptor_xml_writer class.
	(raptor_cdata_grammar): Added, just for symmetry mostly, with most
	code taken from raptor_xml_cdata_handler.

	* raptor_xml_writer.c:
	Move the code building parseType="Literal" strings to
	raptor_xml_writer class.

	* Makefile.am: Added raptor_xml_writer.c

	* raptor_xml_writer.c: Initial version

	* raptor_parse.c:
	Split content_cdata fields between sax2_element & (RDF/XML
	specific) element.
	raptor_element: Add xml_writer field.
	Various calls changed to use the new raptor_simple_message_handler
	for error handling implemented as raptor_parser_simple_error here.
	(raptor_xml_parser_simple_error_handler): Added, matching the
	raptor_simple_message_handler API and calling raptor_parser_error.
	(raptor_start_element_grammar): When parseType="Literal" appears,
	create a new raptor_xml_writer.
	(raptor_end_element_grammar): When parseType="Literal" ends, delete
	the raptor_xml_writer.

	* raptor_sax2.c (raptor_format_sax2_element):
	Use raptor_simple_message_handler.

	* raptor_general.c (raptor_start_parse):
	Use raptor_parser_simple_error with
	raptor_namespaces_init.
	(raptor_parser_simple_error): Added, matching the
	raptor_simple_message_handler API but same as raptor_parser_error.

	* raptor_xml.c (raptor_xml_escape_string):
	Use raptor_simple_message_handler.

	* raptor_qname.c (raptor_new_qname): Use raptor_simple_message_handler.

	* raptor.h: raptor_sax2_element moved here, semi-public.
	Re-ordered URI functions earlier.
	Various methods changed to use (public) raptor_simple_message_handler
	for error handling.

	* raptor_internal.h: Delete raptor_internal_message_handler.
	Added prototype raptor_parser_simple_error, implementing
	raptor_simple_error_handler API.
	Various methods changed to use (public) raptor_simple_message_handler
	for error handling.
	raptor_sax2_element moved to semi-public raptor.h
	rdf/xml-specific cdata parts moved from raptor_sax2_element to
	raptor_element.
	Added raptor_xml_writer functions.

	* raptor_namespace.c:
	Use (public) raptor_simple_message_handler for error handling.

2003-07-24  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_parse.c (raptor_process_property_attributes):
	NFC error message tidy.
	(raptor_end_element_grammar): Fix NFC error reporting and recovery.
	Report NFC validation failures for XML Literals

	* tests/Makefile.am: Added bad-15 bad-17 for bad NFC checking

	* tests/bad-16.rdf, tests/bad-17.rdf, tests/bad-15.rdf:
	Bad NFC tests for property attribute, element, element ptl

	* configure.ac:
	Added check for g_utf8_normalize in glib 2.0 using pkgconfig.
	Defines HAVE_G_UTF8_NORMALIZE if present.

	* raptor_internal.h: Added raptor_utf8_is_nfc

	* raptor_parse.c (raptor_process_property_attributes):
	Check for valid NFC on property
	attribute values.
	(raptor_end_element_grammar): Check for valid NFC on plain literal
	property element values.

	* raptor_utf8.c (raptor_utf8_is_nfc):
	Added Normal Form C checking, using GNOME glib
	2.0 g_utf8_normalize initially.

	* raptor_parse.c (raptor_start_element_grammar):
	Forbid property attributes and all
	rdf:* attributes (except rdf:ID) with rdf:parseType

	* raptor_general.c:
	(raptor_statement_part_as_counted_string, raptor_print_statement_part_as_ntriples):
	Do not emit language for datatyped literals.

	* raptor_parse.c (raptor_process_property_attributes):
	rdf:li is forbidden as a
	property attribute

	* raptor_parse.c:
	rdf_syntax_terms_info table: rdf:li is forbidden as a property
	attribute

	* libraptor.3: Updated raptor_set_feature for
	RAPTOR_FEATURE_ALLOW_BAGID and
	RAPTOR_FEATURE_ALLOW_RDF_TYPE_RDF_LIST

	* tests/owl-schema.out, tests/ex-39.out:
	Updated to remove the <idList> rdf:type rdf:List triples

	* raptor_general.c (raptor_set_feature, raptor_set_parser_strict):
	 Added a new feature
	RAPTOR_FEATURE_ALLOW_RDF_TYPE_RDF_LIST (user argument) and
	feature_allow_rdf_type_rdf_List (internal) to generate the rdf:type
	rdf:List triple from rdf:parseType="Collection".  The default is no
	after latest RDF/XML revisions.  Not relevant for daml:Collection
	which get the daml:List always.

	* raptor.h:
	Added a new feature RAPTOR_FEATURE_ALLOW_RDF_TYPE_RDF_LIST
	to control rdf:type rdf:List triple generation from
	rdf:parseType="Collection" (default no)

	* raptor_internal.h:
	Added a new feature feature_allow_rdf_type_rdf_List
	to control rdf:type rdf:List triple generation from
	rdf:parseType="Collection" (default no)

	* raptor_parse.c (raptor_start_element_grammar):
	Remove rdf:type rdf:List triple
	generation from rdf:parseType="Collection" by default.  Not
	for daml:Collection.  Add a new feature
	feature_allow_rdf_type_rdf_List to control this.

2003-07-22  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_xml.c (raptor_valid_xml_ID, raptor_xml_escape_string):
	unsigned long for all unichars.

	* raptor_internal.h:
	Update raptor_utf8_to_unicode_char to use unsigned long output.

	* raptor_utf8.c (raptor_utf8_to_unicode_char):
	Take and use unsigned long for unichars.

	* raptor_rss.c:
	namespace->nspace since might be a C/C++ keyword sometime

	* raptor_www_curl.c (raptor_www_curl_header_callback):
	Turn void* into char*

	* raptor_set.c: Casts

	* rdfdump.c (rdfdump_error_handler): Cast data into raptor_parser*

	* raptor_www_curl.c:
	(raptor_www_curl_write_callback,raptor_www_curl_header_callback):
	Return unsigned int 0 on failure, cannot return -1 :)

	* raptor_www.c: Some casts near mallocs

	* tests/owl-schema.out: Updated to match 2003-03-18 version.

	* tests/owl-schema.rdf:
	Updated to 2003-03-18 version (just changed DOS line endings)

	* ntriples_parse.c (raptor_ntriples_parse_chunk):
	Handle just the end marker being given
	i.e. len=0 (and possibly s=NULL)

	* raptor_parse.c (raptor_xml_end_element_handler):
	When parsing has been aborted (rdf_parser->failed), clean up used
	memory rather than just return.
	element_name is not used except when debugging, so #ifdef it.

2003-07-21  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.h:
	Export global statics raptor_copyright_string, raptor_version_string,
	raptor_version_major, raptor_version_minor, raptor_version_release
	and raptor_version_decimal

	* raptor_general.c:
	Added statics raptor_copyright_string, raptor_version_string,
	raptor_version_major, raptor_version_minor, raptor_version_release
	and raptor_version_decimal

	* Makefile.am:
	Removed raptor_cc code since ISO may charge a commercial use fee for
	this list.

	* raptor_cc.gperf:
	ISO 3166-1 'The use of ISO 3166-1 in commercial products may be
	subject to a licence fee.' says the maintenance agency.  Goodbye
	code.  See
	http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/index.html

	* raptor_parse.c:
	Free former rdf:about, rdf:resource attribute string values before
	they are zapped.

	* raptor_parse.c (raptor_xml_parse_terminate):
	Delete the sax2 object when cleaning
	up.

	* rdfdump.c: Free new uri_string when it's allocated for a filename

	* rdfdump.c: Tidied usage and help information.

	* rapper.1: Updated to match current rapper arguments.

	* Makefile.am: Added raptor_identifier.c

	* raptor_general.c, raptor_identifier.c:
	Moved raptor_identifer classes to raptor_identifier.c

2003-07-20  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* rdfdump.c:
	If first argument is a filename, make it into a file:/// uri.

	* raptor_uri.c (raptor_default_new_uri):
	Turn probably-bad file:filename 'URIs' into
	proper file:///... etc. ones.

	* raptor_parse.c:
	Make use of forbidden rdf-namespaced property attributes into errors,
	as they should be.
	(raptor_forbidden_propertyAttribute_name): Now used.
	Reword some error messages.

	* tests/Makefile.am (check-bad-rdf):
	Note when bad test succeeds instead of failing

	* tests/Makefile.am: Added bad-13, bad-14

	* tests/bad-14.rdf: rdf:Description is not a legal property attribute

	* tests/bad-13.rdf: A property element cannot take rdf:about

	* raptor_uri.c (raptor_new_uri_for_xmlbase): Docs

2003-07-15  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* libraptor.3: formatting

	* libraptor.3:
	Added raptor_set_default_generate_id_parameters,
	raptor_set_generate_id_handler

	* raptor_general.c (raptor_set_default_generate_id_parameters):
	Fix it right this time.

	* raptor_general.c (raptor_set_default_generate_id_parameters):
	Fix base so the next
	generated ID uses the integer given, not integer+1

	* raptor_general.c (raptor_free_parser):
	Free any user-set genid prefix.

2003-07-13  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.h:
	raptor_genid_type enum added - for RAPTOR_GENID_TYPE_BNODEID, BAGID
	Added prototypes for raptor_set_generate_id_handler,
	raptor_set_default_generate_id_parameters.

	* raptor_general.c (raptor_set_generate_id_handler):
	Added, to sent the generate ID
	handler implementation.
	(raptor_set_default_generate_id_parameters): Added, to sent the
	generate ID handler parameters for the default implementation
	("gen"+integer).
	(raptor_default_generate_id_handler): Added, moved default code from
	raptor_generate_id
	(raptor_generate_id): Use handler if it exists, otherwise the default
	implementation.

	* raptor_internal.h:
	Added generate_id_handler data parts to raptor_parser internals.

2003-06-24  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am: use top_builddir not ..

	* Makefile.am: add libraptor.la to rapper dependencies

2003-06-23  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* rdfdump.c:
	Added -e/--ignore-errors otherwise rapper stops parsing after 1st
	error using raptor_parse_abort.

2003-06-14  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_rss.c (raptor_rss_insert_identifiers):
	Back to being legal C99.

	* libraptor.3: Fix changes for 0.9.11

	* libraptor.3: Updated for stuff since 0.9.10

	* raptor_rss.c (raptor_rss_insert_identifiers):
	Init identifier after item

	* rdfdump.c, configure.ac: Tweak RSS Tag Soup parser words

2003-06-10  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_parse.c (raptor_xml_start_element_handler):
	Emit an error for namespace
	declarations that are RDF namespace URI plus some chars.  Emit
	a warning if a namespace is declared same as RDF one but 1 char
	short.

	* tests/Makefile.am: Added bad-12, warn-02

	* tests/bad-12.rdf, tests/warn-02.out, tests/warn-02.rdf:
	Check for bad rdf namespace URI declarations and warn if last char
	of RDF namespace URI omitted

2003-06-08  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac:
	Fix the check for RSS parser requirements and report it more
	verbosely.

	* configure.ac: RSS parser only if libxml/reader.h present (for now).

	* configure.ac: libcurl reporting

	* raptor_parse.c (raptor_xml_parse_chunk_): Use sax2->first_read

	* raptor_parse.c (raptor_xml_parse_start,raptor_xml_parse_chunk_):
	Don't use
	first_read on newer libxml2.

2003-06-06  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_internal.h:
	raptor_sax2_s: Add first_read #if LIBXML_VERSION < 20425

	* raptor_rss.c (raptor_rss_insert_identifiers):
	Fix GCC-ism, declare variable at
	start of block.

	* raptor_parse.c (raptor_xml_parse_init):
	Move declaration of expat xp to start of
	function.

	* examples/raptor_abort.c, examples/grapper.c, strcasecmp.c,
	rdfdump.c, raptor_xml.c, raptor_www_test.c, raptor_www_libxml.c,
	raptor_www_libwww.c, raptor_www_curl.c, raptor_www.c,
	raptor_win32.c, raptor_utf8.c, raptor_uri.c, raptor_set.c,
	raptor_sax2.c, raptor_rss.c, raptor_qname.c, raptor_parse.c,
	raptor_namespace.c, raptor_locator.c, raptor_libxml.c,
	raptor_general.c, ntriples_parse.c, configure.ac:
	Merged patch from Jose Kahan to switch to use raptor_config.h
	(helps people compiling from source with multiple config.h)

2003-06-05  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* examples/grapper.c (fs_ok_button_callback):
	Use raptor_uri_filename_to_uri_string
	to make the file URI.
	(main): If the argument is a filename, make a URI string out of it
	via raptor_uri_filename_to_uri_string and use it instead of
	assuming it is a URI.

2003-05-12  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_xml.c (raptor_xml_escape_string):
	Changed API - does not require a parser arg.

	* raptor_internal.h: Moved SAX2 parts and prototypes here.

	* raptor_general.c: Use RAPTOR_PARSER_RSS to wrap init of RSS parser

	* raptor.h:
	Changed prototype of raptor_xml_escape_string - does not require a
	parser arg.

	* raptor_parse.c:
	Split raptor_element/raptor_rdf_xml_parser into SAX2/RDF bits.
	Lots of function and structure renaming.

	* configure.ac: Define RAPTOR_PARSER_RSS only when libxml is around

	* raptor_sax2.c: SAX2 API

	* Makefile.am: Added raptor_sax2.c

2003-04-28  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_rss.c (raptor_rss_emit): Use raptor_free_identifier

	* raptor_rss.c (raptor_rss_emit):
	Properly init the raptor_identifier items

2003-04-27  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_rss.c, raptor_parse.c, ntriples_parse.c:
	Use raptor_parser_register_factory with label param.

	* raptor.h: Added raptor_get_name, raptor_get_label

	* raptor_general.c: Added parser label to factory
	(raptor_parser_register_factory): Add label param, copy it.
	(raptor_get_name): Added, return name of parser.
	(raptor_get_label): Added, return label of parser.

	* raptor_internal.h: Added parser label to factory

	* examples/grapper.c: Remove some g_printfs
	Remove use of display qnames - not impl.

	* raptor_general.c (raptor_statement_part_as_counted_string):
	Init len for literals with
	the literal len included

	* examples/grapper.c: Don't use triples_list for now.
	(grapper_model_set_syntax): Fix output.
	(grapper_model_statements_handler): Remove newlines from literals.

	* raptor_general.c (raptor_statement_part_as_counted_string):
	Init len for literals.

2003-04-25  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_set.c: fix doccumment

2003-04-23  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* examples/grapper.c:
	Replace N-Triples / RDF/XML with dropdown menu and add RSS tag soup.

2003-04-19  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* rdfdump.c: Added -i/--input for rdfxml, ntriples, rss

	* raptor_internal.h: More RAPTOR_DEBUG macros

	* raptor_general.c:
	(raptor_init) Added rss parser via raptor_init_parser_rss when
	HAVE_LIBXML_XMLREADER_H

	* Makefile.am: Added raptor_rss.c

	* raptor_rss.c: Raptor RSS parser

2003-04-17  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* INSTALL.html: Added some links

	* configure.ac: Bumped version to 0.9.11

	* Snapshotted raptor_0_9_10 for 0.9.10 release

	* TODO.html, NEWS.html: Updated for 0.9.10 release

	* INSTALL.html: Updated to reflect recent tests.
	Added examples section, link to libraptor.html
	Added more configure options docs.

	* libraptor.3: Added raptor_set_parser_strict
	Added raptor_www_no_www_library_init_finish

	* raptor.spec.in: Require curl
	Added raptor-config, raptor.pc

2003-04-17  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.spec.in: Require curl
	Added raptor-config, raptor.pc

	* tests/Makefile.am:
	Move rdf:bagID tests to list of tests with warnings for now (while
	testing in lax mode)

2003-04-15  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* rdfdump.c (print_statements):
	Print the program name not "rdfdump" hardcoded.

2003-04-14  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac: Check for libxml/xmlreader.h

2003-04-13  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* examples/grapper.c: Added about box, triples count.
	Free some allocated memory.  Rest seems lost in gtk.

	* examples/Makefile.am: Add AM_CFLAGS, LIBS for debugging

	* raptor_parse.c (raptor_xml_start_element_handler):
	Don't copy an empty attributes array.

	* configure.ac: Added raptor.pc

	* Makefile.am:
	Added raptor.pc pkgconfig file installing to $(libdir)/pkgconfig

	* raptor.pc.in: pkgconfig for raptor

2003-04-07  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html: words

2003-04-05  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.h: void arg

	* examples/raptor_abort.c: Zap curl cleanup.

	* rdfdump.c: Added -c flag to getopts - oops, missed in last release.
	Added -m/--mode flag to set strict/lax.  Check the values and die
	with usage.
	Check the legal values of -o/--output and die with usage.
	Zap curl cleanup.

	* raptor_www.c (raptor_www_no_www_library_init_finish):
	To control global WWW
	library init/finish

	* raptor_parse.c:
	Make bagID optional - removed from language and gives errors
	(strict), allowed with warnings (lax).
	lax/strict controlled by feature_allow_bagID

	* raptor_internal.h: Added feature_allow_bagID

	* raptor_general.c: Several more docucomments for functions.
	(raptor_new_parser): Use raptor_set_parser_strict
	(raptor_set_feature): Added RAPTOR_FEATURE_ALLOW_BAGID
	(raptor_set_parser_strict): Added to set strict/lax mode flags.

	* raptor.h: Added RAPTOR_FEATURE_ALLOW_BAGID
	Added raptor_set_parser_strict
	Added raptor_www_no_www_library_init_finish

2003-04-03  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am: Added warn-01

	* tests/warn-01.out, tests/warn-01.rdf:
	Check warning on non-prefixed property elements

2003-04-03  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_parse.c, tests/Makefile.am (raptor_xml_start_element_handler):
	Error recovery - try to hide that a bad element was found from a
	parent element, it thinks the element is empty.  See
	tests/warn-00.rdf

	* tests/warn-00.out, tests/warn-00.rdf: Check warnings

2003-04-02  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac, Makefile.am: debian dir elsewhere

2003-04-01  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html: docs updated

	* TODO.html: www tidy by default on raptor_finish

	* raptor_uri.c (raptor_uri_uri_string_to_filename):
	Use raptor_strcasecmp
	(raptor_uri_is_file_uri): Use raptor_strncasecmp

2003-03-31  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* README.html: added libraptor.html

	* Makefile.am: Added libraptor.html, fix-groff-xhtml

	* libraptor.3: deleted repeated URI METHODS

	* libraptor.3: Updated for 0.9.6->present

2003-03-30  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* examples/grapper.c: Use N-triples output style.
	Pass in URL command line argument

	* TODO.html: words

	* TODO.html: XML attribute bugs

	* Makefile.am: Added raptor_xml.c

	* raptor_parse.c (raptor_xml_start_element_handler):
	do XML attribute value
	normalization for libxml2.  Cannot be done properly since the type of
	the attribute is lost.  expat gets it right.
	(raptor_xml_parse_init): Cast for expat XML_SetExternalEntityRefHandler

	* raptor_xml.c:
	Updated for C14N text/attribute node encoding rules.  Don't de-UTF8
	at the same time.

	* tests/ex-49.out: > in attribute appears raw

	* raptor_general.c:
	(main) Moved raptor_validate_xml_ID, raptor_xml_escape_string test
	code to raptor_xml.c

	* raptor_xml.c: Raptor XML routines

	* raptor_general.c:
	Moved raptor_validate_xml_ID, raptor_xml_escape_string to raptor_xml.c

	* tests/Makefile.am: Added ex-49

	* tests/ex-49.out, tests/ex-49.rdf:
	Checking escaping in parseType Literal values with XML attributes

	* raptor_parse.c (raptor_format_element):
	Pass in parser for UTF-8 error handling.
	Use raptor_xml_escape_string for attribute values but
	only malloc/free if lengths changed.
	(raptor_xml_end_element_handler): Update to new
	raptor_xml_escape_string API and only malloc/free it if lengths
	changed.

	* raptor_parse.c (raptor_xml_cdata_handler):
	Use updated raptor_xml_escape_string API

	* raptor.h: Added raptor_statement_part_as_counted_string,
	raptor_statement_part_as_string
	Changed raptor_xml_escape_string API

	* raptor_general.c (raptor_statement_part_as_counted_string,
	raptor_statement_part_as_string): Added, making N-triples style
	output from parts of raptor_statement.
	(raptor_xml_escape_string): Change API to take an existing
	buffer/calculate length
	(main): Update for raptor_xml_escape_string.

	* examples/Makefile.am: Also clean grapper binary

2003-03-29  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* examples/grapper.c: Added N-Triples parsing

	* examples/Makefile.am: Don't build grapper usually

	* examples/grapper.c: Raptor GTK GUI example code

	* examples/Makefile.am: Added grapper.c

	* examples/Makefile.am: more deps

	* raptor_internal.h:
	Added raptor_print_statement_part_as_ntriples prototype

	* raptor_general.c:
	raptor_print_ntriples_string moved to raptor_general.c
	(raptor_print_statement_part_as_ntriples): Added, internal.
	(raptor_print_statement_as_ntriples): Now uses above.

	* ntriples_parse.c:
	raptor_print_ntriples_string moved to raptor_general.c

2003-03-28  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* examples/Makefile.am: another deps attempt

	* examples/Makefile.am: typo

	* examples/Makefile.am: Use LDADD and hunt for @REDLAND_LIBS@
	Added $(top_builddir)/../librdf/librdf.la

	* configure.ac: Hunt for librdf.la in abs dir

	* rapper.1: added -c/--count

	* examples/Makefile.am: Fixes to make cross-dir building work.

	* TODO.html: docs

	* configure.ac, Makefile.am: Added examples dir

	* raptor_general.c (raptor_parse_uri_with_connection): Added.
	(raptor_parse_abort): Added.

	* raptor.h: Added raptor_parse_uri_with_connection.
	Added raptor_parse_abort.

	* examples/raptor_abort.c, examples/Makefile.am: examples

	* rdfdump.c:
	Call curl_global_cleanup if using curl to free it's resources.

	* raptor_www.c (raptor_www_init,raptor_www_finish):
	Don't init/cleanup curl, we
	can't guarantee doing this at most once if a handle is passed in.

	* raptor_www_curl.c (raptor_www_curl_free): Tidy

	* raptor_www_curl.c (raptor_www_curl_init,raptor_www_curl_free):
	Use/mark field
	curl_init_here to note when to cleanup a handle - don't destroy one
	that was provided.

	* raptor_internal.h:
	for curl, record when curl_easy_init was done in raptor

	* raptor_general.c (raptor_init): Call raptor_www_init
	(raptor_finsh): Call raptor_www_finish
	(raptor_parse_uri): Delete www object on failure.

	* configure.ac: Bumped version to 0.9.10

	* Snapshotted raptor_0_9_9 for 0.9.9 release

	* NEWS.html, README.html: Updated for 0.9.9 release

2003-03-27  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* TODO.html: fixed crashing when rdf/xml parser has no base URI

2003-03-26  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_set.c: Only use raptor_set_stats_print with RAPTOR_DEBUG

	* raptor_general.c: Some comment tidying.
	(raptor_start_parse): Docucomment.  Copy the uri into the parser
	structure (base_uri, locator uri), don't just keep the pointer.
	(raptor_free_parser): Free the base URI in the structure, if
	present.

	* raptor_parse.c (raptor_xml_parse_start):
	Remove uri arg.   Fail if no base URI is
	given - stored in the parser object

	* ntriples_parse.c (raptor_ntriples_parse_start): Remove uri arg.

	* raptor_internal.h:
	raptor_parser_factory start method: Remove (base) uri arg, it's in
	the object data.

	* raptor_www.c: Use RAPTOR_FREE,MALLOC,CALLOC
	(raptor_www_free): Free the www object.  Doh.

	* TODO.html:
	raptor_start_parse crash with NULL base URI for rdfxml parser

	* libraptor.3: raptor_parse_chunk: Takes unsigned char buffer.

	* libraptor.3: raptor_start_parse: Note NULL base URI ok for ntriples

	* libraptor.3: Typo: raptor_start_parse not raptor_parse_start

	* raptor_general.c (raptor_xml_escape_string):
	Make it work with 10ffff again

	* raptor_parse.c (raptor_xml_cdata_handler):
	Cast around raptor_xml_escape_string

	* raptor_general.c (raptor_xml_escape_string):
	Null terminate new string

	* raptor_www_libxml.c, raptor_www.c:
	Use RAPTOR_WWW_BUFFER_SIZE for I/O buffers

	* raptor_internal.h: Define RAPTOR_WWW_BUFFER_SIZE for I/O buffers

	* rdfdump.c: Declare raptor_stats_print when RAPTOR_DEBUG

	* raptor_general.c: (raptor_stats_print) C99

2003-03-24  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* rdfdump.c: Call raptor_stats_print with RAPTOR_DEBUG

	* raptor_set.c: Record set hits/misses with RAPTOR_DEBUG
	(raptor_set_stats_print): Defined with RAPTOR_DEBUG

	* raptor_internal.h:
	Move raptor_xml_parser typedef here (still internal).
	raptor_xml_parser_stats_print, raptor_set_stats_print: Defined with
	RAPTOR_DEBUG

	* raptor_parse.c (raptor_xml_parser_stats_print):
	Defined with RAPTOR_DEBUG

	* raptor_general.c (raptor_stats_print): Defined with RAPTOR_DEBUG

	* TODO.html: Fixed escaping rdf:parseType="Literal" content

	* raptor_parse.c (raptor_xml_cdata_handler):
	Use raptor_xml_escape_string when content
	type is an XML literal

	* raptor_general.c (raptor_xml_escape_string):
	Now takes and returns lengths
	Fix assumption of '\0' terminated strings.
	(main): Update for counted strings

	* raptor.h: raptor_xml_escape_string now takes and returns lengths

	* raptor.h: Added raptor_xml_escape_string

	* Makefile.am: Added raptor_general_test

	* raptor_general.c (raptor_xml_escape_string):
	Added, XML-escapes UTF-8 strings.
	(main): Added set of tests for raptor_xml_escape_string

2003-03-23  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/ex-48.out, tests/ex-48.rdf:
	ex-48 parse type literal with entity encoding

	* tests/Makefile.am: Added ex-48

	* raptor_www_libxml.c (raptor_www_libxml_fetch): Make this work again

	* raptor_parse.c (raptor_record_ID): Dealloc item after adding

	* raptor_parse.c: typo

	* raptor_parse.c:
	Remove raptor_id_list implementation for ID checking to use raptor_set.
	(raptor_xml_parse_init): Init raptor_set for ids.
	(raptor_xml_parse_terminate): Use raptor_free_set.
	(raptor_record_ID): Use raptor_set_add to check for unique
	"ID base-URI"
	(raptor_free_ID_list): Gone

	* raptor_uri.c (raptor_default_uri_as_counted_string,
	raptor_uri_as_counted_string):
	Added and used in default factory.

	* raptor.h: Added raptor_uri_as_counted_string.

	* raptor_internal.h:
	Added raptor_set and raptor_new_set constructor, raptor_free_set
	destructor and raptor_set_add only method

	* Makefile.am: Added raptor_set.c, raptor_set_test

	* raptor_set.c: Raptor sets for ID checking

2003-03-19  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am: Added OWL namespace document / rdf schema
	owl-schema.rdf, owl-schema.out

	* raptor_www.c: init w3c libwww

	* tests/owl-schema.out, tests/owl-schema.rdf: OWL namespace schema

	* TODO.html: Bug: encoding & < and > in XML literals.

	* raptor_www_libwww.c: add fatal does-not-work error

2003-03-18  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_www_libwww.c: Raptor WWW with W3C libwww

	* rdfdump.c:
	Added -c/--count option to just count triples, don't print anything.

	* raptor_www_test.c: Use raptor_www_init/finish

	* raptor_www_libxml.c: Handle www->failed and aborting transfer.

	* raptor_www_curl.c: Handle www->failed and aborting transfer.
	(raptor_www_curl_init): Use passed-in connection if available.

	* raptor_www.c (raptor_www_init): Added, for once-only init.
	(raptor_www_finish): Added, for once-only tidy.
	(raptor_www_new): Now uses new constructor
	(raptor_www_new_with_connection): Added, allows re-use of existing
	www library connection - just curl at present.
	(raptor_www_get_connection): Added, returns current libwww library
	connection.
	(raptor_www_abort): Added to stop a www transaction.
	(raptor_www_file_fetch): Tidying of errors; handle abort.
	(raptor_www_fetch): Uses raptor_www_file_fetch for all files.

	* raptor_internal.h: Added W3C libwww prototypes.

	* raptor_parse.c:
	Throughout all SAX event handlers - if rdf_parser->failed set, return
	immediately, doing no work.

	* raptor_general.c (raptor_parse_uri_write_bytes):
	Use raptor_www_abort if parsing
	fails.
	(raptor_parse_uri): Return error status.  Pass on is_end empty chunk.
	(raptor_parser_abort): Added, setting failed flag.
	(raptor_print_statement_detailed): Typo

	* raptor.h: Added raptor_www_abort

	* raptor.h: Add raptor_www_init, raptor_www_finish.
	Add raptor_www_new_with_connection
	Add raptor_www_get_connection

	* configure.ac: Added w3c libwww configuring

2003-03-16  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* rdfdump.c: Use raptor_parse_uri

	* raptor_general.c (raptor_parse_uri_write_bytes): Added, to support:
	(raptor_parse_uri): Added, using raptor_www to get and deal with all
	the data in one go.

	* raptor.h: raptor_parse_uri takes optional base_uri

	* raptor_www_test.c: Use URI from context.
	Take www arg on handlers
	Use raptor_uri

	* raptor_www_libxml.c, raptor_www_curl.c:
	Use URI from context.
	Take www arg on handlers

	* raptor_www.c (raptor_www_set_userdata): Gone
	(raptor_www_free): Free request uri
	(raptor_www_set_write_bytes_handler,
	raptor_www_set_content_type_handler): Added
	(raptor_www_file_fetch): pass www to write_bytes
	(raptor_www_fetch): Don't pass URI on.

	* raptor_internal.h: Store raptor_uri of request
	Use new declared write_bytes, content_type handlers
	*fetch methods don't take URI string

	* raptor.h: Declare handlers for raptor www write bytes, content type
	raptor_www_fetch now takes a raptor_uri

	* raptor_parse.c: Fix broken-fix for broken-expat UTF8 BOM crash.
	tokens_count is on the rdf_xml_parser not rdf_parser

	* configure.ac: tweak

	* configure.ac: tidy libcurl version

	* raptor_internal.h, configure.ac: No more gnome-xml/libxml.h

	* configure.ac: Min libxml2 now 2.4.0

	* configure.ac: Don't look for xml-config

	* raptor_general.c (raptor_parse_file):
	Tidy up if raptor_start_parse fails

	* raptor_general.c:
	Removed raptor_start_parse_file - merged into raptor_parse_file

	* raptor_www.c (raptor_www_file_fetch): Used for RAPTOR_WWW_NONE
	Report file open errors, correct file read eof handling.
	(raptor_www_fetch) Use only raptor_www_file_fetch for RAPTOR_WWW_NONE

	* raptor_general.c (raptor_start_parse_file):
	Improve file open error message

	* configure.ac:
	Added --with-www=none option and RAPTOR_WWW_NONE to indicate it

2003-03-15  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_www.c (raptor_www_error): Use RAPTOR_FREE

	* raptor_www_test.c: Call raptor_uri_init

	* raptor_www_curl.c (raptor_www_curl_fetch): call raptor_www_error

	* raptor_internal.h: Use raptor_message_handler again

	* raptor.h:
	Use raptor_message_handler again in raptor_www_set_error_handler,
	raptor_www_error

	* raptor_www.c (raptor_www_free): Tidy locator URI
	(raptor_www_set_error_handler, raptor_www_error): Use
	raptor_message_handler again.
	(raptor_www_error): Use raptor_locator in output, error handler.
	(raptor_www_fetch): Store the URI string of request in the locator

	* raptor.h: Declare raptor_www_message_handler (no locator)

	* raptor_general.c: raptor_vsnprintf now internally visible.

	* raptor_internal.h: Use different error handler, no parser context.
	raptor_vsnprintf now internally visible.
	Added raptor_www_error prototype

	* raptor_www.c: Only enable raptor_www_file_fetch with libxml,
	(raptor_www_set_error_handler): Use different error handler, no
	parser context.

	* configure.ac, Makefile.am: Added raptor WWW enabling, configuring

	* raptor_internal.h:
	Added raptor WWW retrieval internal includes, structs, prototypes

	* raptor.h: Added raptor WWW retrieval prototypes

 	* raptor_www.c, raptor_www_curl.c, raptor_www_libxml.c,
	raptor_www_test.c: Raptor WWW retrieval

2003-03-04  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.h: Export raptor_free_parser with RAPTOR_API

	* win32_config.h: add trailing #endif

	* win32_config.h: s/WIN32_LEAD_AND_MEAN/WIN32_LEAN_AND_MEAN/

	* raptor_parse.c (raptor_xml_comment_handler): Added - nop at present.
	(raptor_xml_parse_init): For expat, use raptor_xml_comment_handler

	* raptor_libxml.c: (raptor_libxml_init) Use raptor_xml_comment_handler

	* raptor_internal.h: Add raptor_xml_comment_handler prototype

	* configure.ac:
	Try to make maintainer mode flags match redland's defaults.

2003-03-03  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac, Makefile.am: Fix cflags/cppflags when in redland

2003-03-02  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/ex-46.out, tests/ex-46.rdf:
	make rdf:li and rdf_2 property elements generate different triples

2003-02-27  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/ex-46.out: fix

	* tests/Makefile.am: Added ex-47

	* tests/ex-47.out, tests/ex-47.rdf: Exercise all rdfs vocab

	* tests/Makefile.am: Added ex-46

	* tests/ex-46.out, tests/ex-46.rdf: Exercise all rdf vocab

2003-02-24  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* win32/raptor.plg, win32/Makefile.am: deleted raptor.plg

	* win32/raptor.dsp, win32/README:
	Updated win32 config - from contributed patches

2003-02-23  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_uri.c: Correct :'s turning into |'s in win32 file URIs

2003-02-20  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* autogen.sh: run libtoolize in each configure.ac dir

	* win32_config.h: win32 has C99 compatible vsnprintf called _vsnprintf

	* configure.ac:
	Check for vsnprintf and check for C99 compatible return value.

	* raptor_general.c (raptor_vsnprintf):
	Added for handling compatibilty with vsnprintf
	that doesn't match C99.

2003-02-19  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am: Use $(ECHO) which may be different from sh's echo

	* Makefile.am:
	Changing, moved raptor_getopt.h to rapper_SOURCES after automake
	manual recommendation.

	* Makefile.am: Put raptor_getopt.h in noinst_HEADERS

	* Makefile.am: No need for EXTRA_libraptor_la_SOURCES

	* Makefile.am: Use LTLIBOBJS for extra libraptor objs

	* raptor.h: again

	* raptor.h: don't do deprecated on broken OSX gcc

	* raptor_getopt.h, getopt.c: No need for prefix

	* getopt.c: Duh - use raptor getopt header

	* Makefile.am:
	Use RAPPER_EXTRA_OBJS to optionally add getopt to rapper only

	* configure.ac: Add getopt object to RAPPER_EXTRA_OBJS

	* rdfdump.c: Add raptor_getopt.h for local version

	* raptor_getopt.h: Define rest of getopt externs

	* getopt.c: More prefixes

	* raptor_getopt.h, getopt.c: Public domain getopt

	* configure.ac: Check for getopt and add getopt.o if it missing.

	* autogen.sh:
	try asking the progs for their version - slower, but right

	* autogen.sh: tidying

	* acconfig.h: acconfig.h obsoleted

	* Makefile.am: Use AM_CPPFLAGS

	* autogen.sh:
	Min versions are bumpled - 2.52 for autoconf, 1.6 for automake
	Now hunts for newest, shinyest autoconf and automake/aclocal and uses
	them whatever is available.

2003-02-18  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* configure.ac: autoconf 2.5x configure.ac

	* configure.in: Replaced with autoconf 2.5x configure.ac

2003-02-15  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor.h: Move stuff around, consolidate deprecated bits

	* ntriples_parse.c, rdfdump.c: No need for ntriples.h

	* raptor.h: Moved all ntriples.h defines here.
	Defined RAPTOR_DEPRECATED (with gcc 3.1+) and used on old api calls.

	* ntriples.h:
	Moved all definitions to raptor.h - this file is now deprecated.

2003-02-14  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor-config.in: No exec-prefix

	* raptor-config.1: Manual page for raptor-config

	* Makefile.am: Added raptor-config.1

	* rapper.1: EXAMPLE

2003-02-13  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* tests/Makefile.am: $name=>$$name

	* configure.in: Bumped version to 0.9.9

	* Snapshotted raptor_0_9_8 for 0.9.8 release

	* raptor.spec.in: release is 1

	* NEWS.html: Updated for 0.9.8 release

2003-02-12  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* Makefile.am: Restore LICENSE.txt

	* Makefile.am: No LICENSE.txt in dist

	* README.html: Updated for 0.9.8 release.

	* TODO.html: Note some missing conformance bits.

	* raptor_uri.c (main):
	Use lstat, reading a selection of dirs to try harder to test
	relative file URIs.

	* configure.in: check for sys/stat.h (for raptor_uri_test main)

	* TODO.html: Note PNG parser

	* tests/Makefile.am: There is no portable test == operator

	* TODO.html: Fixed xmlns:foo="" being erroneously allowed.

	* raptor_parse.c (raptor_xml_start_element_handler): Updated call to
	raptor_namespaces_start_namespace to use error_handler, error_data
	parameters

	* raptor_general.c (raptor_start_parse):
	Updated call to raptor_namespaces_init to use
	error_handler, error_data parameters

	* raptor_internal.h:
	Updated raptor_namespaces_init, raptor_namespaces_start_namespace,
	raptor_namespace_new with error_handler, error_data parameters

	* raptor_namespace.c: (raptor_namespaces_init,
	raptor_namespaces_start_namespace, raptor_namespace_new):
	Add error handler and data parameters and use to explain how
	xmlns:foo="" isn't allowed

2003-02-11  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_parse.c:
	multiple objects of a property element (statement) is an error

	* tests/Makefile.am:
	Report warnings when they occur.  Print the warning text

	* tests/bad-11.rdf: now xml

	* tests/Makefile.am: typo - restult

	* tests/bad-11.rdf: Check xmlns with no namespace name (URI) fails

	* tests/Makefile.am: Added bad-11

	* TODO.html: diagnosed crash on empty xml namespace name (URI)

	* TODO.html: Fixed empty docs now give error, not crash.

	* raptor_libxml.c (raptor_libxml_update_document_locator):
	Handle empty parser context.

	* tests/Makefile.am: ex-46 now bad-10

	* tests/bad-10.rdf, tests/ex-46.rdf, tests/ex-46.out: Now bad-10

	* raptor_parse.c (raptor_xml_parse_chunk_):
	Make an empty rdf/xml bytestream an
	illegal doc (like expat) and return an error.

	* TODO.html: Clarified empty files bug

	* raptor_libxml.c (raptor_libxml_update_document_locator):
	Don't use loc if it is NULL
	such as errors before start of XML document.

	* raptor_libxml.c:
	Check for xmlSAXHandler externalSubset field, not present in old
	libxml v1.  Whether raptor works after this is unlikely and untested.

	* configure.in: Add old libxml V1 warning and suggestion

	* acconfig.h: Added RAPTOR_LIBXML_XMLSAXHANDLER_EXTERNALSUBSET

	* configure.in: Check for xmlSAXHandler externalSubset field

	* INSTALL.html: Added libxml1 warning

	* TODO.html: note some bugs

2003-02-10  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* raptor_locator.c (raptor_print_locator):
	Only print non-negative line numbers

	* raptor_parse.c (raptor_xml_parse_chunk_):
	For libxml, handle first chunk being
	empty, when the XML parser context, xc, is attempted to be initialiased

	* tests/Makefile.am: Added ex-46 (Empty file should give 0 triples)

	* tests/ex-46.out, tests/ex-46.rdf: Empty file should give 0 triples

2003-01-27  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* Makefile.am: Remove $? and replace with $< or full dependencies

2003-01-21  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* ntriples_parse.c:
	Fix macro IS_ASCII_DIGIT which refused to allow '0'.

2003-01-13  Dave Beckett  <Dave.Beckett@bristol.ac.uk>

	* rdfdump.1: rdfdump.1 renamed to rapper.1

	* raptor.spec.in, tests/Makefile.am, TODO.html,
	README.html, NEWS.html, Makefile.am, INSTALL.html:
	rdfdump now rapper

	* rapper.1: rdfdump.1 renamed to rapper.1