[xslt] Re: Request for comments on :Request for break point API suggestions



Hi all,

Here are the smallest diffs I can make when applying diff to a maintainer 
cleaned library.


bye,

Keith
diff -rP libxslt-1.0.3/acconfig.h libxslt-1.0.3_ki/acconfig.h
5a6
> #undef WITH_DEBUGGER
diff -rP libxslt-1.0.3/config.h.in libxslt-1.0.3_ki/config.h.in
13a14
> #undef WITH_DEBUGGER
diff -rP libxslt-1.0.3/configure libxslt-1.0.3_ki/configure
193a194,195
>   --with-debugger        Add the stylesheet debugger support (off)"
> ac_help="$ac_help
782c784
< echo "configure:783: checking for a BSD compatible install" >&5
---
> echo "configure:785: checking for a BSD compatible install" >&5
835c837
< echo "configure:836: checking whether build environment is sane" >&5
---
> echo "configure:838: checking whether build environment is sane" >&5
892c894
< echo "configure:893: checking whether ${MAKE-make} sets \${MAKE}" >&5
---
> echo "configure:895: checking whether ${MAKE-make} sets \${MAKE}" >&5
938c940
< echo "configure:939: checking for working aclocal" >&5
---
> echo "configure:941: checking for working aclocal" >&5
951c953
< echo "configure:952: checking for working autoconf" >&5
---
> echo "configure:954: checking for working autoconf" >&5
964c966
< echo "configure:965: checking for working automake" >&5
---
> echo "configure:967: checking for working automake" >&5
977c979
< echo "configure:978: checking for working autoheader" >&5
---
> echo "configure:980: checking for working autoheader" >&5
990c992
< echo "configure:991: checking for working makeinfo" >&5
---
> echo "configure:993: checking for working makeinfo" >&5
1004c1006
< echo "configure:1005: checking whether to enable maintainer-specific portions of Makefiles" >&5
---
> echo "configure:1007: checking whether to enable maintainer-specific portions of Makefiles" >&5
1046c1048
< echo "configure:1047: checking for $ac_word" >&5
---
> echo "configure:1049: checking for $ac_word" >&5
1076c1078
< echo "configure:1077: checking for $ac_word" >&5
---
> echo "configure:1079: checking for $ac_word" >&5
1127c1129
< echo "configure:1128: checking for $ac_word" >&5
---
> echo "configure:1130: checking for $ac_word" >&5
1159c1161
< echo "configure:1160: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
---
> echo "configure:1162: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1170c1172
< #line 1171 "configure"
---
> #line 1173 "configure"
1175c1177
< if { (eval echo configure:1176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:1178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1201c1203
< echo "configure:1202: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
---
> echo "configure:1204: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1206c1208
< echo "configure:1207: checking whether we are using GNU C" >&5
---
> echo "configure:1209: checking whether we are using GNU C" >&5
1215c1217
< if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
---
> if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1234c1236
< echo "configure:1235: checking whether ${CC-cc} accepts -g" >&5
---
> echo "configure:1237: checking whether ${CC-cc} accepts -g" >&5
1266c1268
< echo "configure:1267: checking for POSIXized ISC" >&5
---
> echo "configure:1269: checking for POSIXized ISC" >&5
1289c1291
< echo "configure:1290: checking for $ac_word" >&5
---
> echo "configure:1292: checking for $ac_word" >&5
1319c1321
< echo "configure:1320: checking for $ac_word" >&5
---
> echo "configure:1322: checking for $ac_word" >&5
1370c1372
< echo "configure:1371: checking for $ac_word" >&5
---
> echo "configure:1373: checking for $ac_word" >&5
1402c1404
< echo "configure:1403: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
---
> echo "configure:1405: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1413c1415
< #line 1414 "configure"
---
> #line 1416 "configure"
1418c1420
< if { (eval echo configure:1419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:1421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1444c1446
< echo "configure:1445: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
---
> echo "configure:1447: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1449c1451
< echo "configure:1450: checking whether we are using GNU C" >&5
---
> echo "configure:1452: checking whether we are using GNU C" >&5
1458c1460
< if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
---
> if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1477c1479
< echo "configure:1478: checking whether ${CC-cc} accepts -g" >&5
---
> echo "configure:1480: checking whether ${CC-cc} accepts -g" >&5
1509c1511
< echo "configure:1510: checking how to run the C preprocessor" >&5
---
> echo "configure:1512: checking how to run the C preprocessor" >&5
1524c1526
< #line 1525 "configure"
---
> #line 1527 "configure"
1530c1532
< { (eval echo configure:1531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
---
> { (eval echo configure:1533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1541c1543
< #line 1542 "configure"
---
> #line 1544 "configure"
1547c1549
< { (eval echo configure:1548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
---
> { (eval echo configure:1550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1558c1560
< #line 1559 "configure"
---
> #line 1561 "configure"
1564c1566
< { (eval echo configure:1565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
---
> { (eval echo configure:1567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1589c1591
< echo "configure:1590: checking for ANSI C header files" >&5
---
> echo "configure:1592: checking for ANSI C header files" >&5
1594c1596
< #line 1595 "configure"
---
> #line 1597 "configure"
1602c1604
< { (eval echo configure:1603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
---
> { (eval echo configure:1605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1619c1621
< #line 1620 "configure"
---
> #line 1622 "configure"
1637c1639
< #line 1638 "configure"
---
> #line 1640 "configure"
1658c1660
< #line 1659 "configure"
---
> #line 1661 "configure"
1669c1671
< if { (eval echo configure:1670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
---
> if { (eval echo configure:1672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1712c1714
< echo "configure:1713: checking for Cygwin environment" >&5
---
> echo "configure:1715: checking for Cygwin environment" >&5
1717c1719
< #line 1718 "configure"
---
> #line 1720 "configure"
1728c1730
< if { (eval echo configure:1729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:1731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1745c1747
< echo "configure:1746: checking for mingw32 environment" >&5
---
> echo "configure:1748: checking for mingw32 environment" >&5
1750c1752
< #line 1751 "configure"
---
> #line 1753 "configure"
1757c1759
< if { (eval echo configure:1758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:1760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1849c1851
< echo "configure:1850: checking host system type" >&5
---
> echo "configure:1852: checking host system type" >&5
1870c1872
< echo "configure:1871: checking build system type" >&5
---
> echo "configure:1873: checking build system type" >&5
1899c1901
< echo "configure:1900: checking for ld used by GCC" >&5
---
> echo "configure:1902: checking for ld used by GCC" >&5
1929c1931
< echo "configure:1930: checking for GNU ld" >&5
---
> echo "configure:1932: checking for GNU ld" >&5
1932c1934
< echo "configure:1933: checking for non-GNU ld" >&5
---
> echo "configure:1935: checking for non-GNU ld" >&5
1967c1969
< echo "configure:1968: checking if the linker ($LD) is GNU ld" >&5
---
> echo "configure:1970: checking if the linker ($LD) is GNU ld" >&5
1984c1986
< echo "configure:1985: checking for $LD option to reload object files" >&5
---
> echo "configure:1987: checking for $LD option to reload object files" >&5
1996c1998
< echo "configure:1997: checking for BSD-compatible nm" >&5
---
> echo "configure:1999: checking for BSD-compatible nm" >&5
2034c2036
< echo "configure:2035: checking whether ln -s works" >&5
---
> echo "configure:2037: checking whether ln -s works" >&5
2055c2057
< echo "configure:2056: checking how to recognise dependant libraries" >&5
---
> echo "configure:2058: checking how to recognise dependant libraries" >&5
2228c2230
< echo "configure:2229: checking for object suffix" >&5
---
> echo "configure:2231: checking for object suffix" >&5
2234c2236
< if { (eval echo configure:2235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:2237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2254c2256
< echo "configure:2255: checking for executable suffix" >&5
---
> echo "configure:2257: checking for executable suffix" >&5
2264c2266
<   if { (eval echo configure:2265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
---
>   if { (eval echo configure:2267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
2295c2297
< echo "configure:2296: checking command to parse $NM output" >&5
---
> echo "configure:2298: checking command to parse $NM output" >&5
2371c2373
<   if { (eval echo configure:2372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
>   if { (eval echo configure:2374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2374c2376
<     if { (eval echo configure:2375: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
---
>     if { (eval echo configure:2377: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
2425c2427
< 	  if { (eval echo configure:2426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
---
> 	  if { (eval echo configure:2428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2471c2473
< echo "configure:2472: checking for $ac_hdr" >&5
---
> echo "configure:2474: checking for $ac_hdr" >&5
2476c2478
< #line 2477 "configure"
---
> #line 2479 "configure"
2481c2483
< { (eval echo configure:2482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
---
> { (eval echo configure:2484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2516c2518
< echo "configure:2517: checking for ${ac_tool_prefix}file" >&5
---
> echo "configure:2519: checking for ${ac_tool_prefix}file" >&5
2578c2580
< echo "configure:2579: checking for file" >&5
---
> echo "configure:2581: checking for file" >&5
2649c2651
< echo "configure:2650: checking for $ac_word" >&5
---
> echo "configure:2652: checking for $ac_word" >&5
2681c2683
< echo "configure:2682: checking for $ac_word" >&5
---
> echo "configure:2684: checking for $ac_word" >&5
2716c2718
< echo "configure:2717: checking for $ac_word" >&5
---
> echo "configure:2719: checking for $ac_word" >&5
2748c2750
< echo "configure:2749: checking for $ac_word" >&5
---
> echo "configure:2751: checking for $ac_word" >&5
2797,2798c2799,2800
<   echo '#line 2798 "configure"' > conftest.$ac_ext
<   if { (eval echo configure:2799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
>   echo '#line 2800 "configure"' > conftest.$ac_ext
>   if { (eval echo configure:2801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2819c2821
< echo "configure:2820: checking whether the C compiler needs -belf" >&5
---
> echo "configure:2822: checking whether the C compiler needs -belf" >&5
2832c2834
< #line 2833 "configure"
---
> #line 2835 "configure"
2839c2841
< if { (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:2842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2952c2954
< echo "configure:2953: checking for objdir" >&5
---
> echo "configure:2955: checking for objdir" >&5
2979c2981
< echo "configure:2980: checking for $compiler option to produce PIC" >&5
---
> echo "configure:2982: checking for $compiler option to produce PIC" >&5
3131c3133
< echo "configure:3132: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
---
> echo "configure:3134: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
3138c3140
< #line 3139 "configure"
---
> #line 3141 "configure"
3145c3147
< if { (eval echo configure:3146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:3148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3197c3199
< echo "configure:3198: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
---
> echo "configure:3200: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
3205c3207
< #line 3206 "configure"
---
> #line 3208 "configure"
3212c3214
< if { (eval echo configure:3213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:3215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3239c3241
< echo "configure:3240: checking if $compiler supports -c -o file.$ac_objext" >&5
---
> echo "configure:3242: checking if $compiler supports -c -o file.$ac_objext" >&5
3258c3260
< if { (eval echo configure:3259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
---
> if { (eval echo configure:3261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
3287c3289
< echo "configure:3288: checking if $compiler supports -c -o file.lo" >&5
---
> echo "configure:3290: checking if $compiler supports -c -o file.lo" >&5
3296c3298
< #line 3297 "configure"
---
> #line 3299 "configure"
3303c3305
< if { (eval echo configure:3304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:3306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3333c3335
< echo "configure:3334: checking if we can lock with hard links" >&5
---
> echo "configure:3336: checking if we can lock with hard links" >&5
3352c3354
< echo "configure:3353: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
---
> echo "configure:3355: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
3358c3360
< #line 3359 "configure"
---
> #line 3361 "configure"
3365c3367
< if { (eval echo configure:3366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
> if { (eval echo configure:3368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3392c3394
< echo "configure:3393: checking whether the linker ($LD) supports shared libraries" >&5
---
> echo "configure:3395: checking whether the linker ($LD) supports shared libraries" >&5
4008c4010
< echo "configure:4009: checking how to hardcode library paths into programs" >&5
---
> echo "configure:4011: checking how to hardcode library paths into programs" >&5
4036c4038
< echo "configure:4037: checking whether stripping libraries is possible" >&5
---
> echo "configure:4039: checking whether stripping libraries is possible" >&5
4050c4052
< echo "configure:4051: checking dynamic linker characteristics" >&5
---
> echo "configure:4053: checking dynamic linker characteristics" >&5
4436c4438
< echo "configure:4437: checking if libtool supports shared libraries" >&5
---
> echo "configure:4439: checking if libtool supports shared libraries" >&5
4475c4477
< echo "configure:4476: checking for dlopen in -ldl" >&5
---
> echo "configure:4478: checking for dlopen in -ldl" >&5
4483c4485
< #line 4484 "configure"
---
> #line 4486 "configure"
4494c4496
< if { (eval echo configure:4495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4513c4515
< echo "configure:4514: checking for dlopen" >&5
---
> echo "configure:4516: checking for dlopen" >&5
4518c4520
< #line 4519 "configure"
---
> #line 4521 "configure"
4541c4543
< if { (eval echo configure:4542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4559c4561
< echo "configure:4560: checking for shl_load" >&5
---
> echo "configure:4562: checking for shl_load" >&5
4564c4566
< #line 4565 "configure"
---
> #line 4567 "configure"
4587c4589
< if { (eval echo configure:4588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4605c4607
< echo "configure:4606: checking for dlopen in -lsvld" >&5
---
> echo "configure:4608: checking for dlopen in -lsvld" >&5
4613c4615
< #line 4614 "configure"
---
> #line 4616 "configure"
4624c4626
< if { (eval echo configure:4625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:4627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4643c4645
< echo "configure:4644: checking for shl_load in -ldld" >&5
---
> echo "configure:4646: checking for shl_load in -ldld" >&5
4651c4653
< #line 4652 "configure"
---
> #line 4654 "configure"
4662c4664
< if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4715c4717
< echo "configure:4716: checking whether a program can dlopen itself" >&5
---
> echo "configure:4718: checking whether a program can dlopen itself" >&5
4725c4727
< #line 4726 "configure"
---
> #line 4728 "configure"
4786c4788
<   if { (eval echo configure:4787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
---
>   if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4809c4811
< echo "configure:4810: checking whether a statically linked program can dlopen itself" >&5
---
> echo "configure:4812: checking whether a statically linked program can dlopen itself" >&5
4819c4821
< #line 4820 "configure"
---
> #line 4822 "configure"
4880c4882
<   if { (eval echo configure:4881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
---
>   if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
4929c4931
< echo "configure:4930: checking whether -lc should be explicitly linked in" >&5
---
> echo "configure:4932: checking whether -lc should be explicitly linked in" >&5
4936c4938
<     if { (eval echo configure:4937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
---
>     if { (eval echo configure:4939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4949c4951
<       if { (eval echo configure:4950: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
---
>       if { (eval echo configure:4952: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
5532c5534
< echo "configure:5533: checking for $ac_hdr" >&5
---
> echo "configure:5535: checking for $ac_hdr" >&5
5537c5539
< #line 5538 "configure"
---
> #line 5540 "configure"
5542c5544
< { (eval echo configure:5543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
---
> { (eval echo configure:5545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5572c5574
< echo "configure:5573: checking for $ac_hdr" >&5
---
> echo "configure:5575: checking for $ac_hdr" >&5
5577c5579
< #line 5578 "configure"
---
> #line 5580 "configure"
5582c5584
< { (eval echo configure:5583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
---
> { (eval echo configure:5585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5612c5614
< echo "configure:5613: checking for $ac_hdr" >&5
---
> echo "configure:5615: checking for $ac_hdr" >&5
5617c5619
< #line 5618 "configure"
---
> #line 5620 "configure"
5622c5624
< { (eval echo configure:5623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
---
> { (eval echo configure:5625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5651c5653
< echo "configure:5652: checking for $ac_func" >&5
---
> echo "configure:5654: checking for $ac_func" >&5
5656c5658
< #line 5657 "configure"
---
> #line 5659 "configure"
5679c5681
< if { (eval echo configure:5680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:5682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5705c5707
< echo "configure:5706: checking for isnan" >&5
---
> echo "configure:5708: checking for isnan" >&5
5710c5712
< #line 5711 "configure"
---
> #line 5713 "configure"
5733c5735
< if { (eval echo configure:5734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:5736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5751c5753
< echo "configure:5752: checking for isnan in -lm" >&5
---
> echo "configure:5754: checking for isnan in -lm" >&5
5759c5761
< #line 5760 "configure"
---
> #line 5762 "configure"
5770c5772
< if { (eval echo configure:5771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:5773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5797c5799
< echo "configure:5798: checking for isinf" >&5
---
> echo "configure:5800: checking for isinf" >&5
5802c5804
< #line 5803 "configure"
---
> #line 5805 "configure"
5825c5827
< if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:5828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5843c5845
< echo "configure:5844: checking for isinf in -lm" >&5
---
> echo "configure:5846: checking for isinf in -lm" >&5
5851c5853
< #line 5852 "configure"
---
> #line 5854 "configure"
5862c5864
< if { (eval echo configure:5863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:5865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5889c5891
< echo "configure:5890: checking for pow" >&5
---
> echo "configure:5892: checking for pow" >&5
5894c5896
< #line 5895 "configure"
---
> #line 5897 "configure"
5917c5919
< if { (eval echo configure:5918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5935c5937
< echo "configure:5936: checking for pow in -lm" >&5
---
> echo "configure:5938: checking for pow in -lm" >&5
5943c5945
< #line 5944 "configure"
---
> #line 5946 "configure"
5954c5956
< if { (eval echo configure:5955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:5957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5981c5983
< echo "configure:5982: checking for floor" >&5
---
> echo "configure:5984: checking for floor" >&5
5986c5988
< #line 5987 "configure"
---
> #line 5989 "configure"
6009c6011
< if { (eval echo configure:6010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6027c6029
< echo "configure:6028: checking for pow in -lm" >&5
---
> echo "configure:6030: checking for pow in -lm" >&5
6035c6037
< #line 6036 "configure"
---
> #line 6038 "configure"
6046c6048
< if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:6049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6073c6075
< echo "configure:6074: checking for fabs" >&5
---
> echo "configure:6076: checking for fabs" >&5
6078c6080
< #line 6079 "configure"
---
> #line 6081 "configure"
6101c6103
< if { (eval echo configure:6102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:6104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6119c6121
< echo "configure:6120: checking for pow in -lm" >&5
---
> echo "configure:6122: checking for pow in -lm" >&5
6127c6129
< #line 6128 "configure"
---
> #line 6130 "configure"
6138c6140
< if { (eval echo configure:6139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:6141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6166c6168
< echo "configure:6167: checking for $ac_func" >&5
---
> echo "configure:6169: checking for $ac_func" >&5
6171c6173
< #line 6172 "configure"
---
> #line 6174 "configure"
6194c6196
< if { (eval echo configure:6195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:6197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6221c6223
< echo "configure:6222: checking for $ac_func" >&5
---
> echo "configure:6224: checking for $ac_func" >&5
6226c6228
< #line 6227 "configure"
---
> #line 6229 "configure"
6249c6251
< if { (eval echo configure:6250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
---
> if { (eval echo configure:6252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6278c6280
< echo "configure:6279: checking for $ac_word" >&5
---
> echo "configure:6281: checking for $ac_word" >&5
6349a6352,6368
> # Check whether --with-with_debugger or --without-with_debugger was given.
> if test "${with_with_debugger+set}" = set; then
>   withval="$with_with_debugger"
>   :
> fi
> 
> if test "$with_debugger" = "yes" ; then
>     echo Enabling stylesheet debug support
>     cat >> confdefs.h <<\EOF
> #define WITH_DEBUGGER 1
> EOF
> 
> else    
>     WITH_DEBUGGER=0
> fi
> 
> 
6384c6403
< echo "configure:6385: checking for libxml libraries >= $LIBXML_REQUIRED_VERSION" >&5 
---
> echo "configure:6404: checking for libxml libraries >= $LIBXML_REQUIRED_VERSION" >&5 
6640a6660
> s%@WITH_DEBUGGER@%$WITH_DEBUGGER%g
diff -rP libxslt-1.0.3/configure.in libxslt-1.0.3_ki/configure.in
134a135,144
> AC_ARG_WITH(with_debugger, [  --with-debugger        Add the stylesheet debugger support (off)])
> if test "$with_debugger" = "yes" ; then
>     echo Enabling stylesheet debug support
>     AC_DEFINE(WITH_DEBUGGER)
> dnl    WITH_DEBUGGER=1
> else    
>     WITH_DEBUGGER=0
> fi
> AC_SUBST(WITH_DEBUGGER)
> 
Only in libxslt-1.0.3/doc: html
Only in libxslt-1.0.3/libexslt: exsltconfig.h
diff -rP libxslt-1.0.3/libxslt/Makefile.am libxslt-1.0.3_ki/libxslt/Makefile.am
25c25,26
< 	xsltconfig.h
---
> 	xsltconfig.h			\
> 	breakpoint.h
47c48,49
< 	libxslt.h
---
> 	libxslt.h			\
> 	breakpoint.c
diff -rP libxslt-1.0.3/libxslt/Makefile.in libxslt-1.0.3_ki/libxslt/Makefile.in
1c1
< # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
---
> # Makefile.in generated automatically by automake 1.4 from Makefile.am
97a98
> WITH_DEBUGGER = @WITH_DEBUGGER@
111c112
< xsltinc_HEADERS =  	xslt.h					xsltutils.h				pattern.h				templates.h				variables.h				keys.h					numbersInternals.h			extensions.h				extra.h					functions.h				namespaces.h				imports.h				attributes.h				documents.h				preproc.h				transform.h				xsltInternals.h				xsltconfig.h
---
> xsltinc_HEADERS =  	xslt.h					xsltutils.h				pattern.h				templates.h				variables.h				keys.h					numbersInternals.h			extensions.h				extra.h					functions.h				namespaces.h				imports.h				attributes.h				documents.h				preproc.h				transform.h				xsltInternals.h				xsltconfig.h				breakpoint.h
114c115
< libxslt_la_SOURCES =  	xslt.c					xsltutils.c				pattern.c				templates.c				variables.c				keys.c					numbers.c				extensions.c				extra.c					functions.c				namespaces.c				imports.c				attributes.c				documents.c				preproc.c				transform.c				win32config.h				xsltwin32config.h			xsltwin32config.h.in			libxslt.h
---
> libxslt_la_SOURCES =  	xslt.c					xsltutils.c				pattern.c				templates.c				variables.c				keys.c					numbers.c				extensions.c				extra.c					functions.c				namespaces.c				imports.c				attributes.c				documents.c				preproc.c				transform.c				win32config.h				xsltwin32config.h			xsltwin32config.h.in			libxslt.h				breakpoint.c
131c132
< transform.lo
---
> transform.lo breakpoint.lo
144c145
< TAR = gtar
---
> TAR = tar
145a147,151
> DEP_FILES =  .deps/attributes.P .deps/breakpoint.P .deps/documents.P \
> .deps/extensions.P .deps/extra.P .deps/functions.P .deps/imports.P \
> .deps/keys.P .deps/namespaces.P .deps/numbers.P .deps/pattern.P \
> .deps/preproc.P .deps/templates.P .deps/transform.P .deps/variables.P \
> .deps/xslt.P .deps/xsltutils.P
153c159
< 	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps libxslt/Makefile
---
> 	cd $(top_srcdir) && $(AUTOMAKE) --gnu libxslt/Makefile
155c161
< Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
---
> Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
189,191d194
< .c.o:
< 	$(COMPILE) -c $<
< 
214,216d216
< .c.lo:
< 	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
< 
284a285,289
> 	here=`cd $(top_builddir) && pwd`; \
> 	top_distdir=`cd $(top_distdir) && pwd`; \
> 	distdir=`cd $(distdir) && pwd`; \
> 	cd $(top_srcdir) \
> 	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu libxslt/Makefile
288c293
< 	    cp -pr $$d/$$file $(distdir)/$$file; \
---
> 	    cp -pr $$/$$file $(distdir)/$$file; \
295,351d299
< attributes.lo attributes.o : attributes.c libxslt.h xsltconfig.h \
< 	../config.h xslt.h xsltInternals.h xslt.h numbersInternals.h \
< 	xsltutils.h attributes.h namespaces.h templates.h imports.h \
< 	transform.h
< documents.lo documents.o : documents.c libxslt.h xsltconfig.h \
< 	../config.h xslt.h xsltInternals.h xslt.h numbersInternals.h \
< 	xsltutils.h documents.h keys.h
< extensions.lo extensions.o : extensions.c libxslt.h xsltconfig.h \
< 	../config.h xslt.h xsltInternals.h xslt.h numbersInternals.h \
< 	xsltutils.h imports.h extensions.h
< extra.lo extra.o : extra.c libxslt.h xsltconfig.h ../config.h xslt.h \
< 	xsltInternals.h xslt.h numbersInternals.h xsltutils.h \
< 	extensions.h variables.h functions.h transform.h extra.h
< functions.lo functions.o : functions.c libxslt.h xsltconfig.h \
< 	../config.h xslt.h xsltInternals.h xslt.h numbersInternals.h \
< 	xsltutils.h functions.h extensions.h keys.h documents.h
< imports.lo imports.o : imports.c libxslt.h xsltconfig.h ../config.h \
< 	xslt.h xsltInternals.h xslt.h numbersInternals.h xsltutils.h \
< 	imports.h documents.h
< keys.lo keys.o : keys.c libxslt.h xsltconfig.h ../config.h xslt.h \
< 	xsltInternals.h xslt.h numbersInternals.h xsltutils.h imports.h \
< 	templates.h keys.h
< namespaces.lo namespaces.o : namespaces.c libxslt.h xsltconfig.h \
< 	../config.h xslt.h xsltInternals.h xslt.h numbersInternals.h \
< 	xsltutils.h namespaces.h imports.h
< numbers.lo numbers.o : numbers.c libxslt.h xsltconfig.h ../config.h \
< 	xsltutils.h xsltInternals.h xslt.h numbersInternals.h pattern.h \
< 	templates.h
< pattern.lo pattern.o : pattern.c libxslt.h xsltconfig.h ../config.h \
< 	xslt.h xsltInternals.h xslt.h numbersInternals.h xsltutils.h \
< 	imports.h templates.h keys.h pattern.h
< preproc.lo preproc.o : preproc.c libxslt.h xsltconfig.h ../config.h \
< 	xslt.h xsltutils.h xsltInternals.h xslt.h numbersInternals.h \
< 	transform.h templates.h variables.h functions.h preproc.h \
< 	extra.h imports.h
< templates.lo templates.o : templates.c libxslt.h xsltconfig.h \
< 	../config.h xslt.h xsltInternals.h xslt.h numbersInternals.h \
< 	xsltutils.h variables.h functions.h templates.h transform.h \
< 	namespaces.h attributes.h
< transform.lo transform.o : transform.c libxslt.h xsltconfig.h \
< 	../config.h xslt.h xsltInternals.h xslt.h numbersInternals.h \
< 	xsltutils.h pattern.h transform.h variables.h functions.h \
< 	namespaces.h attributes.h templates.h imports.h keys.h \
< 	documents.h extensions.h extra.h preproc.h
< variables.lo variables.o : variables.c libxslt.h xsltconfig.h \
< 	../config.h xslt.h xsltInternals.h xslt.h numbersInternals.h \
< 	xsltutils.h variables.h functions.h transform.h imports.h \
< 	preproc.h
< xslt.lo xslt.o : xslt.c libxslt.h xsltconfig.h ../config.h xslt.h \
< 	xsltInternals.h xslt.h numbersInternals.h pattern.h variables.h \
< 	functions.h namespaces.h attributes.h xsltutils.h imports.h \
< 	keys.h documents.h extensions.h preproc.h
< xsltproc.o: xsltproc.c xslt.h xsltInternals.h numbersInternals.h \
< 	transform.h xsltutils.h
< xsltutils.lo xsltutils.o : xsltutils.c libxslt.h xsltconfig.h \
< 	../config.h xsltutils.h xsltInternals.h xslt.h \
< 	numbersInternals.h templates.h imports.h
352a301,331
> DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
> 
> -include $(DEP_FILES)
> 
> mostlyclean-depend:
> 
> clean-depend:
> 
> distclean-depend:
> 	-rm -rf .deps
> 
> maintainer-clean-depend:
> 
> %.o: %.c
> 	@echo '$(COMPILE) -c $<'; \
> 	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
> 	@-cp .deps/$(*F).pp .deps/$(*F).P; \
> 	tr ' ' '\012' < .deps/$(*F).pp \
> 	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
> 	    >> .deps/$(*F).P; \
> 	rm .deps/$(*F).pp
> 
> %.lo: %.c
> 	@echo '$(LTCOMPILE) -c $<'; \
> 	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
> 	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
> 	  < .deps/$(*F).pp > .deps/$(*F).P; \
> 	tr ' ' '\012' < .deps/$(*F).pp \
> 	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
> 	    >> .deps/$(*F).P; \
> 	rm -f .deps/$(*F).pp
390c369
< 		mostlyclean-libtool mostlyclean-tags \
---
> 		mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
396c375
< 		clean-generic mostlyclean-am
---
> 		clean-depend clean-generic mostlyclean-am
401,402c380,381
< 		distclean-libtool distclean-tags distclean-generic \
< 		clean-am
---
> 		distclean-libtool distclean-tags distclean-depend \
> 		distclean-generic clean-am
409,410c388,389
< 		maintainer-clean-tags maintainer-clean-generic \
< 		distclean-am
---
> 		maintainer-clean-tags maintainer-clean-depend \
> 		maintainer-clean-generic distclean-am
423,424c402,404
< maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
< installcheck-am installcheck install-exec-am install-exec \
---
> maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
> clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
> check-am installcheck-am installcheck install-exec-am install-exec \
diff -rP libxslt-1.0.3/libxslt/breakpoint.c libxslt-1.0.3_ki/libxslt/breakpoint.c
0a1,287
> /***************************************************************************
>                           breakpoint.c  -  description
>                              -------------------
>     begin                : Sun Sep 16 2001
>     copyright            : (C) 2001 by Keith Isdale
>     email                : k_isdale@tpg.com.au
>  ***************************************************************************/
> 
> /*
>  * Implement a break point support. This is used primarily by functions
>  *  in transform.c
>  *
>  * Several of the methods are not used yet
>  */
> 
> #include "config.h"
> 
> #ifdef WITH_DEBUGGER
> #include "breakpoint.h"
> #include <string.h>
> 
> struct _xmlLink
> {
>   struct _xmlLink *next;
>   struct _xmlLink *prev;
>   void *data;
> };
> 
> /* the list of break points */
> xmlListPtr breakList = NULL;
> 
> int xslDebugStatus = DEBUG_NONE;
> 
> #define MAX_BREAKPOINTS 40
> #define MAX_TEMP_NAME_SIZE 20
> 
> char templlist[MAX_BREAKPOINTS][MAX_TEMP_NAME_SIZE];
> int templindex = 0;
> 
> char stepoutname[MAX_TEMP_NAME_SIZE];
> #define MAX_XSL_CALL_DEPTH 30
> 
> typedef struct _xslCallPoint xslCallPoint;
> typedef xslCallPoint *xslCallPointPtr;
> 
> struct _xslCallPoint{
>   xmlDocPtr source;
>   xmlChar *name;
> };
> 
> xslCallPoint xslCallStack[MAX_XSL_CALL_DEPTH];
> 
> static int callDepth = 0;
> 
> 
> /*
> -----------------------------------------------------------
>              Completed break name related functions
> ----------------------------------------------------------
> */
> 
> /* xslAddBreakName :
>  * Add template named templname to list of templates to stop at
>  * @templname : The name of a template to stop at
>  *              or "*" for all templates
>  * Returns : 1 on sucess, zero on failure
>  */
> int xslAddBreakName(xmlChar *templname){
>   int result = 0;
>   if (templindex < MAX_BREAKPOINTS)
>     if (!xslIsBreakName(templname)){
>       if (strlen(templname) < MAX_TEMP_NAME_SIZE){
> 	strcpy(templlist[templindex++], templname);
> 	result = 1;	
>       }else{
> 	fprintf(stderr, "Template name too big \n");
>       }
>     }
>   return result;
> }
> 
> 
> /* xslClearBreakName :
>  * Clear a template from being a break point
>  * @templname : A previously registered template name
>  *              or "*" for all templates
>  * returns : 1 on sucess, zero on failure
>  */
> int xslClearBreakName(xmlChar *templname){
>   int index, result = 0;
>   if (!strcmp(templname, "*")){
>     /* clear all breaks*/
>     templindex =0;
>     xslDebugStatus = DEBUG_RUN;
>     return 1;
>   }
> 
>   for (index = 0; index < templindex; index++){
>     if (!strcmp(templname, templlist[index])){
>       int index2;
>       for (index2 = index +1; (index2 < templindex) ; index2++, index++){
> 	strcpy(templlist[index], templlist[index2]);
>       }
>       templindex--;
>       result = 1;
>       break;
>     }
>   }
>   return result;
> }
> 
> 
> /* xslIsBreakName :
>  * Determine if a template name is a place to stop at
>  * @templname : The name of template being processed
>  * returns : 1 if true, zero if false
>  */
> int xslIsBreakName(xmlChar *templname){
>   int index, result = 0;
> 
>   if (strlen(stepoutname))
>     return result;
> 
>   for (index = 0; index < templindex; index++){
>     if (!strcmp(templname, templlist[index]) || \
> 	!strcmp(templlist[index], "*")){
>       result = 1;
>       break;
>     }
>   }
>   return result;
> }
> 
> 
> /* xslPrintBreakNames :
>  * Print a list of names of templates that we are to break at
>  */
> void xslPrintBreakNames(){
>   if (!templindex)
>     fprintf(stderr, "No template set to break at\n");
>   else{
>     int index;
>     fprintf(stderr, "Break at templates named :");
>     for (index = 0; index < templindex; index++){
>       fprintf(stderr, "%s ",  templlist[index]);
>     }
>     fprintf(stderr, "\n");
>   }
> }
> 
> 
> /* xslSetStepoutName :
>  * Set the template names to stepout from
>  * @templname : The name of template to stepout from
>  */
> void xslSetStepoutName(xmlChar *templname){
>   strcpy(stepoutname, templname);
> }
> 
> 
> /* xslIsStepoutName :
>  * Determine if template is the one to stepout from
>  * @templname : The name of template of interest
>  */
> int xslIsStepoutName(xmlChar *templname){
>   return strcmp(templname, stepoutname);
> }
> 
> 
> /*
> -----------------------------------------------------------
>        Main debugger functions
> -----------------------------------------------------------
> */
> 
> /* xslDebugInit :
>  * Initialize debugger
>  */
> void xslDebugInit(){
>   xslDebugStatus = DEBUG_CONT;
>   /* stop at root node */
>   xslSetStepoutName("");
>   /* add stuff to create break point structures */
> }
> 
> 
> /* xslDebugFree :
>  * Free up any memory taken by debugging
>  */
> void xslDebugFree(){
>   /* add stuff to free break point structures */
> }
> 
> 
> extern char *xslShellReadline(char *prompt);
> 
> /*
>  * A break point has been found so pass control to user
>  * @templ : The source node being executed
>  * @node : The data node being processed
>  * @root : The template being applide to "node"
>  * @ctxt :
>  */
> void xslDebugBreak(xmlNodePtr templ, xmlNodePtr node,  xsltTemplatePtr root, \
> 		   xsltTransformContextPtr ctxt){
>   /*
>   if (root)
>     fprintf(stderr, "template :%s\n", root->match);
>   xslShell(templ, node, "index.xsl", xslShellReadline,stdout, ctxt);
>   */
> }
> 
> 
> 
> /*
> ------------------------------------------------------
>                   Xsl call stack related
> -----------------------------------------------------
> */
> 
> 
> /* xslAddCall:
>  * Add template "call" to call stack
>  * @source : source node being executed
>  * @name : name of template being called
>  */
> void xslAddCall( xmlDocPtr source, xmlChar *name){
>   if(callDepth < MAX_XSL_CALL_DEPTH){
>     xslCallStack[callDepth].source = source;
>     xslCallStack[callDepth++].name = name;
>   }else{
> #ifdef WITH_XSLT_DEBUG_PROCESS
>     xsltGenericError(xsltGenericErrorContext,
> 		     "Error : Template call depth too high : breakpoint.c");
> #endif
>   }
> }
> 
> 
> /* xslDropCall :
>  * Drop the topmost item off the call stack
>  */
> void xslDropCall(){
>   if (callDepth){
>     callDepth--;
>   }else{
> #ifdef WITH_XSLT_DEBUG_PROCESS
>     xsltGenericError(xsltGenericErrorContext,
> 		     "xslDropCall failed: breakpoint.c");
> #endif
>   }
> }
> 
> 
> /* xslGetCall :
>  * Retrieve the values of item on the call stack
>  * @depth : call stack depth to look for
>  * @source : set to the value of source node of "call" if found
>  * @name : set to the value of name of template "call"
>  */
> int xslGetCall(int depth,  xmlDocPtr *source, xmlChar **name){
>   int result =0;
>   if ((depth >= 0) && (depth < callDepth)){
>     *source = xslCallStack[depth].source;
>     *name = xslCallStack[depth].name;
>     result++;
>   }
>   return result;
> }
> 
> 
> /* xslCallDepth :
>  * Return the depth of call stack
>  */
> int xslCallDepth(){
>   return callDepth;
> }
> 
> #endif
> 
> int fred(){
>   printf("a");
> }
> 
> 
> 
> 
diff -rP libxslt-1.0.3/libxslt/breakpoint.h libxslt-1.0.3_ki/libxslt/breakpoint.h
0a1,156
> /***************************************************************************
>                           breakpoint.h  -  description
>                              -------------------
>     begin                : Sun Sep 16 2001
>     copyright            : (C) 2001 by Keith Isdale
>     email                : k_isdale@tpg.com.au
>  ***************************************************************************/
> 
> #include "config.h"
> 
> #ifdef WITH_DEBUGGER
> #ifndef BREAKPOINT_H
> #define BREAKPOINT_H
> 
> #include <libxml/tree.h>
> 
> #include <libxslt/xsltInternals.h>
> #include <libxml/xpath.h>
> #include <libxml/list.h>
> 
> /* Define the types of status whilst debugging*/
> typedef enum {
>  DEBUG_NONE, /* no debugging allowed*/
>  DEBUG_INIT,
>  DEBUG_STEP,
>  DEBUG_STEPOUT,
>  DEBUG_NEXT,
>  DEBUG_STOP,
>  DEBUG_CONT,
>  DEBUG_RUN,
>  DEBUG_RUN_RESTART,
>  DEBUG_QUIT
> }DebugStatus;
> 
> extern int xslDebugStatus;
> 
> /* @pathQuery : the xpath query that was used to select break point(s)
>  * @node : a node to stop at, only the node->next will be valid
>  * see : breakpoint.c
>  */
> typedef struct _xslBreakPoint xslBreakPoint;
> typedef xslBreakPoint *xslBreakPointPtr;
> struct _xslBreakPoint {
>     xmlChar *pathquery;
>     xmlListPtr nodelist;/* a list of nodes to break at */
> };
> 
> /*
> -----------------------------------------------------------
>              Completed break name related functions
> ----------------------------------------------------------
> */
> 
> /* xslAddBreakName :
>  * Add template named templname to list of templates to stop at
>  * @templname : The name of a template to stop at
>  *              or "*" for all templates
>  * Returns : 1 on sucess, zero on failure
>  */
> int xslAddBreakName(xmlChar *templname);
> 
> /* xslClearBreakName :
>  * Clear a template from being a break point
>  * @templname : A previously registered template name
>  *              or "*" for all templates
>  * returns : 1 on sucess, zero on failure
>  */
> int xslClearBreakName(xmlChar *templname);
> 
> /* xslIsBreakName :
>  * Determine if a template name is a place to stop at
>  * @templname : The name of template being processed
>  * returns : 1 if true, zero if false
>  */
> int xslIsBreakName(xmlChar *templname);
> 
> /* xslPrintBreakNames :
>  * Print a list of names of templates that we are to break at
>  */
> void xslPrintBreakNames();
> 
> /* xslSetStepoutName :
>  * Set the template names to stepout from
>  * @templname : The name of template to stepout from
>  */
> void xslSetStepoutName(xmlChar *templname);
> 
> /* xslIsStepoutName :
>  * Determine if template is the one to stepout from
>  * @templname : The name of template of interest
>  */
> int xslIsStepoutName(xmlChar *templname);
> 
> /*
> -----------------------------------------------------------
>        Main debugger functions
> -----------------------------------------------------------
> */
> /* xslDebugBreak :
>  * A break point has been found so pass control to user
>  * @templ : The source node being executed
>  * @node : The data node being processed
>  * @root : The template being applyied to "node"
>  * @ctxt :
>  */
> void xslDebugBreak(xmlNodePtr templ, xmlNodePtr node, xsltTemplatePtr root,
> 		 xsltTransformContextPtr ctxt);
> 
> 
> /* xslDebugInit :
>  * Initialize debugger
>  */
> void xslDebugInit();
> 
> /* xslDebugFree :
>  * Free up any memory taken by debugging
>  */
> void xslDebugFree();
> 
> 
> /*
> ------------------------------------------------------
>                   Xsl call stack related
> -----------------------------------------------------
> */
> 
> /* xslAddCall:
>  * Add template "call" to call stack
>  * @source : source node being executed
>  * @name : name of template being called
>  */
> void xslAddCall(xmlDocPtr source, xmlChar *name);
> 
> /* xslDropCall :
>  * Drop the topmost item off the call stack
>  */
> void xslDropCall();
> 
> /* xslGetCall :
>  * Retrieve the values of item on the call stack
>  * @depth : call stack depth to look for
>  * @source : set to the value of source node of "call" if found
>  * @name : set to the value of name of template "call"
>  */
> int xslGetCall(int depth, xmlDocPtr *source, xmlChar **name);
> 
> /* xslCallDepth :
>  * Return the depth of call stack
>  */
> int xslCallDepth();
> 
> 
> 
> #endif
> 
> #endif
diff -rP libxslt-1.0.3/libxslt/transform.c libxslt-1.0.3_ki/libxslt/transform.c
51a52,61
> #ifdef WITH_DEBUGGER
> /* -- breakpoint code --- */
> #include "breakpoint.h"
> 
> int xslDebugStatus;
> 
> /* -------- end ---------- */
> #endif
> 
> 
1012a1023,1035
>     /* --- break point code --- */
>     if (templ && templ->match)
> 	xslAddCall(templ->style->doc, templ->match);
> #ifdef WITH_DEBUGGER
>       switch (xslDebugStatus) {
> 
>       case DEBUG_RUN_RESTART:
>       case DEBUG_QUIT:
> 	return;
>       }
>       /*  -- end --- */
> #endif
> 
1057a1081,1089
> #ifdef WITH_DEBUGGER
> 	/* --- break point code --- */
> 	switch (xslDebugStatus) {	
> 	case DEBUG_RUN_RESTART:
> 	case DEBUG_QUIT:
> 	  break;
> 	}
> 	/* --- end  --- */
> #endif
1074a1107,1122
> #ifdef WITH_DEBUGGER
> 	    /* --- break point code --- */
>  	    switch (xslDebugStatus) {
> 	    case DEBUG_STEP:
> 	      xslDebugBreak(cur, node, templ,ctxt);
> 	      break;
> 
> 	    case DEBUG_CONT:
> 	      /* stop at named template*/
> 	      if (templ)
> 		if (xslIsBreakName(templ->match))
> 		  xslDebugBreak(cur, node, templ, ctxt);
> 	      break;	
> 	    }
> 	    /* --- end --- */
> #endif
1308a1357,1361
> 
> #ifdef WITH_DEBUGGER
>     if (templ && templ->match)
>       xslDropCall();
> #endif
Only in libxslt-1.0.3/libxslt: xsltconfig.h
Only in libxslt-1.0.3/libxslt: xsltwin32config.h
Only in libxslt-1.0.3: libxslt.spec
Only in libxslt-1.0.3/tests/docbook/common: Makefile
Only in libxslt-1.0.3/tests/docbook/dtd/3.1.7: Makefile
Only in libxslt-1.0.3/tests/docbook/dtd/4.0: Makefile
Only in libxslt-1.0.3/tests/docbook/dtd/4.1.2: Makefile
Only in libxslt-1.0.3/tests/docbook/dtd: Makefile
Only in libxslt-1.0.3/tests/docbook/dtd/simple/3.1.7.1: Makefile
Only in libxslt-1.0.3/tests/docbook/dtd/simple/4.1.2.4: Makefile
Only in libxslt-1.0.3/tests/docbook/dtd/simple: Makefile
Only in libxslt-1.0.3/tests/docbook/html: Makefile
Only in libxslt-1.0.3/tests/docbook/lib: Makefile
Only in libxslt-1.0.3/tests/docbook/result: Makefile
Only in libxslt-1.0.3/tests/docbook/result/html: Makefile
Only in libxslt-1.0.3/tests/docbook/test: Makefile
diff -rP libxml2-2.4.3/debugXML.c libxml2-2.4.3_ki/debugXML.c
1005c1005
< static int xmlLsCountNode(xmlNodePtr node) {
---
> int xmlLsCountNode(xmlNodePtr node) {
1055c1055
< static void
---
> void
1161a1162,1173
> /**
>  * xslBoolToText:
>  * @bool : a bool to turn into text
>  *
>  * Convenient way to turn bool into text 
> */
> char *xmlBoolToText(int bool){
>   if (bool)
>     return "True";
>   else
>     return "False";
> }
1167a1180,1181
> 
> 
1175a1190,1315
>  * xmlShellPrintXpathError:
>  * @errorType: valid xpath error id
>  * @arg : the argument that cause xpath to fail
>  *
>  * Print the xpath error to stdout
>  */
> void
> xmlShellPrintXPathError(int errorType, xmlChar* arg){
>   char *default_arg ="Result";
> 
>   if (!arg)
>     arg = default_arg;
> 
>   switch(errorType){
>   case XPATH_UNDEFINED:
>     xmlGenericError(xmlGenericErrorContext,
> 		    "%s: no such node\n", arg);
>     break;
> 
>   case XPATH_BOOLEAN:
>     xmlGenericError(xmlGenericErrorContext,
> 		    "%s is a Boolean\n", arg);
>     break;
>   case XPATH_NUMBER:
>     xmlGenericError(xmlGenericErrorContext,
> 		    "%s is a number\n", arg);
>     break;
>   case XPATH_STRING:
>     xmlGenericError(xmlGenericErrorContext,
> 		    "%s is a string\n", arg);
>     break;
>   case XPATH_POINT:
>     xmlGenericError(xmlGenericErrorContext,
> 		    "%s is a point\n", arg);
>     break;
>   case XPATH_RANGE:
>     xmlGenericError(xmlGenericErrorContext,
> 		    "%s is a range\n", arg);
>     break;
>   case XPATH_LOCATIONSET:
>     xmlGenericError(xmlGenericErrorContext,
> 		    "%s is a range\n", arg);
>     break;
>   case XPATH_USERS:
>     xmlGenericError(xmlGenericErrorContext,
> 		    "%s is user-defined\n", arg);
>     break;
>   case XPATH_XSLT_TREE:
>     xmlGenericError(xmlGenericErrorContext,
> 		    "%s is an XSLT value tree\n", arg);
>     break;
>   }
>   xmlGenericError(xmlGenericErrorContext,
> 		  "Try casting the result string function (xpath builtin)\n", arg);
> }
> 
> 
> /**
>  * xmlShellPrintNode:
>  * @node : a non-null node to print to stdout
>  *
>  * Print node to stdout
>  */
> void
> xmlShellPrintNode(xmlNodePtr node){
>   if (!node)
>     return;
> 
>   if (node->type == XML_DOCUMENT_NODE)
>     xmlDocDump(stdout, (xmlDocPtr) node);
>   else if (node->type == XML_ATTRIBUTE_NODE)
>     xmlDebugDumpAttrList(stdout, (xmlAttrPtr) node, 0);
>   else
>     xmlElemDump(stdout, node->doc, node);
> 
>   fprintf(stdout, "\n");
> }
> 
> 
> /**
>  * xmlShellPrintXPathResult:
>  * list : a valid result generated by an xpath evaluation
>  *
>  * Prints result to stdout
>  */
> void 
> xmlShellPrintXPathResult(xmlXPathObjectPtr list){
>   int i = 0;
>   if (list != NULL) {
>     switch (list->type) {
>     case XPATH_NODESET: {
>       int indx;
>       if (list->nodesetval){
> 	for (indx = 0;indx < list->nodesetval->nodeNr;
> 	     indx++) {
> 	  if (i > 0) fprintf(stderr, " -------\n");
> 	  xmlShellPrintNode(list->nodesetval->nodeTab[indx]);
> 	}
>       }else{
> 	xmlGenericError(xmlGenericErrorContext,
> 			"Empty node set\n");	
>       }
>       break;
>     }
> 
>     case XPATH_BOOLEAN:
>       xmlGenericError(xmlGenericErrorContext,
> 		      "Is a Boolean:%s\n", 
> 		      xmlBoolToText(list->boolval));
>       break;
>     case XPATH_NUMBER:
>       xmlGenericError(xmlGenericErrorContext,
> 		      "Is a number:%0g\n", list->floatval);
>       break;
>     case XPATH_STRING:
>       xmlGenericError(xmlGenericErrorContext,
> 		      "Is a string:%s\n", list->stringval);
>       break;
> 
>     default:
>       xmlShellPrintXPathError(list->type, NULL);
>      }
>   }
> }
> 
> /**
1187c1327
< static int
---
> int
1220c1360
< static int
---
> int
1248c1388
< static int
---
> int
1261a1402,1404
> 
> 
> 
1274c1417
< static int
---
> int
1311c1454
< static int
---
> int
1363c1506
< static int
---
> int
1431c1574
< static int 
---
> int 
1487c1630
< static int 
---
> int 
1525c1668
< static int 
---
> int 
1601c1744
< static int 
---
> int 
1607a1751
>     char nametemp[100];
1623a1768,1771
> 	    if (cur->ns){	      
> 			snprintf(nametemp, 99,"%s:%s", cur->ns->prefix, cur->name);
> 	      name = nametemp;
> 	    }
Only in libxml2-2.4.3/doc: html
diff -rP libxml2-2.4.3/include/libxml/debugXML.h libxml2-2.4.3_ki/include/libxml/debugXML.h
49a50,55
> void xmlLsOneNode(FILE *output, xmlNodePtr node);
> int xmlLsCountNode(xmlNodePtr node);
> 
> /* Convenient way to turn bool into text */
> char *xmlBoolToText(int bool);
> 
99a106,311
> 
> 
> /**
>  * xmlShellPrintXPathError:
>  * @errorType: valid xpath error id
>  * @arg : the argument that cause xpath to fail
>  *
>  * Print the xpath error to stdout
>  */
> void xmlShellPrintXPathError(int errorType, xmlChar* arg);
> 
> 
> /**
>  * xmlShellPrintNode:
>  * @node : a non-null node to print to stdout
>  *
>  * Print item to stdout
>  */
> void xmlShellPrintNode(xmlNodePtr node);
> 
> 
> /**
>  * xmlShellPrintXPathResult:
>  * list : a valid result generated by an xpath evaluation
>  *
>  * Prints result to stdout
>  */
> void 
> xmlShellPrintXPathResult(xmlXPathObjectPtr list);
> 
> /**
>  * xmlShellList:
>  * @ctxt:  the shell context
>  * @arg:  unused
>  * @node:  a node
>  * @node2:  unused
>  *
>  * Implements the XML shell function "ls"
>  * Does an Unix like listing of the given node (like a directory)
>  *
>  * Returns 0
>  */
> int
> xmlShellList(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED , char *arg ATTRIBUTE_UNUSED, xmlNodePtr node,
> 	     xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> /**
>  * xmlShellBase:
>  * @ctxt:  the shell context
>  * @arg:  unused
>  * @node:  a node
>  * @node2:  unused
>  *
>  * Implements the XML shell function "base"
>  * dumps the current XML base of the node
>  *
>  * Returns 0
>  */
> int
> xmlShellBase(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED, xmlNodePtr node,
> 	     xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> 
> /**
>  * xmlShellDir:
>  * @ctxt:  the shell context
>  * @arg:  unused
>  * @node:  a node
>  * @node2:  unused
>  *
>  * Implements the XML shell function "dir"
>  * dumps informations about the node (namespace, attributes, content).
>  *
>  * Returns 0
>  */
> int
> xmlShellDir(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED, xmlNodePtr node,
> 	    xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> /**
>  * xmlShellCat:
>  * @ctxt:  the shell context
>  * @arg:  unused
>  * @node:  a node
>  * @node2:  unused
>  *
>  * Implements the XML shell function "cat"
>  * dumps the serialization node content (XML or HTML).
>  *
>  * Returns 0
>  */
> int
> xmlShellCat(xmlShellCtxtPtr ctxt, char *arg ATTRIBUTE_UNUSED, xmlNodePtr node,
> 	    xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> /**
>  * xmlShellLoad:
>  * @ctxt:  the shell context
>  * @filename:  the file name
>  * @node:  unused
>  * @node2:  unused
>  *
>  * Implements the XML shell function "load"
>  * loads a new document specified by the filename
>  *
>  * Returns 0 or -1 if loading failed
>  */
> int
> xmlShellLoad(xmlShellCtxtPtr ctxt, char *filename, xmlNodePtr node ATTRIBUTE_UNUSED,
>              xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> 
> /**
>  * xmlShellWrite:
>  * @ctxt:  the shell context
>  * @filename:  the file name
>  * @node:  a node in the tree
>  * @node2:  unused
>  *
>  * Implements the XML shell function "write"
>  * Write the current node to the filename, it saves the serailization
>  * of the subtree under the @node specified
>  *
>  * Returns 0 or -1 in case of error
>  */
> int
> xmlShellWrite(xmlShellCtxtPtr ctxt, char *filename, xmlNodePtr node,
> 	      xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> 
> /**
>  * xmlShellSave:
>  * @ctxt:  the shell context
>  * @filename:  the file name (optionnal)
>  * @node:  unused
>  * @node2:  unused
>  *
>  * Implements the XML shell function "save"
>  * Write the current document to the filename, or it's original name
>  *
>  * Returns 0 or -1 in case of error
>  */
> int 
> xmlShellSave(xmlShellCtxtPtr ctxt, char *filename, xmlNodePtr node ATTRIBUTE_UNUSED,
>              xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> 
> /**
>  * xmlShellValidate:
>  * @ctxt:  the shell context
>  * @dtd:  the DTD URI (optionnal)
>  * @node:  unused
>  * @node2:  unused
>  *
>  * Implements the XML shell function "validate"
>  * Validate the document, if a DTD path is provided, then the validation
>  * is done against the given DTD.
>  *
>  * Returns 0 or -1 in case of error
>  */
> int 
> xmlShellValidate(xmlShellCtxtPtr ctxt, char *dtd, xmlNodePtr node ATTRIBUTE_UNUSED,
>                  xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> 
> /**
>  * xmlShellDu:
>  * @ctxt:  the shell context
>  * @arg:  unused
>  * @tree:  a node defining a subtree
>  * @node2:  unused
>  *
>  * Implements the XML shell function "du"
>  * show the structure of the subtree under node @tree
>  * If @tree is null, the command works on the current node.
>  *
>  * Returns 0 or -1 in case of error
>  */
> int 
> xmlShellDu(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED, xmlNodePtr tree,
> 	   xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> 
> /**
>  * xmlShellPwd:
>  * @ctxt:  the shell context
>  * @buffer:  the output buffer
>  * @tree:  a node 
>  * @node2:  unused
>  *
>  * Implements the XML shell function "pwd"
>  * Show the full path from the root to the node, if needed building
>  * thumblers when similar elements exists at a given ancestor level.
>  * The output is compatible with XPath commands.
>  *
>  * Returns 0 or -1 in case of error
>  */
> int 
> xmlShellPwd(xmlShellCtxtPtr ctxt ATTRIBUTE_UNUSED, char *buffer, xmlNodePtr node,
> 	    xmlNodePtr node2 ATTRIBUTE_UNUSED);
> 
> 
> 
> 
> 
> 
106a319,322
> 
> 
> 
> 
diff -rP libxml2-2.4.3/include/libxml/debugXML.h~ libxml2-2.4.3_ki/include/libxml/debugXML.h~
0a1,113
> /*
>  * debugXML.h : Interfaces to a set of routines used for debugging the tree
>  *              produced by the XML parser.
>  *
>  * Daniel Veillard <daniel@veillard.com>
>  */
> 
> #ifndef __DEBUG_XML__
> #define __DEBUG_XML__
> #include <stdio.h>
> #include <libxml/tree.h>
> 
> #ifdef LIBXML_DEBUG_ENABLED
> 
> #include <libxml/xpath.h>
> 
> #ifdef __cplusplus
> extern "C" {
> #endif
> 
> /*
>  * The standard Dump routines
>  */
> void	xmlDebugDumpString	(FILE *output,
> 				 const xmlChar *str);
> void	xmlDebugDumpAttr	(FILE *output,
> 				 xmlAttrPtr attr,
> 				 int depth);
> void	xmlDebugDumpAttrList	(FILE *output,
> 				 xmlAttrPtr attr,
> 				 int depth);
> void	xmlDebugDumpOneNode	(FILE *output,
> 				 xmlNodePtr node,
> 				 int depth);
> void	xmlDebugDumpNode	(FILE *output,
> 				 xmlNodePtr node,
> 				 int depth);
> void	xmlDebugDumpNodeList	(FILE *output,
> 				 xmlNodePtr node,
> 				 int depth);
> void	xmlDebugDumpDocumentHead(FILE *output,
> 				 xmlDocPtr doc);
> void	xmlDebugDumpDocument	(FILE *output,
> 				 xmlDocPtr doc);
> void	xmlDebugDumpDTD		(FILE *output,
> 				 xmlDtdPtr dtd);
> void	xmlDebugDumpEntities	(FILE *output,
> 				 xmlDocPtr doc);
> 
> /****************************************************************
>  *								*
>  *	 The XML shell related structures and functions		*
>  *								*
>  ****************************************************************/
> 
> /**
>  * xmlShellReadlineFunc:
>  * @prompt:  a string prompt
>  *
>  * This is a generic signature for the XML shell input function
>  *
>  * Returns a string which will be freed by the Shell
>  */
> typedef char * (* xmlShellReadlineFunc)(char *prompt);
> 
> /**
>  * xmlShellCtxt:
>  *
>  * A debugging shell context
>  * TODO: add the defined function tables.
>  */
> typedef struct _xmlShellCtxt xmlShellCtxt;
> typedef xmlShellCtxt *xmlShellCtxtPtr;
> struct _xmlShellCtxt {
>     char *filename;
>     xmlDocPtr doc;
>     xmlNodePtr node;
>     xmlXPathContextPtr pctxt;
>     int loaded;
>     FILE *output;
>     xmlShellReadlineFunc input;
> };
> 
> /**
>  * xmlShellCmd:
>  * @ctxt:  a shell context
>  * @arg:  a string argument
>  * @node:  a first node
>  * @node2:  a second node
>  *
>  * This is a generic signature for the XML shell functions
>  *
>  * Returns an int, negative returns indicating errors
>  */
> typedef int (* xmlShellCmd) (xmlShellCtxtPtr ctxt,
>                              char *arg,
> 			     xmlNodePtr node,
> 			     xmlNodePtr node2);
> 
> /*
>  * The Shell interface.
>  */
> void	xmlShell	(xmlDocPtr doc,
> 			 char *filename,
> 			 xmlShellReadlineFunc input,
> 			 FILE *output);
> 			 
> #ifdef __cplusplus
> }
> #endif
> 
> #endif /* LIBXML_DEBUG_ENABLED */
> #endif /* __DEBUG_XML__ */
Only in libxml2-2.4.3/include/libxml: xmlversion.h
Only in libxml2-2.4.3/include/libxml: xmlwin32version.h
Only in libxml2-2.4.3: libxml.spec


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]