summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 13f60ec015c722befe2783b11e22f7eb73066301 (plain)
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
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2006-08-20  Dave Beckett  <dave@dajobe.org>

	* src/raptor_parse.c: (raptor_parse_uri_with_connection,
	raptor_set_feature, raptor_get_feature, raptor_set_parser_strict):
	Update to use array of features throughout.
	(raptor_parser_copy_user_state): Copy all features when copying
	state.

	* src/raptor_xslt.c: (raptor_xslt_uri_parse_bytes,
	raptor_xslt_run_grddl_transform_uri): Update to use array of
	features.

	* src/raptor_rdfxml.c: (raptor_rdfxml_start_element_handler,
	raptor_rdfxml_parse_start, raptor_rdfxml_generate_statement,
	raptor_rdfxml_process_property_attributes,
	raptor_rdfxml_start_element_grammar,
	raptor_rdfxml_end_element_grammar, raptor_rdfxml_cdata_grammar,
	raptor_rdfxml_record_ID): Update to use array of features
	throughout.

	* src/raptor_rss.c: (raptor_rss_parse_start): Update to use array
	of features.

	* src/raptor_guess.c: (raptor_guess_parse_chunk): Use
	raptor_parser_copy_user_state to copy over pointers and feature
	flags to the inner parser.

	* src/raptor_internal.h: struct raptor_parser_s - replace
	individual feature fields with an array.

	* src/raptor_parse.c: Removed static raptor_get_parser_factory
	prototype

	* src/raptor_internal.h: Added raptor_get_parser_factory

	* src/raptor_parse.c: (raptor_get_parser_factory): Now internal
	not static

	* configure.ac: flex check - warn before failing

	* src/raptor_xslt.c: comma chameleon

	* configure.ac: recommend flex 2.5.33

	* configure.ac: Update to point at main flex site whichq finally
	gets 2.5.33 after 9 years

	* src/raptor_guess.c: Rework to call an internal use of a parser
	rather than "exec"ing into the guessed parser.
	Fixes Issue#0000091 http://bugs.librdf.org/mantis/view.php?id=91

	* src/raptor_parse.c: (raptor_parser_exec): Deleted

	* src/raptor_internal.h: Delete raptor_parser_exec

	* src/raptor_xslt.c: Disable dc-extract.xsl

2006-08-19  Dave Beckett  <dave@dajobe.org>

	* RELEASE.html: Updated for 1.4.11

	* docs/raptor-docs.xml: Added raptor-parsers.xml and
	raptor-serializers.xml

	* docs/Makefile.am: Added raptor-parsers.xml and
	raptor-serializers.xml

	* docs/raptor-parsers.xml, docs/raptor-serializers.xml: Added list
	of parsers and serializers

	* docs/tmpl/section-parser.sgml: Updated

	* docs/tmpl/section-www.sgml: Updated

	* docs/tmpl/section-feature.sgml: Updated

	* docs/libraptor.3: Rename raptor_uri_filter_func

	* docs/raptor-docs.xml: tweak title

	* docs/raptor-tutorial-parsing.xml: params

	* docs/raptor-sections.txt: Rename raptor_uri_filter_func

	* utils/rapper.c: Allow --show-namespaces to print to stderr while
	relaying them to the serializer.

	* src/raptor_serialize_rdfxmla.c:
	(raptor_rdfxmla_serialize_declare_namespace_from_namespace): Don't
	declared multiple prefixes for the same namespace URI.

	* src/raptor_serialize_rdfxml.c:
	(raptor_rdfxml_serialize_declare_namespace_from_namespace): Don't
	declared multiple prefixes for the same namespace URI.

	* docs/raptor-tutorial-parsing.xml: Update for uri filter arg change

	* src/raptor_parse.c: Renamed raptor_www_uri_filter_func uri_filter to
	raptor_uri_filter_func uri_filter and removed raptor_www* arg to
	the filter function.

	* src/raptor.h: Renamed raptor_www_uri_filter_func uri_filter to
	raptor_uri_filter_func uri_filter and removed raptor_www* arg to
	the filter function.

	* src/raptor_www.c: Renamed raptor_www_uri_filter_func uri_filter
	to raptor_uri_filter_func uri_filter and removed raptor_www* arg
	to the filter function.

	* src/raptor_internal.h: Renamed raptor_www_uri_filter_func
	uri_filter to raptor_uri_filter_func uri_filter and removed
	raptor_www* arg to the filter function.

	* src/raptor_xslt.c: (raptor_xslt_uri_parse_bytes): Take in a
	small structure to get the raptor_parser* pointer as well as the
	libxml parser context.  Use it to pass on the nonet option to
	libxml if it is set.
	(raptor_xslt_run_grddl_transform_uri): Use new struct.

	* src/raptor_rss.c: (raptor_rss_parse_start): Pass on
	raptor_parser feature no_net to raptor_sax2.

	* src/raptor_rdfxml.c: (raptor_rdfxml_parse_init): Do feature
	related initialising at the start of every parse, not once for all
	rdf/xml parser instances.
	(raptor_rdfxml_parse_start): Init feature_normalize_language and
	feature_no_net here.

	* src/raptor_sax2.c: (raptor_sax2_parse_chunk): Set libxml option
	XML_PARSE_NONET if sax2 feature RAPTOR_FEATURE_NO_NET is set.
	(raptor_sax2_set_feature): Handle RAPTOR_FEATURE_NO_NET.

	* src/raptor_internal.h: raptor_sax2 gains feature_no_net

	* docs/raptor-tutorial-parsing.xml: Add parser URI filtering
	examples to tutorial

	* docs/libraptor.3: Updated for 1.4.11

	* utils/rapper.c: Reorder help message. Use triples in messages
	and fix that plurals thing.

2006-08-18  Dave Beckett  <dave@dajobe.org>

	* docs/raptor-tutorial-serializing.xml: Add IDs to examples

	* docs/raptor-tutorial-parsing.xml: Add IDs to examples

	* docs/raptor-tutorial-querying-functionality.xml: Make it xml

	* src/raptor_sax2.c: Added autodocs for raptor_xml_element_is_empty

	* docs/raptor-sections.txt: Add raptor_parser_set_uri_filter,
	raptor_www_set_uri_filter and raptor_www_uri_filter_func

	* docs/raptor-tutorial-querying-functionality.xml: Fix example, add ID

	* src/raptor.h: Document RAPTOR_FEATURE_NO_NET

	* src/raptor_parse.c: (main): Print all features for a parser,
	don't stop at first non parser feature.

	* src/raptor_xslt.c: (raptor_xslt_run_grddl_transform_uri): Set
	URI filter or if feature NO_NET is set,
	raptor_parse_uri_no_net_filter

	* src/raptor_xml_writer.c: Add RAPTOR_FEATURE_NO_NET to switches

	* src/raptor_sax2.c: Add RAPTOR_FEATURE_NO_NET to switches

	* src/raptor_serialize.c: Add RAPTOR_FEATURE_NO_NET to switches

	* src/raptor_parse.c: (raptor_parse_uri_no_net_filter): Added to
	use in parsers to deny network fetches when feature NO_NET is in
	action.
	(raptor_parse_uri_with_connection): Set URI filter or if feature
	NO_NET is set, raptor_parse_uri_no_net_filter
	(raptor_parser_set_uri_filter): Added.
	(raptor_set_feature, raptor_get_feature): Handle
	RAPTOR_FEATURE_NO_NET.
	(raptor_parser_copy_user_state): Copy uri filter fields.

	* src/raptor_www.c: (raptor_www_set_uri_filter): Added to add a
	filter function to check a URI before it is resolved.
	(raptor_www_fetch): call URI filter function before resolving.

	* src/raptor_feature.c: Added RAPTOR_FEATURE_NO_NET to deny
	network requests, primarily in parsing.

	* src/raptor_internal.h: Add feature_no_net Added
	raptor_parse_uri_no_net_filter prototype raptor_parser and
	raptor_www gain fields uri_filter_user_data and
	raptor_www_uri_filter_func uri_filter

	* src/raptor.h: Added RAPTOR_FEATURE_NO_NET
	Added raptor_www_uri_filter_func filter.
	Added raptor_parser_set_uri_filter prototype.
	Added raptor_www_set_uri_filter

	* src/raptor_rdfxml.c: (raptor_rdfxml_generate_statement): Make
	sure the allocated URI is always freed.

	* configure.ac: Strip more -O flags from incoming CFLAGS, CXXFLAGS
	and CPPFLAGS.

	* configure.ac: Patch configure.ac to remove un-necessary tests
	for C++ or F77++ compilers that libtool stupidly insists on

2006-08-14  Dave Beckett  <dave@dajobe.org>

	* src/raptor_serialize_rdfxmla.c: Replace reference counting with
	counting blank/resource nodes used as subjects and objects to
	prevent dual-triple generation. 
	Fixes Issue#0000014 http://bugs.librdf.org/mantis/view.php?id=14
	Add function documentation and tidy code style.

	* src/n3_parser.y: (raptor_n3_parse_start): Enforce that a base
	URI is required.

	* src/turtle_parser.y: (raptor_turtle_parse_start): Enforce that a
	base URI is required.

2006-07-30  Dave Beckett  <dave@dajobe.org>

	* src/raptor_xslt.c: Allow GRDDL value to be a space-separated
	list of URIs, so now can support dataview:transformation in XML
	taking a list of transformations as defined in
	http://www.w3.org/2004/01/rdxh/spec#grddl-xhtml
	(raptor_xslt_parse_chunk): Split the value into a list of XSLT
	URIs and use each of them on the document. 
	Fixes Issue #0000041 http://bugs.librdf.org/mantis/view.php?id=41

	* src/raptor_xslt.c: Added a table of xpaths and optional XSLT
	URIs to use, which allows non-GRDDL to be given as long as
	XML/XHTML is recognised and the XSLT sheet does the transformation
	work.  Added transform pointers for DC <meta>, Embedded RDF and
	HCalendar
	(raptor_xslt_run_grddl_transform_doc,
	raptor_xslt_run_grddl_transform_uri): Added, pulled out of
	raptor_xslt_parse_chunk which was too long.
	(raptor_xslt_parse_chunk): Much smaller and tidied error messages.
	Use the given XSLT URI to do a transform if it exists rather than
	the node value(s) as URIs for multiple transforms.

	* configure.ac: Remove libwww support

	* src/raptor_internal.h, src/raptor_www.c,
	src/raptor_www_libwww.c: Remove libwww support

2006-07-16  Dave Beckett  <dave@dajobe.org>

	* src/raptor_serialize_rss.c: (raptor_rss10_build_items):
	Recognize ordinals also by their URI, not just from the deprecated
	ORDINAL special type - this makes RSS 1.0 serializing work again.
	Based on patch from Shin-ichi Hirata.

2006-07-15  Dave Beckett  <dave@dajobe.org>

	* NEWS.html, configure.ac, src/win32_raptor_config.h: Bumped
	versions to 1.4.11

2006-07-14  Dave Beckett  <dave@dajobe.org>

	* Snapshotted raptor_1_4_10 for 1.4.10 release

2006-07-04  Dave Beckett  <dave@dajobe.org>

	* raptor.pc.in, src/raptor-config.in: Remove @LDFLAGS from
	raptor.pc.in and src/raptor-config.in.
	Fixes Issue#0000097 http://bugs.librdf.org/mantis/view.php?id=97

2006-06-26  Dave Beckett  <dave@dajobe.org>

	* src/raptor.h: (raptor_identifier_type): no more
	RAPTOR_IDENTIFIER_TYPE_ORDINAL generated.

	* src/n3_parser.y: Remove duplicate symbol PREFIX.
	(raptor_n3_generate_statement): Do not turn a rdf:_n into an
	ordinal but just check it for validity.

	* src/turtle_parser.y: Remove duplicate symbol PREFIX.
	(raptor_turtle_generate_statement): Do not turn a rdf:_n predicate
	into an ordinal but just check it for validity.

	* src/ntriples_parse.c: (raptor_ntriples_generate_statement): Do
	not turn a rdf:_n predicate into an ordinal but just check it for
	validity.

	* src/raptor_rdfxml.c: (raptor_rdfxml_generate_statement): Turn a
	predicate ordinal into a resource using
	raptor_new_uri_from_rdf_ordinal Handle reifying this afterwards.

	* src/raptor_general.c: (raptor_statement_copy): Turn a subject,
	predicate or object ordinal into a resource using
	raptor_new_uri_from_rdf_ordinal

	* src/raptor_internal.h: Added raptor_new_uri_from_rdf_ordinal
	prototype.

	* src/raptor_uri.c: (raptor_new_uri_from_rdf_ordinal): Added - internal.

2006-06-25  Dave Beckett  <dave@dajobe.org>

	* src/raptor_rdfxml.c: (raptor_rdfxml_generate_statement): Add
	predicate_ordinal field, for now.  Fix up calls to this to use it.

2006-06-07  Dave Beckett  <dave@dajobe.org>

	* src/raptor_rss.c: (raptor_rss_parse_chunk): Return 0 on success

2006-05-07  Dave Beckett  <dave@dajobe.org>

	* src/raptor_rdfxml.c: (raptor_rdfxml_comment_handler): Do nothing
	when a comment is given outside an xml_element context.

	* src/raptor_rss.c: (raptor_rss_parse_chunk,
	raptor_rss_parse_terminate): Make triples appear at end of
	parsing, not on parser destruction which was terribly wrong.
	(raptor_rss_comment_handler): Do nothing when a comment is given
	outside an xml_element context.

2006-05-02  Dave Beckett  <dave@dajobe.org>

	* src/raptor_serialize_rdfxml.c: (raptor_rdfxml_serialize_start):
	Reset "written header" flag. Without this, reusing a serializer
	dies.

2006-04-30  Dave Beckett  <dave@dajobe.org>

	* docs/libraptor.3: Updated for some final 1.4.9 changes

2006-04-22  Dave Beckett  <dave@dajobe.org>

	* src/raptor_guess.c: (raptor_guess_parse_chunk): Tired of seeing
	guess parser name, move to verbose debugging.

	* src/raptor_www.c: (raptor_www_set_http_accept): Tired of seeing
	accept headers, move to verbose debugging.

	* src/raptor_xml_writer.c: (main): Rewrite to remove warning
	punning

	* src/raptor_www_test.c: (main): Rewrite to remove warning punning

	* src/raptor_uri.c: (raptor_uri_uri_string_to_filename_fragment):
	Rewrite to remove warning punning

	* src/raptor_serialize_rss.c: (raptor_rss10_emit_item): Init
	element to NULL

	* src/raptor_rss.c: (raptor_rss_end_element_handler): Init
	cdata_len to 0

	* configure.ac, src/win32_raptor_config.h: Bumped version to
	1.4.10

	* Snapshotted raptor_1_4_9 for 1.4.9 release

	* src/raptor_rdfxml.c: (raptor_rdfxml_sax2_new_namespace_handler):
	Move var def to start of block.

	* src/raptor_parse.c: (raptor_parse_uri_with_connection): Move var
	def to start of block.

2006-04-20  Dave Beckett  <dave@dajobe.org>

	* examples/Makefile.am, examples/rdfcat.c, examples/rdfprint.c:
	Add tutorial examples rdfcat.c and rdfprint.c here.

	* docs: DocBook updates: new Tutorial chapter on serializing plus
	completing of parsing chapter.

	* src/raptor_uri.c: Change all calloc/mallocs for URI strings to
	add enough room for a full pointer at the end of a URI string to
	stop valgrind moans on 64bit systems when they are looking for the
	end of string NUL.

2006-04-15  Dave Beckett  <dave@dajobe.org>

	* src/raptor_www_curl.c: Delete alternate path using
	CURLINFO_CONTENT_TYPE instead of grepping headers.

	* src/raptor_www_curl.c: Add alternate path to use
	CURLINFO_CONTENT_TYPE instead of grepping headers.  Downside is
	that the content type appears long after content.  Add more debug
	messages when RAPTOR_DEBUG > 2
	(raptor_www_curl_init): Tidy alternate defines

	* src/raptor_internal.h: Deleted raptor_uri_init_default_handler
	prototype.

	* src/raptor_uri.c: (raptor_uri_set_handler,
	raptor_new_iostream_from_handler): Ajusted to take const handler
	args.
	(raptor_uri_init_default_handler): Deleted.
	(raptor_uri_init): No need to init static struct.

	* src/raptor.h: Adjust raptor_uri_set_handler and
	raptor_new_iostream_from_handler prototypes to take const handler
	args.

	* src/raptor_rss.c: make raptor_rss_uplift_map const

	* src/raptor_iostream.c: make handler field a const
	(raptor_new_iostream_from_handler): Take a const handler.

2006-04-14  Dave Beckett  <dave@dajobe.org>

	* tests/all-escape.nt, tests/all-escape.rdf: All 0-7F ascii
	escapes and the XML 1.1 output

2006-04-11  Dave Beckett  <dave@dajobe.org>

	* docs: DocBook updates

2006-04-10  Dave Beckett  <dave@dajobe.org>

	* docs: DocBook updates: Tutorial introduction, parsing.

2006-04-09  Dave Beckett  <dave@dajobe.org>

	* docs: DocBook updates

	* src/raptor_xml.c: (raptor_xml_element_declare_namespace): Add
	int return value for when a namespace is failed to be declared,
	when it is already there.

	* src/raptor.h: raptor_xml_element_declare_namespace now has an
	int return value

2006-04-07  Dave Beckett  <dave@dajobe.org>

	* src/raptor_xslt.c: (raptor_xslt_parse_chunk): Added debug statement.

2006-04-03  Dave Beckett  <dave@dajobe.org>

	* tests/turtle/manifest.ttl: Added test-25

	* tests/turtle/Makefile.am, tests/turtle/test-25.out,
	tests/turtle/test-25.ttl: Added comment test

2006-04-01  Dave Beckett  <dave@dajobe.org>

	* src/raptor_rss.c: (raptor_rss_start_element_handler): Tidying of
	logic near type attribute

	* src/raptor_rss.c: (raptor_rss_start_element_handler): More
	atom/old atom/rss guessing.  Look for type=xml and an XML mime
	type to trigger xml writer Look for attribute version on feed to
	ensure old atom is found

	* src/raptor_rss.c: (raptor_init_parser_rss): Add another mime
	type possibility.

	* src/raptor_rss.c: Add is_atom field to rss_parser structure.
	(raptor_rss_start_element_handler): Use elements seen to pick
	is_atom flag.  Use is_atom flag to switch between rss author and
	atom author handling.

	* src/raptor_rss.c: (raptor_init_parser_rss): Add more
	unregistered rss mime type possibilities.

	* src/raptor_guess.c: (raptor_guess_parse_content_type_handler):
	Strip ';' onwards from content type for guessing.

	* src/raptor_rss.c: (raptor_rss_parse_recognise_syntax): Use xml
	in mime type guess

	* src/raptor_parse.c: (raptor_parser_get_accept_header,
	raptor_parser_get_accept_header_all): Do not format with ;q=1.0

	* src/turtle_parser.y: (raptor_init_parser_turtle): Register
	application/x-turtle once only.

	* src/raptor_parse.c: (raptor_guess_parser_name,
	raptor_parser_get_accept_header,
	raptor_parser_get_accept_header_all): Fix type_q list walking to
	detect end of loops vs early exit properly.

	* src/turtle_parser.y: (raptor_init_parser_turtle): Register N3
	mime types here with lower Q, if no N3 parser is present.

	* src/n3_parser.y: (raptor_init_parser_n3): Add another N3 mime
	type possibility.

	* src/raptor_parse.c: (raptor_guess_parser_name): Fix i/j problem.

	* src/raptor_serialize_rss.c: (raptor_rss10_emit_item): Handle
	atom:summary XML content

	* configure.ac: No longer require libxml for rss-tag-soup parser.

	* src/raptor_serialize_rss.c: casts

	* src/raptor_rss.c, src/raptor_rss.h, src/raptor_rss_common.c,
	src/raptor_serialize_rss.c: Switch to using raptor_sax2 API from
	xmlReader, and now can do atom type 'xhtml' content using
	raptor_xml_writer.

	* src/raptor.h: Add prototype for raptor_xml_element_is_empty

	* src/raptor_rdfxml.c: (raptor_rdfxml_characters_handler,
	raptor_rdfxml_cdata_handler, raptor_rdfxml_comment_handler): Add
	xml_element parameter.

	* src/raptor_sax2.c: (raptor_xml_element_is_empty): Added.
	(raptor_sax2_characters_handler, raptor_sax2_cdata_handler,
	raptor_sax2_comment_handler): Add xml_element parameter.

	* src/raptor_internal.h: Add xml_element field to
	raptor_sax2_characters_handler, raptor_sax2_cdata_handler and
	raptor_sax2_comment_handler

2006-03-30  Dave Beckett  <dave@dajobe.org>

	* src/raptor_rdfxml.c: update function names in fatal/debug messages

	* src/raptor_rdfxml.c: (raptor_rdfxml_start_element_handler): Tidy
	tests for looking for an empty element.

	* src/raptor_internal.h: raptor_xml_element gains a user_data
	field

2006-03-29  Dave Beckett  <dave@dajobe.org>

	* src/raptor_rss.c: Replace raptor_rss_parser_context* with
	raptor_rss_parser*

2006-03-27  Dave Beckett  <dave@dajobe.org>

	* src/win32_raptor_config.h: raptor win32 build files update from
	John Barstow

	* win32/rapper.vcproj, win32/raptor.sln, win32/raptor.vcproj:
	raptor win32 build files update from John Barstow

	* docs/tmpl/section-parser.sgml: docs update

	* docs/raptor-overrides.txt: Do not override raptor_statement

	* docs/tmpl/section-unused.sgml: RAPTOR_DEPRECATED

2006-03-26  Dave Beckett  <dave@dajobe.org>

	* docs/raptor-sections.txt: Added raptor_parser_get_accept_header

	* src/raptor_parse.c: (raptor_parser_get_accept_header): fix q format

	* src/n3_parser.y: (raptor_init_parser_n3): Register n3 mime type

	* src/turtle_parser.y: (raptor_init_parser_turtle): Register
	turtle experimental mime types

	* src/raptor_xslt.c: (raptor_init_parser_grddl): Register HTML and
	XHTML mime types at low q.

	* src/raptor_rdfxml.c: (raptor_init_parser_rdfxml): Register
	rdf/xml and older mozilla-era mime type.

	* src/raptor_www.c: (raptor_www_set_http_accept): debug message

	* src/raptor_rss.c: (raptor_rss_parse_recognise_syntax): look in
	mime type for rss or atom.
	(raptor_init_parser_rss): Register two rss mime types.

	* src/raptor_guess.c: (raptor_guess_accept_header): Added
	(raptor_guess_parser_register_factory): Use
	raptor_guess_accept_header to accept all known types.

	* src/raptor.h: Added prototype for raptor_parser_get_accept_header

	* src/raptor_parse.c: (raptor_delete_parser_factories): Delete new
	mime_types list.
	(raptor_parser_register_factory): Use
	raptor_parser_factory_add_mime_type.
	(raptor_free_type_q): Added.
	(raptor_parser_factory_add_mime_type): Added.
	(raptor_syntaxes_enumerate): Use mime types from sequence to
	return first as primary.
	(raptor_parse_uri_with_connection): Use
	raptor_parser_get_accept_header to do the work.
	(raptor_get_mime_type): Use mime_type sequence in factory to
	return first mime type if registered.
	(raptor_guess_parser_name): Use mime types from sequence to find
	them.
	(raptor_parser_get_accept_header): Added
	(raptor_parser_get_accept_header_all): Added to return an accept
	header for all types

	* src/raptor_internal.h: Added raptor_type_q for storing mime
	type+Q values. raptor_parser_factory gains raptor_sequence*
	mime_types replacing a single mime_type const char* and an
	accept_header method to return the Accept: header rather than use
	it from the mime_types list. Added prototypes, for
	raptor_parser_factory_add_mime_type, raptor_free_type_q and
	raptor_parse_get_all_accept_headers

	* src/raptor_www_curl.c: (raptor_www_curl_fetch): Get the curl
	status into a long, not an int which causes failure on 64 bit
	archs. Fixes issue#0000075
	http://bugs.librdf.org/mantis/view.php?id=75

	* src/raptor_internal.h: (struct raptor_www_s): Removed CURLcode
	status

2006-03-20  Dave Beckett  <dave@dajobe.org>

	* docs/raptor-chapter-intro.xml: docs

2006-03-19  Dave Beckett  <dave@dajobe.org>

	* docs/raptor-chapter-intro.xml: docs

	* docs/raptor-docs.xml: Added raptor-chapter-intro.xml

	* docs/Makefile.am: Added raptor-chapter-intro.xml

	* docs/raptor-chapter-intro.xml: intro

	* Makefile.am: deleted obsolete deb rule

	* src/raptor_rdfxml.c: (raptor_rdfxml_parse_recognise_syntax): Add
	foaf and doap to suffixes that are likely RDF/XML

	* gtkdoc-mkdb reports "100% symbol docs coverage"

	* src/raptor.h: autodocs

	* docs/raptor-overrides.txt: Override internal struct names.

	* src/raptor.h, src/raptor_general.c, src/raptor_sequence.c,
	src/raptor_serialize.c, src/raptor_xml.c, src/raptor_xml_writer.c:
	autodocs

2006-03-18  Dave Beckett  <dave@dajobe.org>

	* src/raptor_utf8.c, docs/tmpl/section-uri.sgml,
	docs/tmpl/section-xml-namespace.sgml,
	docs/tmpl/section-xml-qname.sgml, docs/tmpl/section-unicode.sgml:
	autodocs

	* src/raptor_utf8.c: (raptor_unicode_char_to_utf8): Add docs.
	(raptor_utf8_to_unicode_char): Add docs.  Now also checks for
	overlong UTF-8 sequences, illegal code positions or out of range
	codes.

	* src/raptor_qname.c: autodocs

	* docs/raptor-sections.txt: Added new functions

	* src/turtle_parser.y: Remove generating
	RAPTOR_IDENTIFIER_TYPE_RESOURCE for statement predicates as
	deprecated in 1.4.8

	* src/raptor_rss.c: Remove generating
	RAPTOR_IDENTIFIER_TYPE_RESOURCE for statement predicates as
	deprecated in 1.4.8

	* src/raptor_rdfxml.c: Remove generating
	RAPTOR_IDENTIFIER_TYPE_RESOURCE for statement predicates as
	deprecated in 1.4.8

	* src/ntriples_parse.c: Remove generating
	RAPTOR_IDENTIFIER_TYPE_RESOURCE for statement predicates as
	deprecated in 1.4.8

	* src/n3_parser.y: Remove generating
	RAPTOR_IDENTIFIER_TYPE_RESOURCE for statement predicates as
	deprecated in 1.4.8

	* src/raptor_uri.c: (raptor_new_uri): Fail on NULL or empty uri_string.
	(raptor_new_uri_from_uri_local_name): Fail on NULL uri or local_name
	(raptor_new_uri_relative_to_base): Fail on NULL base_uri or uri_string
	(raptor_new_uri_from_id): Fail on NULL base_uri or id.
	(raptor_new_uri_for_rdf_concept): Fail on NULL name.
	(raptor_uri_copy): Fail on NULL uri.
	(raptor_uri_as_string): Fail on NULL uri.
	(raptor_uri_as_counted_string): Fail on NULL uri.
	(raptor_uri_filename_to_uri_string): : Fail on NULL filename.
	(raptor_uri_uri_string_to_filename_fragment): Fail on NULL or empty
	uri_string.
	(raptor_uri_uri_string_is_file_uri): Fail on NULL or empty uri_string.
	(raptor_new_uri_for_xmlbase): Fail on NULL uri.
	(raptor_new_uri_for_retrieval): Fail on NULL uri.
	(raptor_uri_to_relative_counted_uri_string): Fail on NULL
	reference_uri.  Document allowing NULL base_uri.
	(raptor_uri_print): Print "(NULL URI)" for NULL URI.
	(raptor_uri_to_counted_string): Fail on NULL uri.

	* src/raptor_rdfxml.c: More raptor_* to raptor_rdfxml_* renames

	* src/raptor_internal.h: Delete prototypes for functions only used
	in rdfxml

	* src/raptor_qname.c: Return const namespace from
	raptor_qname_get_namespace

	* src/raptor.h: Return const namespace from
	raptor_qname_get_namespace

	* src/raptor_rdfxml.c: (raptor_rdfxml_record_ID): Renamed from
	raptor_record_ID
	(raptor_rdfxml_inscope_base_uri): Renamed from
	raptor_inscope_base_uri and now static
	(raptor_inscope_xml_language): Deleted, replaced with 1 call to
	raptor_sax2_inscope_xml_language

	* src/raptor_rdfxml.c: raptor_element to raptor_rdfxml_element renames

2006-03-15  Dave Beckett  <dave@dajobe.org>

	* src/raptor_xml.c: (raptor_iostream_write_xml_any_escaped_string):
	Write XML-escaped ASCII 9 and A as XML with trailing ';'

	* tests/Makefile.am, tests/ex-60.nt, tests/ex-60.rdf: Added ex-60
	rdf/xml serializing test

	* src/raptor.h: Added raptor_qname_get_namespace

	* src/raptor_qname.c: (raptor_qname_get_namespace): Added.

	* src/raptor_www.c: (raptor_uri_uri_string_is_file_uri): Renamed
	from raptor_uri_string_is_file_uri.

	* src/raptor_uri.c: (raptor_uri_uri_string_is_file_uri): Renamed
	from raptor_uri_string_is_file_uri.

	* src/raptor.h: (raptor_uri_uri_string_is_file_uri): Renamed from
	raptor_uri_string_is_file_uri.

2006-03-04  Dave Beckett  <dave@dajobe.org>

	* src/turtle_parser.y: (directive): Use
	raptor_new_namespace_from_uri and save string conversions.

	* src/n3_parser.y: (directive): Use raptor_new_namespace_from_uri
	and save string conversions.

	* src/raptor_www.c: (raptor_www_fetch): Use
	raptor_uri_string_is_file_uri instead of deprecated
	raptor_uri_is_file_uri

	* src/raptor_serialize_simple.c:
	(raptor_simple_serialize_statement): Use new raptor_iostream_write_uri.

	* src/raptor_uri.c: (raptor_uri_is_file_uri): Deprecated for
	raptor_uri_string_is_file_uri.
	(raptor_uri_string_is_file_uri): Added.

	* src/raptor.h: Deprecated raptor_uri_is_file_uri for
	raptor_uri_string_is_file_uri.
	Added raptor_iostream_write_uri.

	* src/raptor_iostream.c: (raptor_iostream_write_uri): Added.

	* src/raptor_serialize_rdfxmla.c:
	(raptor_rdfxmla_serialize_statement): Do not free shared string
	returned from raptor_uri_as_string.  Fixes issue#0000065
	http://bugs.librdf.org/mantis/view.php?id=65

	* src/raptor_serialize_rdfxml.c:
	(raptor_rdfxml_serialize_statement): Use raptor_uri_to_string so
	that new strings are allocated then freed.  Fixes issue#0000065
	http://bugs.librdf.org/mantis/view.php?id=65

	* src/raptor_stringbuffer.c:
	(raptor_stringbuffer_append_string_common,
	raptor_stringbuffer_append_counted_string,
	raptor_stringbuffer_append_string): Do nothing on appending a NULL
	string or a string of length 0.
	(main): Add tests for this.  Fixes issue#0000073
	http://bugs.librdf.org/mantis/view.php?id=73

2006-02-21  Dave Beckett  <dave@dajobe.org>

	* src/raptor_serialize_rdfxmla.c:
	(raptor_new_qname_from_resource): Use
	raptor_namespaces_qname_from_uri to prefer using an existing XML
	namespace for creating a qname, otherwise make a new one just for
	this element.

	* src/raptor_namespace.c: (raptor_namespaces_qname_from_uri):
	Added, to make a qname from the in-scope namespaces in a stack.

	* src/raptor.h: Added prototype for raptor_namespaces_qname_from_uri

2006-02-20  Dave Beckett  <dave@dajobe.org>

	* src/raptor_rss.c: raptor_rss_parser_context_s gains is_empty and
	nstack fields.
	(raptor_rss_context_init): Initialise new namespace stack and the
	nspace field of raptor_rss_namespace_info.
	(raptor_rss_context_terminate): Delete new namespace stack.
	(raptor_rss_parse_start): Synthesise the namespace events.
	(raptor_rss_start_element): Push is_empty flag into rss parser
	context and reorganize empty case.
	(raptor_rss_parser_processNode): set element_is_empty flag and use
	it.

	* src/raptor_rss_common.c: Add RDF namespace for RSS use

	* src/raptor_rss.h: Add RDF namespace for RSS use

2006-02-19  Dave Beckett  <dave@dajobe.org>

	* AUTHORS: update me

2006-02-18  Dave Beckett  <dave@dajobe.org>

	* docs/raptor-sections.txt: Add raptor_xml_element_get_attributes
	raptor_xml_element_get_attributes_count

	* src/raptor_serialize_rdfxmla.c: Remove // comments

	* src/raptor_guess.c: Cast for C++

	* src/n3_parser.y: Cast for C++

	* src/turtle_parser.y: Cast for C++

	* src/raptor_sax2.c: (raptor_sax2_parse_start,
	raptor_sax2_end_element): Code tidying, move decls to top of
	functions and don't end early if there is no handler.

	* src/raptor_rdfxml.c: Remove several unused uses of raptor_sax2*

	* src/raptor_rdfxml.c: Change to use field name xml_element for a
	raptor_xml_element inside raptor_element.

	* src/raptor_sax2.c: (raptor_free_sax2): Delete obsolete
	raptor_libxml_libxml_free_entities.  Free base URI.
	(raptor_sax2_inscope_base_uri): Return SAX2 base URI if nothing is
	in scope.
	(raptor_sax2_parse_start): Save Base URI.
	(raptor_sax2_start_element): Add all code from old
	raptor_rdfxml_start_element_handler.
	(raptor_sax2_end_element): Add all code from old
	raptor_rdfxml_end_element_handler.

	* src/raptor_rdfxml.c: (raptor_rdfxml_sax2_new_namespace_handler):
	Add raptor_parser_start_namespace call.
	(raptor_rdfxml_start_element_handler): Deleted and merged into
	raptor_sax2_start_element.
	(raptor_rdfxml_end_element_handler): Use raptor_xml_element*
	argument.
	(raptor_inscope_base_uri): Tidy code.

	* src/raptor_internal.h: raptor_sax2_start_element_handler and
	raptor_sax2_end_element_handler now take raptor_xml_element*
	raptor_sax2 gaisn base_uri field.

	* src/raptor_rdfxml.c: (raptor_rdfxml_end_element_handler): Split
	into XML and RDF/XML parts now calling
	raptor_rdfxml_end_xml_element_handler.
	(raptor_rdfxml_end_xml_element_handler): Added, splitting RDF/XML
	part out of raptor_rdfxml_end_element_handler

	* src/raptor_sax2.c: (raptor_free_sax2): Run
	raptor_namespaces_clear.
	(raptor_sax2_simple_error): Added, to report errors from
	namespaces upwards.
	(raptor_sax2_parse_start): Init namespaces stack.

	* src/raptor_rdfxml.c: Deleted raptor_namespace_stack, now in
	raptor_sax2
	(raptor_rdfxml_start_xml_element_handler): Added, splitting
	RDF/XML part out of raptor_rdfxml_start_element_handler
	(raptor_rdfxml_end_element_handler): Prepare for splitting XML and
	RDF/XML parts.
	(raptor_rdfxml_parse_start): Moved namespaces stack init into
	raptor_sax2_parse_start.

	* src/raptor_internal.h: raptor_sax2 gains raptor_namespace_stack
	from rdf/xml parser

	* src/raptor_rdfxml.c: (raptor_rdfxml_sax2_new_namespace_handler):
	Added, as callback raptor_sax2_set_namespace_handler.
	(raptor_rdfxml_start_element_handler): Split XML and RDF/XML
	namespace processing parts in preparation for moving them
	elsewhere.
	(raptor_rdfxml_parse_init): Use raptor_sax2_set_feature to set the
	XML namespace handler.

	* src/raptor.h: Added prototypes for
	raptor_xml_element_get_attributes and
	raptor_xml_element_get_attributes_count.

	* src/raptor_xml.c: (raptor_xml_element_get_attributes,
	raptor_xml_element_get_attributes_count): Added.

	* src/raptor_internal.h: raptor_sax2 gaisn namespace_handler and
	feature_normalize_language fields.  Added prototypes for
	raptor_sax2_set_namespace_handler and raptor_sax2_set_feature.

	* src/raptor_sax2.c: (raptor_sax2_set_namespace_handler): Added,
	to allow callbacks when an XML namespace is defined.
	(raptor_sax2_set_feature): Added, with one feature
	RAPTOR_FEATURE_NORMALIZE_LANGUAGE for normalizing xml:lang values.

2006-02-04  Dave Beckett  <dave@dajobe.org>

	* src/raptor_parse.c: (raptor_parser_warning): Restored.

	* src/raptor_parse.c: (raptor_parser_error_varargs): Restored.

	* src/Makefile.am: Added fix-bison

	* src/fix-bison: Format output generated by bison

	* src/raptor_internal.h: revert experiment not intended to be
	commited

	* src/raptor_internal.h: Add prototypes for
	raptor_invoke_message_varargs and
	raptor_invoke_simple_message_varargs

	* src/raptor_parse.c: (raptor_parser_simple_error,
	raptor_parser_warning): Use raptor_invoke_message_varargs
	(raptor_parser_error_varargs, raptor_parser_warning_varargs):
	Deleted.

	* src/raptor_general.c: (raptor_invoke_simple_message_varargs,
	raptor_invoke_message): Helper functions for invoking
	error/warning/fatal error handlers with varargs, just given a
	handler that takes a single message string.

2006-02-03  Dave Beckett  <dave@dajobe.org>

	* configure.ac: allow --enable-parsers/serializers=none

2006-02-02  Dave Beckett  <dave@dajobe.org>

	* src/raptor_rss.c: (raptor_rss_start_element,
	raptor_rss_end_element, raptor_rss_cdata):
	Added, pulling big chunks of code out of the switch in
	raptor_rss_parser_processNode.

2006-01-27  Dave Beckett  <dave@dajobe.org>

	* src/raptor_serialize_rss.c: Do not write XML header here, XML
	writer does it.

2006-01-22  Dave Beckett  <dave@dajobe.org>

	* src/raptor_guess.c: (raptor_guess_parse_chunk): Tired of seeing
	debug message. Goodbye.

2006-01-16  Dave Beckett  <dave@dajobe.org>

	* src/raptor_namespace.c: (raptor_namespaces_format):
	NULL-terminate the namespace string.
	Fixes bug 0000062  http://bugs.librdf.org/mantis/view.php?id=62

	* tests/test.nt: Remove svn:eol-style native property so that
	multiple line endings in one file work

	* win32/rapper.dsp, win32/rapper.vcproj, win32/raptor.dsp,
	win32/raptor.dsw, win32/raptor.sln, win32/raptor.vcproj,
	win32/raptortest.cpp, win32/raptortest.dsp,
	win32/raptortest.vcproj: Restore CRLF end of lines, set
	svn:eol-style CRLF

2006-01-14  Dave Beckett  <dave@dajobe.org>

	* docs/tmpl/section-serializer.sgml,
	docs/tmpl/section-xml-namespace.sgml: update docs for new
	functions

	* docs/raptor-sections.txt: Added
	raptor_serialize_set_namespace_from_namespace

	* utils/rapper.c: (relay_namespaces): Added, calling
	raptor_serialize_set_namespace_from_namespace when namespaces are
	not just printed out.  Makes serializers use namespace prefix/URIs
	found in parsed RDF.

	* src/raptor_serialize_rdfxmla.c: Delay the writing of the
	namespaces on the rdf:RDF root element till as late as possible,
	allowing user declaration of namespaces to effect the output.
	(raptor_rdfxmla_serialize_init): Add rdf:RDF's namespace to the
	list of namespaces to declare.
	(raptor_rdfxmla_serialize_terminate): Do not free namespace #0
	because of above.
	(raptor_rdfxmla_serialize_declare_namespace_from_namespace):
	Added, to set a namespace declared once only, preventing the same
	prefix appearing twice.
	(raptor_rdfxmla_serialize_declare_namespace): Use the above.
	(raptor_rdfxmla_serialize_start): Do not write root element here.
	(raptor_rdfxmla_ensure_writen_header): Added to write root element
	and namespace declarations.
	(raptor_rdfxmla_serialize_statement,
	raptor_rdfxmla_serialize_end): Call
	raptor_rdfxmla_ensure_writen_header before emitting syntax.
	(raptor_rdfxmla_serializer_register_factory): Register
	raptor_rdfxmla_serialize_declare_namespace_from_namespace.

	* src/raptor_serialize_rdfxml.c: Delay the writing of the
	namespaces on the rdf:RDF root element till as late as possible,
	allowing user declaration of namespaces to effect the output.
	(raptor_rdfxml_serialize_init): Add rdf:RDF's namespace to the
	list of namespaces to declare.
	(raptor_rdfxml_serialize_terminate): Do not free namespace #0
	because of above.
	(raptor_rdfxml_serialize_declare_namespace_from_namespace): Added,
	to set a namespace declared once only, preventing the same prefix
	appearing twice.
	(raptor_rdfxml_serialize_declare_namespace): Use the above.
	(raptor_rdfxml_serialize_start): Do not write root element here.
	(raptor_rdfxml_ensure_writen_header): Added to write root element
	and namespace declarations.
	(raptor_rdfxml_serialize_statement, raptor_rdfxml_serialize_end):
	Call raptor_rdfxml_ensure_writen_header before emitting syntax.
	(raptor_rdfxml_serializer_register_factory): Register
	raptor_rdfxml_serialize_declare_namespace_from_namespace.

	* src/raptor.h: Added prototype for
	raptor_serialize_set_namespace_from_namespace

	* src/raptor_serialize.c: (raptor_serialize_set_namespace): Now a
	wrapper around:
	(raptor_serialize_set_namespace_from_namespace:): Added, to set a
	namespace for serialzing from an existing raptor_namespace

	* src/raptor_internal.h: raptor_serializer_factory gains a factory
	method declare_namespace_from_namespace

	* tests/Makefile.am: Report error output on rdfxml-abbrev failure

	* tests/Makefile.am: (check-rdfxmla): Don't die on first error,
	report all then die.

	* docs/raptor-sections.txt: Added
	raptor_namespace_get_counted_prefix

	* src/raptor.h: Added prototype for raptor_namespace_get_counted_prefix

	* src/raptor_namespace.c: (raptor_namespace_get_counted_prefix):
	Added to return prefix and it's length.

	* src/turtle_parser.y: (statementList): Rewrite to remove all
	shift/reduce conflicts.

	* src/n3_parser.y: (statementList): Rewrite to remove all
	shift/reduce conflicts.

2006-01-10  Dave Beckett  <dave@dajobe.org>

	* src/n3_parser.y: Make literal be just literals, resource only
	URI or QNAME.

	* src/turtle_parser.y: Use TRUE and FALSE boolean literals to make
	xsd:boolean values.  Make literal be just literals, resource only
	URI or QNAME.

	* src/turtle_lexer.l: Added true & false boolean literals

	* tests/turtle/Makefile.am, tests/turtle/manifest.ttl,
	tests/turtle/test-24.out, tests/turtle/test-24.ttl: Added boolean
	literals tests

	* src/turtle_parser.y: Compatibility fixes for older bisons (1.7x)
	and whitespace edits.

	* src/n3_parser.y: Compatibility fixes for older bisons (1.7x) and
	whitespace edits.

2006-01-09  Dave Beckett  <dave@dajobe.org>

	* src/turtle_parser.y, src/n3_parser.y: Compatibility fixes for
	older bisons (1.7x) and whitespace edits.

	* examples/Makefile.am: Fix raptor_abort link dependencies

2006-01-08  Dave Beckett  <dave@dajobe.org>

	* fix-groff-xhtml: footer

2006-01-07  Dave Beckett  <dave@dajobe.org>

	* Makefile.am, autogen.sh, configure.ac, docs/Makefile.am,
	examples/Makefile.am, examples/grapper.c,
	examples/raptor_abort.c, fix-groff-xhtml, manifest.pl,
	raptor-src-config.in, src/Makefile.am, src/fix-flex,
	src/n3_common.h, src/n3_lexer.l, src/n3_parser.y,
	src/ntriples_parse.c, src/parsedate.y, src/raptor-config.1,
	src/raptor-config.1, src/raptor-config.in, src/raptor.h,
	src/raptor_expat.c, src/raptor_feature.c,
	src/raptor_general.c, src/raptor_guess.c,
	src/raptor_identifier.c, src/raptor_internal.h,
	src/raptor_iostream.c, src/raptor_libxml.c,
	src/raptor_locator.c, src/raptor_namespace.c,
	src/raptor_nfc.c, src/raptor_nfc.h, src/raptor_nfc_test.c,
	src/raptor_parse.c, src/raptor_qname.c, src/raptor_rdfxml.c,
	src/raptor_rfc2396.c, src/raptor_rss.c, src/raptor_rss.h,
	src/raptor_rss_common.c, src/raptor_sax2.c,
	src/raptor_sequence.c, src/raptor_serialize.c,
	src/raptor_serialize_ntriples.c,
	src/raptor_serialize_rdfxml.c,
	src/raptor_serialize_rdfxmla.c, src/raptor_serialize_rss.c,
	src/raptor_serialize_simple.c, src/raptor_set.c,
	src/raptor_stringbuffer.c, src/raptor_uri.c,
	src/raptor_utf8.c, src/raptor_win32.c, src/raptor_www.c,
	src/raptor_www_curl.c, src/raptor_www_libfetch.c,
	src/raptor_www_libwww.c, src/raptor_www_libxml.c,
	src/raptor_www_test.c, src/raptor_xml.c,
	src/raptor_xml_writer.c, src/raptor_xsd.c,
	src/raptor_xslt.c, src/strcasecmp.c, src/turtle_common.c,
	src/turtle_common.h, src/turtle_lexer.l,
	src/turtle_parser.y, src/win32_raptor_config.h,
	tests/Makefile.am, tests/empty.c, tests/ex-52.svg,
	tests/test.html, tests/test.nt, tests/test.svg,
	utils/Makefile.am, utils/getopt.c, utils/rapper.1,
	utils/rapper.c, utils/raptor_getopt.h, utils/rdfdiff.c:
	Remove RCS ID.  Copyright 2006

	* .cvsignore, data/.cvsignore, docs/.cvsignore,
	examples/.cvsignore, src/.cvsignore, tests/.cvsignore,
	tests/turtle/.cvsignore, utils/.cvsignore, win32/.cvsignore,
	delete .cvsignore files

2006-01-07  Dave Beckett  <dave@dajobe.org>

	* configure.ac, src/win32_raptor_config.h: Bumped version to 1.4.9

	* docs/tmpl/section-feature.sgml: Added
	RAPTOR_FEATURE_WRITER_XML_VERSION

	* Switched to Subversion version control.
	CVS tag for raptor 1.4.8: raptor_1_4_8
	Subversion revision ID for raptor 1.4.8: r3091

2006-01-03  Dave Beckett  <dave@dajobe.org>

	* Snapshotted raptor_1_4_8 for 1.4.8 release

2006-01-02  Dave Beckett  <dave@dajobe.org>

	* src/raptor_namespace.c (main): Cast for string

	* src/n3_lexer.l: Apply more turtle to n3 changes for names.

	* src/n3_parser.y: Update N3 parser to turtle.

	* src/n3_lexer.l: Update N3 lexer to turtle.

	* src/raptor_general.c, src/raptor_namespace.c,
	src/turtle_parser.y, src/turtle_lexer.l: 2006 and urls

	* tests/turtle/Makefile.am: Added test-23

	* tests/turtle/test-23.out, tests/turtle/test-23.ttl: Test long
	literal ending in a double quote

	* tests/turtle/manifest.ttl: Added test-23 testing long literal
	ending in a double quote

	* src/turtle_common.c (raptor_stringbuffer_append_turtle_string):
	Fix comment to match code and report hex char of bad escapes.

	* src/turtle_lexer.l: Try to handle \-escapes inside """ properly.

	* tests/turtle/README.txt: url

	* tests/turtle/Makefile.am: Add TEST_MANIFEST_FILES to tests.zip

	* tests/turtle/manifest-bad.ttl, tests/turtle/manifest.ttl:
	Updated manifests from Arjohn Kampman

	* src/turtle_parser.y (DECIMAL_LITERAL): Added turtle decimal and
	double after SPARQL 2005-11-23

	* src/turtle_lexer.l: Added turtle decimal and double after SPARQL
	2005-11-23

	* tests/turtle/Makefile.am, tests/turtle/test-19.out,
	tests/turtle/test-21.out, tests/turtle/test-21.ttl,
	tests/turtle/test-22.out, tests/turtle/test-22.ttl: Added
	decimal/double/integer + and - checks from
	http://lists.w3.org/Archives/Public/public-cwm-talk/2005OctDec/0017.html

2006-01-01  Dave Beckett  <dave@dajobe.org>

	* src/raptor_namespace.c (raptor_namespaces_find_namespace):
	Handle searching for default namespace with prefix=NULL.
	(main): Add test code for above.

2005-12-21  Dave Beckett  <dave@dajobe.org>

	* configure.ac, raptor.spec.in, Makefile.am:
	Write rpm release as 1 (with --enable-release) or SNAP otherwise.

	* src/turtle_parser.y, src/raptor_general.c, utils/rapper.1:
	updated urls

	* docs/tmpl/section-feature.sgml:
	Added @RAPTOR_FEATURE_WRITER_XML_DECLARATION

2005-12-20  Dave Beckett  <dave@dajobe.org>

	* utils/Makefile.am: Added rapper.html to dist

	* raptor-src-config.in, LICENSE.html, Makefile.am, manifest.pl,
	configure.ac: ILRT/UB link updates

2005-11-30  Dave Beckett  <dave@dajobe.org>

	* src/raptor_xml_writer.c (raptor_xml_writer_indent):
	Fix writing an extra newline at doc start.

2005-11-26  Dave Beckett  <dave@dajobe.org>

	* src/raptor_xml_writer.c: Add automatic writing of the XML
	declaration (dependent on the XML version).
	(raptor_xml_writer_write_xml_declaration): Added, to support this.
	New feature RAPTOR_FEATURE_WRITER_XML_DECLARATION can disable
	this.
	(main): Update the test code to expect an XML declaration in the
	string.

	* src/raptor_parse.c: Add do-nothing switch cases for
	RAPTOR_FEATURE_WRITER_XML_DECLARATION.

	* src/raptor_serialize_rdfxmla.c: Add Adobe XMP compatible output
	as new serializer rdfxml-xmp based on patch from Sid Steward.
	Duplicate predicates are ignored for a single subject.

	* src/raptor_serialize_rdfxml.c: Defer writing xml declaration to
	the xml writer.

	* src/raptor_serialize.c: Add XML declaration writing feature
	support
	(RAPTOR_FEATURE_WRITER_XML_DECLARATION) for serializer.

2005-11-25  Dave Beckett  <dave@dajobe.org>

	* configure.ac: Add test X = 1 for expat and libxml tests.  Fixes
	Issue#0000060

2005-11-22  Dave Beckett  <dave@dajobe.org>

	* src/raptor_feature.c: Added
	RAPTOR_FEATURE_WRITER_XML_DECLARATION feature.

	* src/raptor.h: Added RAPTOR_FEATURE_WRITER_XML_DECLARATION to
	control generating the XML declaration on serializers and XML
	writer.

2005-11-10  Dave Beckett  <dave@dajobe.org>

	* raptor.spec.in: Add gtk-doc docs to rpm

2005-11-04  Dave Beckett  <dave@dajobe.org>

	* docs/tmpl/section-xml.sgml: new functions

	* docs/tmpl/section-feature.sgml: New feature

	* docs/libraptor.3: Updated for 1.4.8

2005-11-02  Dave Beckett  <dave@dajobe.org>

	* docs/raptor-sections.txt:
	Added raptor_iostream_write_xml_any_escaped_string
	raptor_xml_any_escape_string

	* src/turtle_parser.y, src/raptor_internal.h, src/n3_parser.y:
	Added RAPTOR_ASSERT with no return value and use it for turtle and
	n3 parsers.  Some compilers complain at an empty 3rd macro arg
	with RAPTOR_ASSERT_RETURN.

	* src/raptor_serialize_rss.c: remove ;;

	* src/raptor_rdfxml.c (raptor_generate_statement): Make predicate
	type fix in reifying.

	* src/raptor_rdfxml.c (raptor_generate_statement): Make predicate
	revert fix actually work.

	* RELEASE.html: Updates for 1.4.8

	* src/raptor_rdfxml.c, src/turtle_parser.y, src/raptor_rss.c,
	src/raptor.h, src/ntriples_parse.c, src/n3_parser.y: Revert
	RAPTOR_IDENTIFIER_TYPE_PREDICATE to
	RAPTOR_IDENTIFIER_TYPE_RESOURCE change for predicates until the
	next release.

2005-09-21  Dave Beckett

	* src/raptor_uri.c:
	(raptor_new_uri_for_xmlbase, raptor_new_uri_for_retrieval):
	Set ud->path_len to 1 when adding a default path of /
	Fixes bug 0000045  http://bugs.librdf.org/mantis/view.php?id=45

2005-09-20  Dave Beckett

	* src/raptor_serialize_rdfxmla.c (raptor_rdfxmla_serialize_start):
	Pass down xml_version to the raptor_xml_writer and write the
	versioned header.

	* src/raptor_serialize_rdfxml.c (raptor_rdfxml_serialize_start):
	Pass down xml_version to the raptor_xml_writer and write the
	versioned header.

	* src/raptor_xml_writer.c: Add xml_version to raptor_xml_writer
	structure.
	(raptor_iostream_write_xml_element_start): Add xml_version field
	and pass it down to the XML escape function.
	(raptor_new_xml_writer): Init xml_version to 10.
	(raptor_xml_writer_empty_element, raptor_xml_writer_start_element,
	raptor_xml_writer_cdata, raptor_xml_writer_cdata_counted): Pass
	down xml_version.
	(raptor_xml_writer_set_feature, raptor_xml_writer_get_feature):
	Handle RAPTOR_FEATURE_WRITER_XML_VERSION.

	* src/raptor_xml.c (raptor_xml_any_escape_string,
	raptor_iostream_write_xml_any_escaped_string): Added, handling XML
	1.0 or XML 1.1 Error if writing #x1-#x1f (excluding #x9, #xA, #xD)
	or #x7F for XML 1.0

	* src/raptor_serialize.c (raptor_serializer_set_feature,
	raptor_serializer_get_feature): Add
	RAPTOR_FEATURE_WRITER_XML_VERSION

	* src/raptor_parse.c: switch on enum updates for feature
	RAPTOR_FEATURE_WRITER_XML_VERSION for serializer and xml writer

	* src/raptor_feature.c: Added RAPTOR_FEATURE_WRITER_XML_VERSION
	for serializer and xml writer with short name xmlVersion

	* src/raptor.h: Added RAPTOR_FEATURE_WRITER_XML_VERSION for
	serializer, xml writer.  Added prototypes for
	raptor_xml_any_escape_string and
	raptor_iostream_write_xml_any_escaped_string

	* src/raptor_internal.h: raptor_serializer_s gains an xml_version
	field

	* src/raptor_sax2.c (raptor_sax2_parse_chunk): Once more with
	static buffer, no vsnprintf

	* src/raptor_sax2.c (raptor_sax2_parse_chunk): Fix error message
	with 2 args for expat using raptor_vsnprintf.

	* src/raptor_namespace.c (raptor_namespaces_format): XML escape
	the written namespace name URI

	* tests/ex-59.rdf: correct result

	* tests/ex-59.nt, tests/ex-59.rdf: Test rdfxml serializer escapes
	dquote in uri attrs

	* tests/Makefile.am: Added RDF_SERIALIZE_TEST_FILES,
	RDF_SERIALIZE_OUT_FILES and ex-59 for testing the rdfxml
	serializer

	* examples/Makefile.am: fix libraptor.la dir

2005-09-18  Dave Beckett

	* src/raptor_rdfxml.c (raptor_generate_statement): When reifiying,
	just copy predicate_type.

	* src/raptor_uri.c (raptor_uri_equals): Alter to accept NULL
	pointers, which do not compare equal to a non-NULL URI.  NULL does
	equal NULL.

	* src/raptor.h: Document that RAPTOR_IDENTIFIER_TYPE_PREDICATE is
	never generated by a parser from now, replaced by
	RAPTOR_IDENTIFIER_TYPE_RESOURCE and
	RAPTOR_IDENTIFIER_TYPE_XML_LITERAL replaced by
	RAPTOR_IDENTIFIER_TYPE_LITERAL with the rdf:XMLLiteral datatype.

	* src/n3_parser.y, src/ntriples_parse.c, src/turtle_parser.y,
	src/raptor_rss.c, src/raptor_rdfxml.c: Replace all
	RAPTOR_IDENTIFIER_TYPE_PREDICATE with
	RAPTOR_IDENTIFIER_TYPE_RESOURCE

	* src/raptor_rdfxml.c: Added a new concept for rdf:XMLLiteral
	Rename RAPTOR_N_CONCEPTS to RAPTOR_RDFXML_N_CONCEPTS
	(raptor_rdfxml_parse_init): Init it.
	(raptor_end_element_grammar): Never generate
	RAPTOR_IDENTIFIER_TYPE_XML_LITERAL, instead generate a
	RAPTOR_IDENTIFIER_TYPE_LITERAL with the rdf:XMLLiteral datatype.

2005-09-16  Dave Beckett

	* docs/libraptor.3: Update for 1.4.8 - added
	raptor_set_namespace_handler

	* src/raptor_www.c, src/raptor.h:
	Revert: remove raptor_www_set_source_uri,
	raptor_www_set_source_file_handle, raptor_www_retrieve and
	raptor_www_retrieve_to_string

2005-09-15  Dave Beckett

	* src/raptor.h: delete unused raptor_www_fetch_to_string prototype

	* src/raptor_www.c: autodocs
	(raptor_www_set_source_uri): Added to set URI for content source
	(raptor_www_set_source_file_handle): Added to set URI for content
	source.
	(raptor_www_file_handle_fetch): Added, with guts of
	raptor_www_file_fetch.
	(raptor_www_file_fetch): Modified to call
	raptor_www_file_handle_fetch.
	(raptor_www_retrieve): Added to retrieve from whatever source (URI
	or handle).
	(raptor_www_retrieve_to_string): Added to retrieve from whatever
	source (URI or handle) into a string.
	(raptor_www_fetch): Now a wrapper over raptor_www_retrieve.
	(raptor_www_fetch_to_string): Now a wrapper over
	raptor_www_retrieve_to_string.

	* src/raptor.h: Added prototypes for raptor_www_set_source_uri,
	raptor_www_set_source_file_handle, raptor_www_retrieve,
	raptor_www_retrieve_to_string and
	raptor_www_fetch_from_file_handle

	* src/raptor_internal.h: (struct raptor_www_s) gains a handle
	field

	* src/raptor_parse.c: autodocs

	* src/ntriples_parse.c: autodocs and some code style fixes

2005-09-14  Dave Beckett

	* docs/tmpl/section-parser.sgml: new functions

2005-09-10  Dave Beckett

	* src/raptor_expat.c: Updates to use new raptor_sax2 handler
	style.  The user data now points at the raptor_sax2* object, not
	the parser.
	(raptor_expat_init): send SAX2 events to core raptor_sax2_EVENT
	routines.
	(raptor_expat_update_document_locator): Moved from raptor_parser.c

	* src/raptor_libxml.c: Updates to use new raptor_sax2 handler
	style.  The user data now points at the raptor_sax2* object, not
	the parser.  All raptor_parser* references are gone and
	error/fatal error/warnings are returned via handler/data pairs.
	(raptor_libxml_call_handler): Added to aid returning messages.
	Deleted old and unused internal entity resolution code.
	(raptor_libxml_init): send SAX2 events to core raptor_sax2_EVENT
	routines.

	* src/raptor_internal.h: Removed old and hardly tested internal
	handling of libxml entities

	* src/raptor_rdfxml.c: Rename raptor_xml_* to raptor_rdfxml_* in
	structs and functions.
	(raptor_rdfxml_start_element_handler,
	raptor_rdfxml_end_element_handler, raptor_cdata_grammar): Move
	expat BOM fixes to raptor_sax2.c
	(raptor_rdfxml_parse_init): Use new raptor_sax2_set_EVENT_handler
	methods. Use raptor_sax2_set_locator.
	(raptor_get_libxml_context, raptor_set_libxml_document_locator,
	raptor_get_libxml_document_locator, raptor_get_libxml_entities,
	raptor_set_libxml_entities, raptor_expat_update_document_locator):
	Deleted or merged into raptor_sax2.c

	* src/raptor_parse.c (raptor_parser_fatal_error_message_handler,
	raptor_parser_error_message_handler,
	raptor_parser_warning_message_handler): Added handlers that take
	location in same style as user message handler callbacks.
	(raptor_stats_print): Update for raptor_rdfxml_parser

	* src/raptor_locator.c (raptor_update_document_locator): Moved to
	raptor_sax2.c

	* src/raptor_general.c (raptor_init, raptor_finish): Call
	raptor_init_sax2 and raptor_finish_sax2 respectively.

	* src/raptor_internal.h: Removed several libxml/expat/rdxml
	functions used to be too friendly with internals of other classes.
	Renamed raptor_xml_parser to raptor_rdfxml_parser.  Updated
	prototype of raptor_libxml_update_document_locator.  Added new
	parser handler prototypes raptor_parser_error_message_handler,
	raptor_parser_fatal_error_message_handler and
	raptor_parser_warning_message_handler Added handlers for SAX2
	events - start element, end element, characters, cdata, comment,
	unparsed_entity_decl, external_entity_ref named as
	raptor_sax2_EVENT_handler.  raptor_sax2 gains a magic field as
	this is used as the user data for libxml.  raptor_sax2 uses the
	handler typedefs for the event handlers.  raptor_sax2 gains erorr,
	fatal and warning handler and data fields.  Added prototypes for
	raptor_init_sax2 and raptor_finish_sax2.  Updated prototype for
	raptor_new_sax2.  Added prototypes for
	raptor_sax2_set_start_element_handler,
	raptor_sax2_set_end_element_handler,
	raptor_sax2_set_characters_handler, raptor_sax2_set_cdata_handler,
	raptor_sax2_set_comment_handler,
	raptor_sax2_set_unparsed_entity_decl_handler and
	raptor_sax2_set_external_entity_ref_handler Added prototype for
	raptor_sax2_set_locator.  Added prototypes for:
	raptor_sax2_start_element raptor_sax2_end_element,
	raptor_sax2_characters, raptor_sax2_cdata, raptor_sax2_comment,
	raptor_sax2_unparsed_entity_decl and
	raptor_sax2_external_entity_ref.

	* src/raptor_sax2.c: Now a more complete class
	(raptor_init_sax2, raptor_finish_sax2): Added, calling any static
	initialising/finishing.
	(raptor_new_sax2): Added error, fatal_error and warning data and
	handler registers.  Register magic for libxml2 user_data fixups
	(raptor_sax2_set_start_element_handler,
	raptor_sax2_set_end_element_handler,
	raptor_sax2_set_characters_handler, raptor_sax2_set_cdata_handler,
	raptor_sax2_set_comment_handler,
	raptor_sax2_set_unparsed_entity_decl_handler,
	raptor_sax2_set_external_entity_ref_handler): Added for setting
	SAX2 callback handlers.
	(raptor_sax2_set_locator): Added, to set SAX2 file locator.
	(raptor_sax2_parse_chunk): Update for new handlers, remove all
	mention of raptor_parser.  Use this object (raptor_sax2*) as the
	user data now, not an external raptor_parser*.
	(raptor_sax2_update_document_locator): Added, updating the current
	location for the internal parser.
	(raptor_sax2_start_element): Added, internal function calling the
	start element handler, adding various workarounds needed.
	(raptor_sax2_end_element): Added, internal function calling the
	end element handler, adding various workarounds needed.
	(raptor_sax2_characters, raptor_sax2_cdata, raptor_sax2_comment,
	raptor_sax2_unparsed_entity_decl,
	raptor_sax2_external_entity_ref): Added, internal functions
	calling the same-named handler.

2005-09-09  Dave Beckett

	* src/raptor_qname.c: autodocs

	* docs/raptor-sections.txt: Added new functions.

	* src/raptor_internal.h (raptor_parser_s): Add new fields to the
	end of the struct; add unused1 to try to make old offsets work

	* src/raptor_namespace.c (raptor_namespaces_init): Remove
	un-necessary casts for constant namespace names.

	* src/raptor_uri.c (raptor_uri_uri_string_to_filename_fragment):
	For win32, only remove leading / if there is one present. (patch
	from John C. Barstow)
	(main): Correct test case result to match above.

	* src/raptor_xslt.c (raptor_xslt_parse_chunk): If the content is
	in one chunk and is_end is true, call xmlParseChunk with the
	is_end flag.  (patch from René Puls)

2005-09-07  Dave Beckett

	* src/n3_parser.y, src/turtle_parser.y (statement):
	Handle error recovery when subject is NULL

2005-09-06  Dave Beckett

	* src/turtle_common.c (raptor_stringbuffer_append_turtle_string):
	Do not check unsigned for <0

	* src/raptor_xml.c (raptor_xml_name_check):
	Do not check unsigned for <0

	* src/raptor_utf8.c (raptor_utf8_check): Do not check unsigned for <0

	* src/raptor_serialize.c (raptor_serializers_enumerate):
	counter can never be <0

	* src/raptor_rdfxml.c (raptor_element_content_type_as_string):
	Do not check unsigned for <0

	* src/raptor_feature.c (raptor_feature_value_type):
	Do not check unsigned for <0

	* src/ntriples_parse.c (raptor_ntriples_term):
	Do not check unsigned for <0

	* src/raptor_parse.c (raptor_syntaxes_enumerate):
	counter can never be <0

2005-08-24  Dave Beckett

	* src/Makefile.am: Add more conditional compiles for serializers

	* src/Makefile.am: Added raptor_serialize_rdfxml.c
	raptor_serialize_ntriples.c raptor_serialize_simple.c

	* src/raptor_serialize.c: Moved specific serializers into separate
	files - rdfxml, ntriples, simple

	* src/raptor_serialize_rdfxml.c: RDF/XML serializer

	* src/raptor_serialize_ntriples.c: N-Triples serializer

	* src/raptor_serialize_simple.c: Simple serializer

	* src/raptor-config.in, src/raptor-config.1:
	s/features/options/ so not to confuse with raptor_feature

	* utils/rapper.c:
	Add HELP_TEXT_LONG to deal with help that has no short option.

	* utils/rapper.c: fix --show-namespaces help

	* utils/rapper.1: Added --show-namespaces

	* utils/rapper.c: (print_namespaces) Added
	Added --show-namespaces option - long options only.

	* src/turtle_parser.y, src/raptor_rdfxml.c, src/n3_parser.y:
	Handle raptor_new_namespace failing.

	* src/turtle_parser.y, src/raptor_rdfxml.c, src/n3_parser.y:
	Remove calls to raptor_namespaces_start_namespace_full and use the
	three functions raptor_new_namespace,
	raptor_namespaces_start_namespace and
	raptor_parser_start_namespace instead.

	* src/raptor_parse.c (raptor_set_namespace_handler): Added.  New
	user method.
	(raptor_parser_start_namespace): Added.  Internal function to
	operate when namespaces are declared.

	* src/raptor.h: Added raptor_namespace_handler typedef.  Added
	raptor_set_namespace_handler prototype.

	* src/raptor_internal.h: raptor_parser_s gains namespace_handler
	and namespace_handler_user_data fields.  Added
	raptor_parser_start_namespace prototype.

2005-08-24  Dave Beckett

	* tests/Makefile.am: link to libxml2 bug report

	* src/raptor_rss.c (raptor_rss_emit_type_triple,
	raptor_rss_emit_enclosure, raptor_rss_emit_connection): Zap
	literal language and datatype before setting up statement objects.

	* src/ntriples_parse.c (raptor_ntriples_generate_statement): Zap
	literal language and datatype before setting up statement objects.

	* src/n3_parser.y (raptor_n3_generate_statement): Zap literal
	language and datatype for !literals.  Add assertion.

	* src/raptor_internal.h (RAPTOR_ASSERT_RETURN): Remove ()s around
	return to allow no-value.

	* src/turtle_parser.y (raptor_turtle_generate_statement): Zap
	literal language and datatype for !literals.  Add assertion.

2005-08-22  Dave Beckett

	* src/raptor.h: autodocs fixes

	* src/raptor.h: autodocs

	* docs/raptor-sections.txt: raptor_uri_init now internal

	* src/raptor_parse.c: autodocs

	* docs/tmpl/section-unused.sgml: raptor_uri_init now internal

	* docs/tmpl/section-general.sgml, src/raptor_internal.h: Remove
	unused container_test_handler function.

	* src/raptor.h, src/raptor_xml.c, src/raptor_sequence.c,
	src/raptor_iostream.c, src/raptor_stringbuffer.c: autodocs

	* docs/raptor-sections.txt: No raptor_container_test_handler

	* src/raptor.h: raptor_uri_init was internal

	* src/raptor_uri.c: autodocs

	* src/raptor_internal.h: raptor_uri_init was internal

	* src/raptor_uri.c: autodocs

2005-08-19  Dave Beckett

	* Makefile.am: Enable gtk doc with make distcheck

	* docs/tmpl/section-xml-namespace.sgml: args

	* src/raptor_namespace.c, src/raptor.h, src/raptor_xml.c,
	src/raptor_serialize.c, src/raptor_qname.c, src/raptor_parse.c,
	src/raptor_iostream.c, src/raptor_sequence.c,
	src/raptor_general.c, src/raptor_feature.c: autodocs

	* docs/version.xml.in: version.xml.in

	* docs/tmpl/section-serializer.sgml: whitespace

	* src/raptor_sequence.c: autodocs

	* src/raptor_xml.c (raptor_xml_escape_string): autodocs escapes

	* src/ntriples_parse.c, src/raptor.h, src/raptor_feature.c,
	src/raptor_general.c, src/raptor_identifier.c,
	src/raptor_iostream.c, src/raptor_locator.c,
	src/raptor_namespace.c, src/raptor_nfc.c, src/raptor_nfc_test.c,
	src/raptor_parse.c, src/raptor_qname.c, src/raptor_rdfxml.c,
	src/raptor_rfc2396.c, src/raptor_sequence.c,
	src/raptor_serialize.c, src/raptor_serialize_rdfxmla.c,
	src/raptor_set.c, src/raptor_stringbuffer.c, src/raptor_uri.c,
	src/raptor_utf8.c, src/raptor_www.c, src/raptor_www_libwww.c,
	src/raptor_xml.c, src/raptor_xml_writer.c, src/turtle_common.c:
	autodocs reformatted for gtk-doc

	* docs/tmpl/section-constants.sgml,
	docs/tmpl/section-feature.sgml, docs/tmpl/section-general.sgml,
	docs/tmpl/section-iostream.sgml, docs/tmpl/section-locator.sgml,
	docs/tmpl/section-memory.sgml, docs/tmpl/section-parser.sgml,
	docs/tmpl/section-sequence.sgml,
	docs/tmpl/section-serializer.sgml,
	docs/tmpl/section-stringbuffer.sgml,
	docs/tmpl/section-triples.sgml, docs/tmpl/section-unicode.sgml,
	docs/tmpl/section-unused.sgml, docs/tmpl/section-uri-factory.sgml,
	docs/tmpl/section-uri.sgml, docs/tmpl/section-www.sgml,
	docs/tmpl/section-xml-namespace.sgml,
	docs/tmpl/section-xml-qname.sgml, docs/tmpl/section-xml.sgml:
	initial templates

	* docs/raptor-docs.xml: fix

	* docs/raptor-docs.xml, docs/raptor-overrides.txt,
	docs/raptor-sections.txt: gtk-doc files

	* docs/Makefile.am, configure.ac: Enable gtk-doc

	* configure.ac: check for gtk-doc

2005-08-19  Dave Beckett

	* src/raptor-config.1: Document --features and --help.  Order
	flags alphabetically in summary and body.

	* src/raptor-config.in: Add --features argument to list configured
	or discovered features of the raptor library

	* configure.ac: Add AC_SUBSTs for recording discovered features:
	RAPTOR_WWW_LIBRARY (or none), RAPTOR_XML_PARSER (or none),
	RAPTOR_PARSERS (list) and RAPTOR_SERIALIZERS (list).

2005-08-18  Dave Beckett

	* src/raptor_sax2.c (raptor_sax2_parse_start): Fix for expat

	* src/raptor_rdfxml.c (raptor_xml_unparsed_entity_decl_handler,
	raptor_xml_external_entity_ref_handler): Casts for gcc4

	* src/raptor_expat.c (raptor_expat_init): Casts for expat to use
	sax2 handlers.

	* src/raptor_internal.h: Move raptor_sax2 declaration outside
	libxml-only block Fixup general arguments for
	raptor_xml_unparsed_entity_decl_handler and
	raptor_xml_external_entity_ref_handler.

	* src/raptor_rdfxml.c (raptor_xml_unparsed_entity_decl_handler,
	raptor_xml_external_entity_ref_handler): Generalise args from
	expat-specific.
	(raptor_xml_parse_init): Init sax2 handler fields

	* src/raptor_libxml.c (raptor_libxml_init): Use sax2 structure
	handlers

	* src/raptor_expat.c (raptor_expat_init): Use sax2 structure
	handlers

	* src/raptor_internal.h: raptor_sax2 gains handlers for start/end
	element, characters, cdata, comment, unparsed entity declaration,
	extenal entity reference.

	* src/raptor_sax2.c (raptor_sax2_parse_start): Init expat and
	libxml the same

	* src/raptor_libxml.c (raptor_libxml_init): Take raptor_sax2* and
	raptor_uri* args

	* src/raptor_expat.c (raptor_expat_init): Take raptor_sax2* and
	raptor_uri* args

	* src/raptor_internal.h: raptor_libxml_init and raptor_expat_init
	take same args

	* src/turtle_parser.y, src/raptor_xslt.c, src/raptor_rss.c,
	src/raptor_rdfxml.c, src/raptor_guess.c, src/ntriples_parse.c,
	src/n3_parser.y: Update uses of raptor_parser_register_factory to
	remove alias argument and add calls to
	raptor_parser_factory_add_alias for raptor
	(rdfxml) and ntriplesplus (turtle)

	* src/raptor_internal.h: Update raptor_parser_register_factory
	prototype to return the registered factory and remove the alias
	arg.  Added prototype for raptor_parser_factory_add_alias

	* src/raptor_parse.c (raptor_parser_register_factory): Now returns
	the registered factory.  Removed alias arg into new function:
	(raptor_parser_factory_add_alias): Added.

2005-08-17  Dave Beckett

	* src/Makefile.am: maintainer clean n3 files

	* src/Makefile.am: clean n3 tests

	* src/n3_lexer.l (n3_lexer_syntax_error): Added, from turtle.

	* src/n3_lexer.l: Added n3_lexer_syntax_error
	(<LITERAL>\"\"\"): Copy just the len and always terminate the
	string.
	(n3_copy_string_token): Handle empty strings without stringbuffer
	and use raptor_stringbuffer_append_turtle_string for escapes.
	Ensure string is always termianted.

	* src/n3_common.h: added stringbuffer field

	* src/turtle_parser.y: Expect 9 conflicts.  Added FLOATING_LITERAL
	(FLOATING_LITERAL): Use raptor_new_identifier_from_double common
	with n3.

	* src/n3_parser.y (FLOATING_LITERAL): Use
	raptor_new_identifier_from_double common with turtle.

	* src/turtle_lexer.l (<LITERAL>\"\"\"): Copy just the len and
	 always terminate the string.  Added doubles to Turtle.
	(turtle_copy_string_token): Handle empty strings without
	stringbuffer.  Ensure string is always termianted.
	(turtle_token_print): Print FLOATING_LITERAL

	* tests/turtle/test-20.ttl, tests/turtle/test-20.out,
	tests/turtle/Makefile.am: Add test-20 for empty literals

	* tests/turtle/Makefile.am: re-add test-19

2005-08-16  Dave Beckett

	* src/raptor_internal.h: Added raptor_new_identifier_from_double
	pointer

	* src/raptor_xsd.c: raptor_xsd.c

	* src/Makefile.am: Added raptor_xsd.c

	* src/n3_parser.y, src/n3_lexer.l: Add double constants to N3
	parser

	* src/n3_lexer.l (main): Make uri_string an unsigned char*

	* tests/turtle/Makefile.am: remove test-19 for now, no double
	constants

	* tests/turtle/Makefile.am, tests/turtle/test-19.out,
	tests/turtle/test-19.ttl: added test-19 for 1.0 as a double

	* src/Makefile.am: Add turtle_common.c

	* tests/turtle/test-18.out: Remove header/footer

	* src/turtle_parser.y: 2005

	* src/turtle_lexer.l: Added turtle_lexer_syntax_error Build up
	long strings inside a stringbuffer with
	raptor_stringbuffer_append_turtle_string and avoid greedy match of
	"""s
	(turtle_copy_string_token): Use
	raptor_stringbuffer_append_turtle_string
	(turtle_lexer_syntax_error): Added.

	* src/raptor_internal.h: Added
	raptor_stringbuffer_append_turtle_string prototype

	* src/turtle_common.h: Added raptor_stringbuffer* field sb

	* src/turtle_common.c: Raptor Turtle common code with
	raptor_stringbuffer_append_turtle_string from raptor_turtle.l

	* tests/turtle/Makefile.am, tests/turtle/test-18.out,
	tests/turtle/test-18.ttl: Added test-18 for multiple long literals
	with escapes

	* src/raptor_serialize_rss.c (raptor_rss10_emit_item): Die in
	debug mode with NULL item - all calls to this are currently
	wrapped with a check.
	(raptor_rss10_emit_item): Do not emit atom author when no such
	item exists.

	* manifest.pl: typo

2005-08-11  Dave Beckett

	* autogen.sh: Rewrite with functions, generalize to any redland
	package.  Add docs.

	* raptor.spec.in: - Update Source:
	- Use %makeinstall

2005-08-10  Dave Beckett

	* raptor.spec.in: Use %configure and %{_make}

2005-08-08  Dave Beckett

	* src/raptor_rss_common.c, src/raptor_rss.c,
	src/raptor_internal.h: Move time.h and sys/time.h #ifdef and
	includes to raptor_internal.h since time_t is mentioned there and
	visible to all files.

	* tests/Makefile.am: adjust -I to point to srcdir for
	raptor_empty_test

2005-07-31  Dave Beckett

	* src/raptor_xml_writer.c (main): syntax

	* src/raptor_uri.c: Add (void) casts for fwrite debug messages

	* src/raptor_xml_writer.c, src/raptor_rdfxml.c, src/raptor_nfc_test.c:
	Add (void) casts for fwrite debug messages

	* Source re-organisation - libraptor code moved to new src/ dir.
	rapper and rdfdif moved to new utils/ dir.  Other manual pages to
	docs/.

2005-07-27  Dave Beckett

	* Makefile.am: Add n3_lexer_test, n3_parser_test for maintainer

	* n3_parser.y, turtle_parser.y (main): Make it compile

	* n3_parser.y: Updates from turtle_parser.y:
	gcc4 ignored return warning fixes:
	(main): Check fread() return value and throw a user error.
	(main): Fix for gcc4
	(main) Move filename here

	* examples/grapper.c: Add author url

	* raptor_rss.c (raptor_rss_uplift_fields): Add possibility of
	normalizing fields, but no code to do it yet.

	* raptor_rss_common.c (raptor_rss_date_uplift): fail and do
	nothing if function returns <0

	* raptor_rss.c (raptor_rss_uplift_fields): Moved date code into
	raptor_rss_date_uplift and call it.

	* raptor_rss.h: Added raptor_rss_date_uplift prototype

	* raptor_rss_common.c (raptor_rss_date_uplift): Added, pulled out
	of raptor_rss.c

	* turtle_parser.y: gcc4 ignored return warning fixes:
	(main): Check fread() return value and throw a user error.

2005-07-25  Dave Beckett

	* examples/grapper.c (fs_ok_button_callback): Protect from
	defining when when not used as a callback.
	(open_button_callback): cast for gcc4

2005-07-24  Dave Beckett

	* raptor_rss.c (raptor_rss_parser_processNode): for rss:link and
	atom:link with href, allow multiple link for atom, and continue to
	ignore all but <link rel="altenrate"> for rss.

	* raptor_rss_common.c: Tidying.
	Added atom:feed and atom:entry to raptor_rss_types_info.
	Declare atom namespace URI string raptor_atom_namespace_uri

	* raptor_rss.h: Added RAPTOR_ATOM_FEED, RAPTOR_ATOM_ENTRY.

	* raptor_serialize_rss.c: Add atom 1.0 serializing by generalising
	rss 1.0 serializing.  Change field names to reflect this
	rdf_nspace -> default_nspace, rdf_RDF_element -> root_element.
	Add is_atom flag.
	(raptor_rss10_serialize_init): Init is_atom flag.
	(raptor_rss10_move_statements, raptor_rss10_store_statement):
	Rename back fields translated to rss: namespace.
	(raptor_rss10_build_xml_names): Init namespace qname for rss/atom.
	Declare the default namespace to rss/atom.  Ignore all item types
	but rss:item for atom; all but atom:author for rss.  For item node
	type use atom:entry / rss:item.
	(raptor_rss10_emit_item): Add emit_container flag to prevent
	generating the containing elements.  For atom:author, generate it
	inline for atom, ignore it for rss.  When generating URI-valued
	fields for atom, make them element content.  For atom, do not
	generate rdf:Seq block.
	(raptor_rss10_serialize_end): Only emit node type rss:item (aka
	atom:entry) for atom.
	(raptor_init_serializer_atom): Added.

	* configure.ac: Added atom serializer, enabled for maintainer
	only.

	* raptor_general.c (raptor_init): Add call to
	raptor_init_serializer_atom if enabled

	* raptor_internal.h: Added prototype for
	raptor_init_serializer_atom Added raptor_atom_namespace_uri

	* raptor_serialize_rss.c (raptor_rss10_serialize_end): End with an
	error if no rss channel was found.

	* Makefile.am: Use RAPTOR_SERIALIZER_RSS_1_0 for new separate rss
	serializer.  Use RAPTOR_RSS_COMMON when either rss parser or
	serializer is needed.

	* configure.ac: RSS 1.0 serializer is always available and does
	not need the libxml requirements of the RSS tag soup parser.
	Added RAPTOR_SERIALIZER_RSS_1_0 define and makefile conditional.
	Added RAPTOR_RSS_COMMON when any rss code is needed.

	* raptor_rss.c, raptor_rss_common.c, raptor_serialize_rss.c: Moved
	common code between parser and serializer from raptor_rss.c into
	new raptor_rss_common.c as new class raptor_rss_model.  Moved
	rss-1.0 serializer into new raptor_serialize_rss.c.  Both can be
	compiled independent of the other.

	* raptor_rss.h: Redland Parser Toolkit Internal RSS Model and API

	* raptor_internal.h: Add RAPTOR_PARSEDATE_FUNCTION macro for
	parsedate.c

	* raptor_general.c (raptor_init): Use define
	RAPTOR_SERIALIZER_RSS_1_0 to call raptor_init_serializer_rss10

	* raptor_xml.c, raptor_sax2.c: Moved raptor_new_xml_element,
	raptor_free_xml_element, raptor_xml_element_set_attributes,
	raptor_xml_element_declare_namespace, raptor_print_xml_element,
	raptor_iostream_write_xml_element from raptor_sax2.c to
	raptor_xml.c

2005-07-23  Dave Beckett

	* raptor_rss.c: More base URIs on base URIs fixes.
	(raptor_rss_parser_processNode): Ensure base URI is always copied
	at start element, always freed at end element.  Make sure xml:base
	processing is done for all elements including document and
	typed-node ones.
	(raptor_rss_parse_chunk): Remove duplicate document base URI
	setting.

2005-07-22  Dave Beckett

	* raptor_rss.c: raptor_rss_info gains flags field to store
	RAPTOR_RSS_INFO_FLAG_URI_VALUE where the value of the element
	<foo>value</foo> is always a URI.  Apply that to atom:id,
	atom:icon and atom:logo.  struct raptor_rss_parser_context_s gains
	a sequence of base URIs per-element.
	(raptor_rss_context_init, raptor_rss_context_terminate): Init and
	free sequence of base URIs.
	(raptor_rss_parse_start): Start base URI sequence with parser base
	URI.
	(raptor_rss_parser_processNode): Init base_uri from top of stack
	of base URIs.  Update base_uri from an xml:base arg, relative to
	the current base URI.  Use the base URI for all URi constructions.
	Push the new base URI after an element has been found.  Pop the
	base URI at the end of an element.  At the end of an element, if
	the field always has a URI value, convert it.
	(raptor_rss_parse_chunk): Init the URI sequence with the parser
	base URI.

	* raptor_rss.c: map raptor_atom_to_rss: turn more atom cloned rss
	fields into rss fields.
	(raptor_rss_uplift_fields): Change default action to copy
	(duplicate) fields.
	(raptor_rss10_emit_item): Do not emit link to atom:author types in
	rss1.0
	(raptor_rss10_serialize_end): Do not emit atom:author type in
	rss1.0

	* raptor_rss.c: Added atom 1.0 namespace (ATOM1_0_NAMESPACE_URI,
	ASTOM1_0_NS) and terms.  Turn old atom 0.3 terms into 1.0 versions
	where known using raptor_atom_to_rss.
	(raptor_rss_parser_processNode): Handle atom feed element
	properly, make a new channel item.  Convert atom 0.3 namespaced
	elements to atom 1.0 Use atom:id to get a URI for the feed/entry
	Copy atom:published to dc:date and atom:rights to dc:rights via
	raptor_rss_uplift_map.
	(raptor_rss_uplift_fields): Copy dc:date and atom:rights

	* raptor_rss.c: Added content: namespace CONTENT_NAMESPACE_URI,
	prefix "content:"
	Added content:encoded field RAPTOR_RSS_FIELD_CONTENT_ENCODED
	(raptor_rss_uplift_fields): Added an uplift from description to
	content:encoded
	(raptor_rss10_emit_item): Write content:encoded using
	<![CDATA[...]]>

2005-07-19  Dave Beckett

	* raptor_guess.c (raptor_guess_parse_chunk): unused var parser

	* ntriples_parse.c (raptor_init_parser_ntriples): Do not register
	interest in text/plain -- too general.

2005-07-18  Dave Beckett

	* raptor_guess.c: Slim down, to use raptor_parser_exec.
	(raptor_guess_parse_start): Deleted again.
	(raptor_guess_parse_chunk): Use guessing and raptor_parser_exec to
	switch to the right parser.

	* raptor_internal.h: Added prototype to raptor_parser_exec

	* raptor_parse.c (raptor_parser_exec): Added to turn one parser
	type into another in-situ.

	* rdfdump.c: make -g invoke the guess parser and report the
	resulting parser at the first triple returned

	* raptor_guess.c (raptor_guess_parse_start): Added.
	(raptor_guess_parse_chunk): Pass in buffer to
	raptor_guess_parser_name since we have it.  Work with no
	content_type such as when using a filename alone.

	* ntriples_parse.c (raptor_ntriples_parse_chunk): Handle ending on
	\r\n by updating 'start' by 1 position.

	* ntriples_parse.c (raptor_ntriples_term): Check sscanf return to
	catch bad \u or \U hex escape.

	* turtle_lexer.l (turtle_copy_string_token): Check sscanf return
	to catch bad \u or \U hex escape.

	* raptor_general.c (raptor_init): Added guessing parser

	* configure.ac, Makefile.am: Added raptor_guess.c

	* raptor_guess.c: guessing parser using content type and an
	internal parser

	* raptor_xslt.c (raptor_xslt_parse_start): No need to init column,
	byte locator.

	* raptor_rdfxml.c (raptor_xml_parse_recognise_syntax): Guess that
	application/xml is likely RDF/XML

	* raptor_internal.h: raptor_parser_factory_s gains a
	content_type_handler field.

	* raptor_parse.c (raptor_start_parse): Init locator line, column,
	byte to -1 (unknown)
	(raptor_parse_uri_content_type_handler): Added to handle
	raptor_www content type field return.  Pass on to factory method
	content_type_handler if present.
	(raptor_parse_uri_with_connection): Init
	raptor_parse_uri_content_type_handler to receive raptor_www
	callbacks using raptor_www_set_content_type_handler.
	(raptor_guess_parser_name): Check static buffer size for overflow.
	Add some comments.

	* raptor_xslt.c (raptor_xslt_parse_start): Use
	raptor_parser_copy_user_state

	* raptor_parse.c (raptor_parser_copy_user_state): Added.

	* raptor_internal.h: Added prototype for raptor_parser_copy_user_state

	* tests/ex-58.rdf, tests/ex-58.out, tests/Makefile.am: Added ex-58.
	See http://lists.w3.org/Archives/Public/www-archive/2005Jul/0017.html
	for discussion.

	* raptor_rdfxml.c (raptor_end_element_grammar): When emitting
	literals, handle a datatyped empty literal.  Merge the property
	element/member property element code.

	* tests/ex-57.rdf, tests/ex-57.out, tests/Makefile.am: Added ex-57.
	See http://lists.w3.org/Archives/Public/www-rdf-comments/2005AprJun/0000.html
	for discussion.

2005-07-13  Dave Beckett

	* turtle_lexer.l: Switch qname, blank node and prefix definitions
	to SPARQL ones.
	(main): Fixes for gcc4

	* turtle_parser.y (main): Fix for gcc4

	* raptor_utf8.c (raptor_unicode_is_xml11_namechar):
	Call raptor_unicode_is_xml11_namestartchar.

2005-07-01  Dave Beckett

	* configure.ac: Check for isascii, for parsedate.y

	* parsedate.y: Update source links

2005-06-29  Dave Beckett

	* raptor_rss.c (raptor_rss_uplift_fields): Fix valid condition.

	* raptor_rss.c: raptor_rss_uplift_map - added, rss091:pubDate ->
	dc:date in ISO format
	(raptor_rss_uplift_fields): Added, to search for fields to uplift.
	(raptor_rss_uplift_items): Added, to scan items to uplift.
	(raptor_rss_parse_chunk): Call raptor_rss_uplift_items.

2005-06-17  Dave Beckett

	* raptor.spec.in: License not Copyright header

2005-06-12  Dave Beckett

	* raptor_rss.c: update for INN parsedate

	* configure.ac: Look for parsedate in libINN

2005-06-11  Dave Beckett

	* Makefile.am: Add parsedate.y to EXTRA_DIST

	* configure.ac: Better check for parsedate function

	* raptor_rss.c: Add the time includes for AC_HEADER_TIME

	* configure.ac: Add the standard AC_HEADER_TIME checks.

	* raptor_rss.c: Turn rss091:date into dc:date using a date parsing
	function PARSEDATE_FUNCTION to decode it and strftiem to make the
	new ISO format.

	* configure.ac: Get date parsing code from parsedate, curl
	curl_getdate or raptor parsedate if neither is available.

	* Makefile.am: Add parsedate.c if PARSEDATE defined Build
	parsedate.c from parsedate.y

	* parsedate.y: Fixes to build in raptor

	* parsedate.y: Imported public domain date parsing code from
	http://cvs.php.net/php-src/ext/standard/parsedate.y

2005-06-10  Dave Beckett

	* raptor_rss.c: Added Suzan Foster to copyright

2005-06-08  Dave Beckett

	* rdfdiff.c: Casts for c++

	* win32_raptor_config.h, configure.ac: Bumped version to 1.4.8

	* Snapshotted raptor_1_4_7 for 1.4.7 release

	* libraptor.3: Note no changes in 1.4.6 and 1.4.7

2005-06-07  Dave Beckett

	* raptor_serialize_rdfxmla.c (raptor_new_qname_from_resource):
	Fail to split predicate if entire uri is an XML name - it's
	probably not an absolute URI.

	* raptor_serialize.c (raptor_rdfxml_serialize_statement): Fail to
	split predicate if entire uri is an XML name - it's probably not
	an absolute URI.

	* raptor_namespace.c (raptor_namespaces_find_namespace_by_uri):
	Return NULL if ns_uri is NULL.

2005-06-06  Dave Beckett

	* raptor_rss.c (raptor_rss_emit):
	Fix crash when no RSS channel is present (Suzan Foster)

2005-06-01  Dave Beckett

	* Makefile.am: Added ChangeLog.[2-5]

	* ChangeLog: 2004 to ChangeLog.5

	* raptor_rss.c (raptor_rss_parser_processNode): Copy attribute
	value before storing in the item field.

2005-05-25  Dave Beckett

	* raptor_xslt.c: docs

2005-05-22  Dave Beckett

	* configure.ac: Test for libxslt/xslt.h as well as library, and
	disable if missing.

2005-05-19  Dave Beckett

	* configure.ac, win32_raptor_config.h: Bumped version to 1.4.7

	* Snapshotted raptor_1_4_6 for 1.4.6 release

	* win32/Makefile.am, win32/rapper.vcproj, win32/raptor.sln,
	win32/raptor.vcproj, win32/raptortest.vcproj: Import configuration
	from John Barstow

	* win32/README.txt: updates

	* win32_raptor_config.h: Switch to libxml

	* win32_raptor_config.h: Spelling: RAPTOR_INLINE

	* raptor_general.c (raptor_init): Added conditionals around
	serializers: RAPTOR_SERIALIZER_RDFXML/NTRIPLES/RDFXML_ABBREV

	* Makefile.am: Added conditionally included
	RAPTOR_SERIALIZER_RDFXML_ABBREV

	* configure.ac: Added --enable-serializers=LIST and serializers to
	summary.  Reformat other help messages to match.

2005-05-18  Dave Beckett

	* turtle_parser.y: (main) Move filename here

	* configure.ac: Add proper check for libxslt

	* configure.ac: default memory-signing no

	* configure.ac, rdfdump.c: Bugs to http://bugs.librdf.org/

2005-05-17  Dave Beckett

	* raptor_identifier.c, raptor_parse.c, raptor_serialize.c,
	raptor_serialize_rdfxmla.c, raptor_sax2.c, raptor_rdfxml.c: Casts
	for RAPTOR_FREE

	* configure.ac: usage message formatting

	* raptor_general.c (raptor_free_statement): Casts for RAPTOR_FREE

	* configure.ac: Added --with-memory-signing raptor signing memory
	debugging Reformatted some other --with help messages.

	* raptor_general.c (raptor_sign_malloc, raptor_sign_calloc,
	raptor_sign_realloc, raptor_sign_free): Added raptor signing
	memory debugging trigged by RAPTOR_MEMORY_SIGN.

	* raptor_internal.h: Added raptor signing memory debugging trigged
	by RAPTOR_MEMORY_SIGN

	* n3_lexer.l: Use RAPTOR_MALLOC, RAPTOR_FREE

	* n3_parser.y, turtle_parser.y (directive, resource): Use
	RAPTOR_MALLOC, RAPTOR_FREE

	* turtle_lexer.l: Use RAPTOR_MALLOC, RAPTOR_FREE

	* rdfdiff.c:
	(rdfdiff_new_file, rdfdiff_new_blank) Use RAPTOR_MALLOC rather
	than strdup.

	* raptor_www_curl.c (raptor_www_curl_header_callback): Use
	RAPTOR_MALLOC on type field data.

	* rdfdump.c: Add raptor_finish() before usage exit

2005-05-13  Dave Beckett

	* raptor_rss.c: Casts for C++

	* raptor_serialize_rdfxmla.c (raptor_rdfxmla_serialize_init,
	raptor_rdfxmla_serialize_terminate): Init/free rdf_xml_literal_uri
	for the rdf:XMLLiteral URI.
	(raptor_rdfxmla_serialize_statement): Turn datatyped literals that
	are rdf:XMLLiteral into inline XML, not escaped.

2005-05-12  Dave Beckett

	* raptor_serialize.c (raptor_rdfxml_serialize_init,
	raptor_rdfxml_serialize_terminate): Init/free rdf_xml_literal_uri
	for the rdf:XMLLiteral URI.
	(raptor_rdfxml_serialize_statement): Turn datatyped literals that
	are rdf:XMLLiteral into inline XML, not escaped.

2005-05-10  Dave Beckett

	* configure.ac: Change quotes around bison test

	* configure.ac: Try to work for older bison version styles

2005-05-08  Dave Beckett

	* raptor_rss.c:
	Update from Suzan Foster to reflect the latest status of the
	enclosure vocabulary and allow multiple common items and fields.
	Fields in items are now a linked list of raptor_rss_field items.
	(raptor_rss_context_init): Empty common area.
	(raptor_enclosure_free): Use raptor_enclosure_free to empty enclosure
	list.
	(raptor_rss_field_free): Added to free a list of rss fields.
	(raptor_clear_rss_item): Use raptor_rss_field_free for freeing
	duplicate fields.
	(raptor_clear_rss_common_items): added to empty common item field
	lists.
	(raptor_rss_context_terminate): Empty common item fields with
	raptor_clear_rss_common_items.
	(raptor_rss_new_field): Added.
	(raptor_rss_enclosure_add): Added.
	(raptor_rss_field_add): Added to add a new field value to the list of
	values for one field item.
	(raptor_rss_common_add): Added to add a new common item to the list
	of common items for the current type.
	(raptor_rss_common_get): Added to get the last common item for the
	current type.
	(raptor_rss_parser_processNode): Updates for new fields structure.
	(raptor_rss_insert_enclosure_identifiers): Update for handling uris
	and bnodes.
	(raptor_rss_insert_identifiers): Update for lists for common items
	and lists of ields.
	(raptor_rss_emit_enclosure): Update for handling uris and bnodes.
	(raptor_rss_emit_item, raptor_rss_emit, raptor_rss10_move_statements,
	raptor_rss10_store_statement, raptor_rss10_serialize_statement,
	raptor_rss10_build_xml_names): Updates for lists of common items and
	lists of fields.
	(raptor_rss10_emit_item): Added fix for moving fields to the item
	when they got stuck on the enclosure when the enclosure uri = the guid.
	Updates for lists of common items and lists of fields.
	(raptor_rss10_serialize_end): Updates for lists of common items and
	lists of fields.

2005-05-04  Dave Beckett

	* win32_raptor_config.h: Added SIZEOF_UNSIGNED_SHORT

2005-04-17  Dave Beckett

	* autogen.sh: allow envariables to override the programs

2005-04-16  Dave Beckett

	* raptor_iostream.c (raptor_string_iostream_finish):
	Fixes bug 0000021: the output of to_string for an empty model should
	always be parsable and result in an empty model
	http://bugs.librdf.org/mantis/view.php?id=21

	* raptor_iostream.c (raptor_string_iostream_finish):
	Return an empty string "" (aka 1
	byte, \0) when the stringbuffer is NULL, do not return the NULL.

2005-04-14  Dave Beckett

	* raptor_parse.c: docs typo

2005-04-11  Dave Beckett

	* tests/Makefile.am, tests/ex-56.out, tests/ex-56.rdf:
	Added ex-56 test that relative URIs in datatypes work (Graham Klyne)

2005-04-08  Dave Beckett

	* raptor_xml_writer.c, raptor_serialize_rdfxmla.c,
	raptor_serialize.c, raptor_rdfxml.c, raptor_parse.c,
	raptor_general.c: Add missing switch cases to make -Wswitch-enum
	happy.

	* configure.ac: More gcc -W flags in maintainer mode.

	* raptor_xslt.c: Casts for C++

2005-04-07  Dave Beckett

	* raptor_xslt.c (raptor_init_parser_grddl): Expand grddl parser
	description.

	* libraptor.3:
	Added missing 1.4.5 API changes, adding XML writer features and
	support functions as used by the rdf/xml-abbrev serializer.

	* tests/Makefile.am:
	test should use = not == for string compare portability

2005-04-06  Dave Beckett

	* raptor_xslt.c:
	Added a list of XPaths to try, fixed searching for a profile.
	Now handles 2 XHTML forms and XML.
	(raptor_xslt_parse_chunk): Walk through the list of XPaths.
	Do not give an error if no GRDDL is found, 0 triples are ok.

	* raptor_libxml.c (raptor_libxml_error_common):
	Added, passing in prefix and is_fatal
	flag.  Handle NULL ctx and hence NULL parser.
	(raptor_libxml_error, raptor_libxml_generic_error,
	raptor_libxml_fatal_error, raptor_libxml_validation_error): Use the
	new function, share very common code.

	* raptor_parse.c (raptor_parser_error_varargs): Survive a NULL parser.

	* raptor_rdfxml.c (raptor_get_libxml_context,
	 raptor_set_libxml_document_locator,
	 raptor_get_libxml_document_locator): Survive NULL rdf_parser
	 calls.

	* raptor_internal.h: Added
	raptor_libxml_init_generic_error_handlers prototype

	* raptor_xslt.c (raptor_xslt_parse_start): Init column, byte to -1
	(raptor_xslt_xmlStructuredErrorFunc): Added, not tested.
	(raptor_xslt_parse_chunk): Ensure last chunk with is_end is always
	run.  Report error if no XML DOM made.  Set xslt context
	structured error handler to raptor_xslt_xmlStructuredErrorFunc.

2005-04-04  Dave Beckett

	* raptor_xslt.c (raptor_xslt_parse_chunk):
	Declare 'nodes' at top of block.
	Init doc_txt/doc_txt_len earlier so do not free junk.
	Get the base URI string from the XML doc if it exists.

2005-03-25  Dave Beckett

	* configure.ac: Added --with-xslt-config
	Added grddl parser and checking.
	Added simple search for libxslt needed by grddl.

	* Makefile.am: Added grddl if RAPTOR_PARSER_GRDDL

	* raptor_general.c (raptor_init): Added grddl

	* raptor_libxml.c (raptor_libxml_init_sax_error_handlers):
	Added to just init the
	static error handlers for libxml for grddl.

	* raptor_internal.h:
	Export raptor_libxml_init_sax_error_handlers for grddl.
	Added raptor_init_parser_grddl

	* raptor_xslt.c: Generates triples via in internal rdf/xml parser.
	(raptor_xslt_parse_start): Copy any user-set handlers to the
	internal rdf/xml parser.
	(main): Deleted, experimental code merged.

	* raptor_xslt.c: Reformed test code into parser named 'grddl'
	(raptor_xslt_parse_init, raptor_xslt_parse_terminate,
	raptor_xslt_parse_start, raptor_xslt_parse_chunk,
	raptor_xslt_parse_recognise_syntax,
	raptor_xslt_parser_register_factory, raptor_init_parser_xslt): Added

2005-03-24  Dave Beckett

	* raptor_xslt.c: Fix some memory leaks.

	* raptor_xslt.c: Remove commented out standalone xslt

	* Makefile.am: Added bodge raptor_xslt_test

	* raptor_xslt.c: Raptor GRDDL XSLT

	* raptor_parse.c (raptor_parse_chunk): docs

2005-03-10  Dave Beckett

	* n3_lexer.l, turtle_lexer.l: Tidy to use .|\n to match any char

	* n3_lexer.l, turtle_lexer.l: Added """long literals"""
	Use yyterminate() to end on errors

	* tests/turtle/bad-14.ttl, tests/turtle/test-17.ttl,
	tests/turtle/test-17.out: long literals

	* tests/turtle/Makefile.am:
	Added test-17.ttl bad-14.ttl for long literals

2005-03-06  Dave Beckett

	* raptor_serialize_rdfxmla.c (raptor_new_qname_from_resource):
	Use maximal xml name length for	splitting predicate.

	* raptor_serialize.c (raptor_rdfxml_serialize_statement):
	Use maximal xml name length for	splitting predicate.

2005-02-21  Dave Beckett

	* examples/Makefile.am: Add gconf-2.0 to grapper args

2005-02-16  Dave Beckett

	* examples/grapper.c: Added gconf storing of window width/height
	at namespace /apps/grapper

2005-02-14  Dave Beckett

	* win32_raptor_config.h: Define RASQAL_INLINE to __inline

	* raptor_nfc.c: Change inline to RAPTOR_INLINE

	* raptor_internal.h: Define RAPTOR_INLINE to inline if not alerady
	defined to something else

2005-02-12  Dave Beckett

	* raptor_serialize_rdfxmla.c
	 (raptor_rdfxmla_emit_subject_list_items,
	 raptor_rdfxmla_emit_subject_properties,
	 raptor_rdfxmla_emit_subject, raptor_rdfxmla_serialize_start):
	 Copy base URIs only when they are not NULL.
	(raptor_rdfxmla_serialize_statement): Handle predicate type
	RAPTOR_IDENTIFIER_TYPE_RESOURCE as an alternative.

2005-02-10  Dave Beckett

	* raptor_xml.c (raptor_valid_xml_ID): Just return an error status,
	don't error out here.

2005-02-08  Dave Beckett

	* Makefile.am: Add n3_lexer.l n3_parser.y to EXTRA_DIST otherwise
	building with --enable-maintainer-mode from tarball will fail.

	* raptor_rss.c: Add RSS enclosures serializing into RSS 1.0
	raptor_rss10_serializer_context gains enclosures sequence
	(raptor_rss10_serialize_init, raptor_rss10_serialize_terminate):
	Init, free enclosures sequence.
	(raptor_rss10_store_statement): If subject isn't an RSS item, see if
	it is an enclosure and if so, set the type.
	(raptor_rss10_serialize_statement): If type is enclosure, walk the
	list of enclosures and add a new one if not seen already.
	(raptor_rss10_emit_item): Add indent arg as this is called recursively.
	Use it to print spaces from the raptor_rss10_spaces constant.
	Only serialize an rdf:about if the item has a URI.
	If field is enc:enclosure, find the enclosure item and write it
	indented further recursively calling raptor_rss10_emit_item.

	* raptor_rss.c: re-comment back item enclosure thing

2005-02-07  Dave Beckett

	* raptor_rss.c (raptor_rss_parser_processNode): Do not assign
	'alternate' attribute values when there's no field to use.

2005-02-06  Dave Beckett

	* configure.ac, win32_raptor_config.h: Bumped version to 1.4.6

	* Snapshotted raptor_1_4_5 for 1.4.5 release

2005-02-04  Dave Beckett

	* autogen.sh: Add autoheader and libtoolize to the path search.

	* configure.ac: AM_PROG_LIBTOOL to AC_PROG_LIBTOOL seems to make
	things happier

2005-02-03  Dave Beckett

	* configure.ac: In maintainer mode, stop if there is no flex.

	* configure.ac:
	In maintainer mode, stop if flex is too old or YACC is not GNU bison.

	* raptor_libxml.c:
	Use RAPTOR_LIBXML_XMLSAX2INTERNALSUBSET test for a function rather
	than HAVE_LIBXML_SAX2_H test for a header to work on OSX 10.3.x which
	has inconsistent system libxml shared library/headers.

	* configure.ac:
	Test for xmlSAX2InternalSubset so that it checks for the broken OSX
	10.3.x libxml features in the shared library rather than the ones
	declared in the inconsistent header.

2005-02-02  Dave Beckett

	* raptor.rdf.in: Updates for schema

	* tests/Makefile.am (check-rdfxmla): rdfdiff should read
	$name-rdfxmla.rdf from builddir

2005-02-01  Dave Beckett

	* rdfdiff.c: C style Move more declarations to start of blocks.

	* rdfdiff.c (rdfdiff_free_file): Restore what I broke.

	* rdfdiff.c: C style Move more declarations to start of blocks.

	* raptor_xml_writer.c (raptor_xml_writer_end_element): Move int
	decl to start of block.

	* raptor_serialize_rdfxmla.c (raptor_unique_id): Terminate string
	right again after I broke it.

	* rdfdiff.c, raptor_serialize_rdfxmla.c: Casts for C++

	* raptor_serialize_rdfxmla.c: C style
	(raptor_rdfxmla_emit_subject_list_items,
	raptor_rdfxmla_emit_subject_properties): Declare i at start of
	block.

	* rapper.1: rdfxml-abbrev

	* rdfdump.c: Widen help formatting for longer serializer name

	* raptor_xml_writer.c: Various C style fixes.
	Make an enum for raptor_xml_writer_flags.
	Added XML_WRITER_ prefixes to macro and defines.
	Moved spaces_buffer to module static.
	Noted struct nsd and namespaces sorting are duplicated code.
	Docucomments for several methods (not yet used by doc system) noting
	use of the flags.

	* Makefile.am: clean rdfdiff

	* Makefile.am: rdfdiff to EXTRA_PROGRAMS for now

	* Imported rdf/xml with abbreviations serializer 'rdfxml-abbrev'
	written by Steve Shepard <steveshep@gmail.com>.  Steve's changes
	are as follows:

	    * Makefile.am: Added dependencies for rdfdiff.c and
	    raptor_serializer_rdfxmla.c

	    * raptor.h: Added RAPTOR_FEATURE enums and api for new xml_writer
	    features that support auto-indentation and auto-empty element
	    detection.

	    * raptor_feature.c: Added support for new xml_writer
	    auto-indentation and auto-empty features.

	    * raptor_general.c: Initialization of rdfxml-abbrev serializer.

	    * raptor_internal.h: Prototype for void
	    raptor_init_serializer_rdfxmla(void);

	    * raptor_serialize_rdfxmla.c: New rdfxml raptor_serializer that
	    handles some of the abbreviations specified by "RDF/XML Syntax
	    Specification (Revised)."

	    * rdfdiff.c: New tool to diff rdf files.

	    * tests/Makefile.am: Added tests for rdfdiff and the
	    rdfxml-abbrev serialization format.
	
2005-01-26  Dave Beckett
	* rapper.1: mention what RSS tag soup can do

	* turtle_parser.y, n3_parser.y: Rename
	raptor_new_triple/raptor_free_triple to have n3/turtle in the
	name.

	* raptor_internal.h, raptor_general.c, n3_parser.y, n3_lexer.l,
	n3_common.h, configure.ac, Makefile.am: Update Notation3 code with
	later Turtle improvements.  Built it with maintainer mode only.

	* turtle_lexer.l (turtle_copy_token): Renamed from copy_token
	(turtle_copy_string_token): Renamed from copy_string_token.
	(main): filename moved here from global!

2005-01-24  Dave Beckett

	* raptor_rss.c (raptor_rss_emit_item): Do not emit an items
	property, that's only done by raptor_rss_emit_connection.

2005-01-22  Dave Beckett

	* raptor_rss.c: Added RSS1.1 namespace http://inamidst.com/rss1.1/
	(raptor_rss_parser_processNode): Turn Channel into RSS type channel.
	(raptor_rss_emit_type_triple, raptor_rss_emit_enclosure,
	raptor_rss_emit_item, raptor_rss_emit_connection, raptor_rss_emit):
	Add error return value and stop if there is no identifier.
	(raptor_rss_emit): Stop if channel or any item has no identifier.
	(raptor_rss_parse_chunk): Pass on failures from above to user.
	(raptor_rss10_build_xml_names): Replace RSS1.1 namespace with RSS1.0
	(raptor_rss10_emit_item): Add item_type arg and use it to only emit
	items for the channel.

2005-01-21  Dave Beckett

	* raptor.h: Added const to src arg of
	raptor_ntriples_string_as_utf8_string.

	* libraptor.3: Deprecate raptor_ntriples_string_as_utf8_string

	* raptor.h: Deprecate raptor_ntriples_string_as_utf8_string -
	rather too internal to be useful, since it only works with a
	parser.

	* ntriples_parse.c (raptor_ntriples_term_valid): Remove rdf_parser
	arg; only for a fatal error - just die.
	(raptor_ntriples_term): Make start a const arg.  When copying UTF8
	bytes, move on the correct number of bytes in src and dest.
	Update use of raptor_ntriples_term_valid.
	(raptor_ntriples_string_as_utf8_string,
	raptor_ntriples_parse_line): Update uses of
	raptor_ntriples_term_valid.

2005-01-17  Dave Beckett

	* raptor_general.c (raptor_statement_part_as_counted_string):
	Declare language_len to NULL, uri_string as unsigned char*.

2005-01-16  Dave Beckett

	* raptor_rss.c (raptor_rss10_emit_item): Copy original base_uri
	each time, a raptor_new_xml_element is made and don't lose the
	original reference.

	* raptor_xml_writer.c (main): Copy original base_uri each time,
	don't lose the original reference.

2005-01-15  Dave Beckett

	* raptor_general.c (raptor_statement_part_as_counted_string):
	Initialise language_len, uri_string used in some cases to prevent
	gcc warnings.

	* configure.ac, win32_raptor_config.h: Bumped version to 1.4.5

	* Snapshotted raptor_1_4_4 for 1.4.4 release

	* raptor_rss.c (raptor_rss10_emit_item): Portability - declare
	rdf_Seq* variables at start of block.

2005-01-13  Dave Beckett

	* win32_raptor_config.h, win32/Makefile.am, win32/rapper.dsp,
	win32/raptor.dsp, win32/raptor.dsw, win32/raptortest.dsp: win32
	build update (patch from Dave Viner)

	* win32_raptor_config.h:
	RAPTOR_INTERNAL should be defined in the build configuration

2005-01-12  Dave Beckett

	* raptor_rss.c: Recognise old RSS 0.9 namespace and handle it as
	rss 1.0.

2005-01-04  Dave Beckett

	* raptor_serialize.c:
	(raptor_rdfxml_serialize_start,
	raptor_rdfxml_serialize_statement): Only copy non-NULL base URIs

	* raptor_rss.c:
	(raptor_rss10_move_statements, raptor_rss10_store_statement,
	raptor_rss10_build_xml_names, raptor_rss10_emit_item):Handle
	predicates of type RAPTOR_IDENTIFIER_TYPE_RESOURCE as well as type
	RAPTOR_IDENTIFIER_TYPE_PREDICATE

	* raptor_general.c (raptor_free_statement): Free predicate URIs
	that were RAPTOR_IDENTIFIER_TYPE_RESOURCE

	* raptor_uri.c (raptor_uri_to_relative_counted_uri_string):
	Handle no path in base URI
	(main): Add test for that and test for no path in both.

	* raptor_uri.c (raptor_uri_to_relative_counted_uri_string): Handle
	no path in reference URI
	(main): Add test for that

2005-01-03  Dave Beckett

	* configure.ac, win32_raptor_config.h: Bumped version to 1.4.4

	* Snapshotted raptor_1_4_3 for 1.4.3 release

	* raptor_rdfxml.c (raptor_xml_start_element_handler): Updates for
	unsigned char* string namespace URI strings.

	* raptor_namespace.c:
	Turn namespace URI string constants into unsigned char* strings.

	* raptor_identifier.c (raptor_identifier_print): Casts for
	printing rdf:XMLLiteral URI string constant.

	* raptor_general.c: Turn rdf:XMLLiteral URI string constant into a
	unsigned char* string.
	(raptor_print_statement, raptor_print_statement_part_as_ntriples):
	Casts for printing above constants.

	* raptor_uri.c (raptor_default_new_uri_for_rdf_concept): Use RDF
	namespace URI string constants.

	* Makefile.am: Link libraptor.la for URI tests, to get the
	namespace URI string constants.

	* raptor.h: Turn namespace URI string constants into unsigned
	char* strings.  Change namespace URI defines into uses of the
	constants.

	* rdfdump.c (main): Init parser_feature and serializer_feature to
	-1 to avoid compiler warnings.

	* raptor_rss.c (raptor_rss10_serialize_statement): Init item to
	NULL to avoid a compiler warning.

	* rdfdump.c, raptor_uri.c, raptor_serialize.c, raptor_rss.c,
	raptor_parse.c: Casts for c++

	* raptor.h: remove old comment re xml writer

2005-01-02  Dave Beckett

	* rdfdump.c: set serializer features before starting to serialize

	* rdfdump.c: Actually set parser feature values again.  Set
	strings for parser or serializer string feature values.

	* raptor_general.c: 2005 copyrights

	* rapper.1: No simple output format anymore

	* rapper.1: Added RSS 1.0 ref

2005-01-01  Dave Beckett

	* rapper.1: Update for new parser, serializers, xmlns syntax

	* raptor_serialize.c (raptor_serializer_set_feature_string): Docs,
	and return values for integer value features
	(raptor_serializer_get_feature_string): Return a new string for
	the start uri if set.

	* raptor_parse.c (raptor_parser_set_feature_string): Docs, and
	return values for integer value features

	* libraptor.3, raptor.h:
	Added raptor_uri_to_counted_string and raptor_uri_to_string

	* raptor_uri.c (raptor_uri_to_counted_string,raptor_uri_to_string):
	Added.

	* libraptor.3: changelog edit - cluster 1.4.3 entries by class

	* libraptor.3: Added raptor_parser_get_feature_string,
	raptor_parser_set_feature_string,
	raptor_serializer_set_feature_string,
	raptor_serializer_get_feature_string, raptor_feature_value_type,
	raptor_namespaces_find_namespace_by_uri

	* raptor_serialize.c, raptor_general.c:
	Use raptor_rdf_namespace_uri and raptor_rdf_namespace_uri_len to
	replace some constants.

	* raptor_serialize.c (raptor_rdfxml_serialize_statement):
	Handle ordinal subject and objects.

	* raptor_serialize.c:
	Add XML Writer to raptor_rdfxml_serializer_context, delete depth.
	(raptor_rdfxml_serialize_init): Delete depth stuff.
	(raptor_rdfxml_serialize_terminate): Tidy up xml writer, namespaces
	and rdf:RDF element.
	(raptor_rdfxml_serialize_declare_namespace): Don't copy uri, prefixes
	since raptor_new_namesapce_from_uri copies them anyway.
	(raptor_rdfxml_serialize_start): Convert to use xml writer.
	(raptor_rdfxml_serialize_write_xml_attribute): Deleted.
	(raptor_rdfxml_serialize_statement, raptor_rdfxml_serialize_end):
	Convert to use xml writer.

	* raptor_xml_writer.c (raptor_xml_writer_empty_element): Ensure
	namespace declarations are removed at end of element.

	* raptor.h: Added raptor_namespaces_find_namespace_by_uri

	* raptor_namespace.c (raptor_namespaces_find_namespace_by_uri): Added.

	* libraptor.3, raptor_sax2.c, raptor_rss.c, raptor.h:
	raptor_xml_declare_namespace renamed to
	raptor_xml_element_declare_namespace

	* raptor_rss.c (raptor_rss10_build_xml_names): Use
	raptor_xml_declare_namespace

	* raptor_rss.c:
	(raptor_rss10_build_xml_names): Use raptor_xml_declare_namespace

	* raptor_sax2.c, raptor.h:
	raptor_sax2_declare_namespace renamed to raptor_xml_declare_namespace

	* raptor_serialize.c (raptor_new_serializer):
	Default to emitting relative URIs

	* raptor_serialize.c (raptor_rdfxml_serialize_ok_xml_name): Deleted.
	(raptor_rdfxml_serialize_statement): Replace use of
	raptor_rdfxml_serialize_ok_xml_name with raptor_xml_name_check for
	XML 1.0 names.

	* raptor_sax2.c, raptor_rdfxml.c, raptor.h, libraptor.3:
	Rename raptor_xml_element_get_element to raptor_xml_element_get_name

	* raptor_rss.c: Added rss:image and rss:textinput properties

	* raptor_rss.c (raptor_rss10_store_statement):
	Don't lose statements that are about
	a known type node, but of unknown predicate.
	(raptor_rss10_serialize_end): Add more debug info on remaining
	statements.

	* raptor_rdfxml.c (raptor_start_element_grammar):
	Update raptor_new_xml_writer call.

	* raptor.h: raptor_new_xml_writer gets nstack parameter.
	raptor_xml_writer_start_namespace_full deleted

	* libraptor.3: raptor_new_xml_writer gets nstack param.
	raptor_xml_writer_start_namespace_full gone

	* raptor_general.c (raptor_free_statement): Don't free null pointers.