0000: 0a 4e 4f 54 49 43 45 3a 20 54 68 69 73 20 66 69 .NOTICE: This fi
0010: 6c 65 20 69 73 6e 27 74 20 6b 65 70 74 20 75 70 le isn't kept up
0020: 20 74 6f 20 64 61 74 65 20 61 6e 79 6d 6f 72 65 to date anymore
0030: 2e 20 4c 6f 6f 6b 20 61 74 20 74 68 65 20 74 69 . Look at the ti
0040: 6d 65 6c 69 6e 65 0a 6f 66 20 74 68 65 20 6c 65 meline.of the le
0050: 61 64 69 6e 67 20 66 6f 73 73 69 6c 20 72 65 70 ading fossil rep
0060: 6f 73 69 74 6f 72 79 20 28 68 74 74 70 3a 2f 2f ository (http://
0070: 74 64 6f 6d 2e 6f 72 67 29 20 6f 72 20 61 74 20 tdom.org) or at
0080: 74 68 65 20 62 61 63 6b 75 70 0a 72 65 70 6f 73 the backup.repos
0090: 69 74 6f 72 79 20 61 74 20 68 74 74 70 73 3a 2f itory at https:/
00a0: 2f 63 6f 72 65 2e 74 63 6c 2e 74 6b 2f 74 64 6f /core.tcl.tk/tdo
00b0: 6d 2f 74 69 6d 65 6c 69 6e 65 20 66 6f 72 20 64 m/timeline for d
00c0: 65 74 61 69 6c 65 64 20 6c 69 73 74 73 20 6f 66 etailed lists of
00d0: 0a 63 6f 64 65 20 63 68 61 6e 67 65 73 2e 0a 0a .code changes...
00e0: 55 73 65 72 20 69 6e 74 65 72 66 61 63 65 20 63 User interface c
00f0: 68 61 6e 67 65 73 2f 65 6e 68 61 6e 63 65 6d 65 hanges/enhanceme
0100: 6e 74 73 20 61 6e 64 20 6f 74 68 65 72 20 69 6d nts and other im
0110: 70 6f 72 74 61 6e 74 20 63 68 61 6e 67 65 73 20 portant changes
0120: 77 69 6c 6c 0a 73 74 69 6c 6c 20 62 65 20 64 6f will.still be do
0130: 63 75 6d 65 6e 74 65 64 20 69 6e 20 74 68 65 20 cumented in the
0140: 43 48 41 4e 47 45 53 20 66 69 6c 65 2e 0a 0a 32 CHANGES file...2
0150: 30 31 32 2d 30 35 2d 31 37 20 20 52 6f 6c 66 20 012-05-17 Rolf
0160: 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
0170: 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
0180: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e * generic/dom.
0190: 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 h. * gene
01a0: 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 43 6f ric/tcldom.c: Co
01b0: 6d 70 61 74 69 62 69 6c 69 74 79 20 77 69 74 68 mpatibility with
01c0: 20 54 63 6c 20 38 2e 36 20 2d 20 42 65 67 69 6e Tcl 8.6 - Begin
01d0: 6e 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 77 ning. w
01e0: 69 74 68 20 38 2e 36 2c 20 69 6e 74 65 72 70 2d ith 8.6, interp-
01f0: 3e 65 72 72 6f 72 4c 69 6e 65 20 69 73 6e 27 74 >errorLine isn't
0200: 20 70 75 62 6c 69 63 20 76 69 73 69 62 6c 65 20 public visible
0210: 61 6e 79 6d 6f 72 65 0a 20 20 20 20 20 20 20 20 anymore.
0220: 20 20 28 54 49 50 20 33 33 30 29 2e 0a 0a 20 20 (TIP 330)...
0230: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
0240: 64 6f 6d 78 73 6c 74 2e 63 3a 20 46 69 78 65 64 domxslt.c: Fixed
0250: 20 77 72 6f 6e 67 20 73 69 7a 65 20 6f 6e 20 6d wrong size on m
0260: 65 6d 63 70 79 20 6f 6e 20 36 34 20 62 69 74 0a emcpy on 64 bit.
0270: 20 20 20 20 20 20 20 20 20 20 28 77 68 65 6e 20 (when
0280: 73 69 7a 65 6f 66 28 69 6e 74 29 21 3d 73 69 7a sizeof(int)!=siz
0290: 65 6f 66 28 69 6e 74 2a 29 29 0a 0a 32 30 30 39 eof(int*))..2009
02a0: 2d 31 31 2d 31 30 20 20 52 6f 6c 66 20 41 64 65 -11-10 Rolf Ade
02b0: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
02c0: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
02d0: 20 65 78 70 61 74 2f 78 6d 6c 74 6f 6b 5f 69 6d expat/xmltok_im
02e0: 70 6c 2e 63 3a 20 46 69 78 20 66 6f 72 20 70 6f pl.c: Fix for po
02f0: 73 73 69 62 6c 65 20 44 6f 53 20 61 74 74 61 63 ssible DoS attac
0300: 6b 20 28 73 65 65 0a 20 20 20 20 20 20 20 20 20 k (see.
0310: 20 43 56 45 2d 32 30 30 39 2d 33 37 32 30 29 0a CVE-2009-3720).
0320: 0a 0a 32 30 30 38 2d 30 38 2d 32 37 20 20 52 6f ..2008-08-27 Ro
0330: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
0340: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
0350: 20 20 20 20 20 2a 20 4d 61 6b 65 66 69 6c 65 2e * Makefile.
0360: 69 6e 3a 20 41 64 64 65 64 20 6d 69 73 73 69 6e in: Added missin
0370: 67 20 73 70 61 63 65 20 69 6e 20 74 61 72 67 65 g space in targe
0380: 74 0a 20 20 20 20 20 20 20 20 20 20 70 6b 67 49 t. pkgI
0390: 6e 64 65 78 2e 74 63 6c 2d 68 61 6e 64 2e 20 54 ndex.tcl-hand. T
03a0: 68 61 6e 6b 73 20 74 6f 20 47 75 73 74 61 66 20 hanks to Gustaf
03b0: 4e 65 75 6d 61 6e 6e 20 66 6f 72 20 72 65 70 6f Neumann for repo
03c0: 72 74 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 rting.
03d0: 74 68 65 20 70 72 6f 62 6c 65 6d 20 61 6e 64 20 the problem and
03e0: 70 72 6f 76 69 64 69 6e 67 20 61 20 66 69 78 2e providing a fix.
03f0: 0a 0a 32 30 30 38 2d 30 35 2d 32 35 20 20 52 6f ..2008-05-25 Ro
0400: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
0410: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
0420: 20 20 20 20 20 2a 20 6c 69 62 2f 74 64 6f 6d 2e * lib/tdom.
0430: 74 63 6c 3a 20 54 68 65 20 58 50 61 74 68 20 66 tcl: The XPath f
0440: 75 6e 63 74 69 6f 6e 20 65 6c 65 6d 65 6e 74 2d unction element-
0450: 61 76 61 69 6c 61 62 6c 65 28 29 20 73 68 6f 75 available() shou
0460: 6c 64 2c 0a 20 20 20 20 20 20 20 20 20 20 61 63 ld,. ac
0470: 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 72 cording to the r
0480: 65 63 2c 20 72 65 74 75 72 6e 20 74 72 75 65 20 ec, return true
0490: 22 69 66 20 61 6e 64 20 6f 6e 6c 79 20 69 66 20 "if and only if
04a0: 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 3c 61 the. <a
04b0: 72 67 75 6d 65 6e 74 3e 20 69 73 20 74 68 65 20 rgument> is the
04c0: 6e 61 6d 65 20 6f 66 20 61 6e 20 69 6e 73 74 72 name of an instr
04d0: 75 63 74 69 6f 6e 22 2e 20 54 68 61 74 20 69 73 uction". That is
04e0: 2c 20 6e 6f 74 20 66 6f 72 0a 20 20 20 20 20 20 , not for.
04f0: 20 20 20 20 61 6c 6c 20 6b 6e 6f 77 6e 20 58 53 all known XS
0500: 4c 54 20 65 6c 65 6d 65 6e 74 73 2e 0a 0a 32 30 LT elements...20
0510: 30 38 2d 30 33 2d 30 34 20 20 52 6f 6c 66 20 41 08-03-04 Rolf A
0520: 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 de <rolf@points
0530: 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 man.de>..
0540: 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 65 78 * generic/tclex
0550: 70 61 74 2e 63 3a 20 45 64 69 74 6f 72 69 61 6c pat.c: Editorial
0560: 20 63 68 61 6e 67 65 73 2e 0a 0a 20 20 20 20 20 changes...
0570: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
0580: 68 74 6d 6c 2e 63 3a 20 0a 20 20 20 20 20 20 20 html.c: .
0590: 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 * generic/domxs
05a0: 6c 74 2e 63 3a 20 41 64 64 65 64 20 61 20 66 65 lt.c: Added a fe
05b0: 77 20 63 61 73 74 73 2c 20 74 6f 20 70 61 63 69 w casts, to paci
05c0: 66 79 20 70 69 63 6b 79 0a 20 20 20 20 20 20 20 fy picky.
05d0: 20 20 20 63 6f 6d 70 6c 69 65 72 73 2e 0a 0a 32 compliers...2
05e0: 30 30 37 2d 31 32 2d 32 36 20 20 52 6f 6c 66 20 007-12-26 Rolf
05f0: 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
0600: 73 6d 61 6e 2e 64 65 3e 0a 20 20 20 20 20 20 20 sman.de>.
0610: 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 . * gene
0620: 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 ric/dom.c.
0630: 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 * generic/tcld
0640: 6f 6d 2e 63 3a 20 46 69 78 65 64 20 61 20 6d 65 om.c: Fixed a me
0650: 6d 6f 72 79 20 6c 65 61 6b 20 69 6e 20 63 61 73 mory leak in cas
0660: 65 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 2d e of. -
0670: 2d 65 6e 61 62 6c 65 2d 74 68 72 65 61 64 73 2e -enable-threads.
0680: 0a 0a 32 30 30 37 2d 31 30 2d 33 30 20 20 52 6f ..2007-10-30 Ro
0690: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
06a0: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
06b0: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
06c0: 6f 6d 68 74 6d 6c 2e 63 3a 20 0a 20 20 20 20 20 omhtml.c: .
06d0: 20 20 20 2a 20 74 65 73 74 73 2f 68 74 6d 6c 72 * tests/htmlr
06e0: 65 61 64 65 72 2e 74 65 73 74 3a 20 49 44 20 41 eader.test: ID A
06f0: 74 74 72 69 62 75 74 65 73 20 69 6e 20 48 54 4d ttributes in HTM
0700: 4c 20 64 6f 63 75 6d 65 6e 74 73 0a 20 20 20 20 L documents.
0710: 20 20 20 20 20 20 70 61 72 73 65 64 20 77 69 74 parsed wit
0720: 68 20 2d 68 74 6d 6c 20 64 6f 20 6e 6f 77 20 77 h -html do now w
0730: 68 61 74 20 79 6f 75 20 65 78 70 65 63 74 3a 20 hat you expect:
0740: 79 6f 75 20 66 69 6e 64 20 69 74 20 77 69 74 68 you find it with
0750: 0a 20 20 20 20 20 20 20 20 20 20 67 65 74 45 6c . getEl
0760: 65 6d 65 6e 74 42 79 49 64 2e 0a 0a 32 30 30 37 ementById...2007
0770: 2d 31 30 2d 32 39 20 20 52 6f 6c 66 20 41 64 65 -10-29 Rolf Ade
0780: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
0790: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
07a0: 20 64 6f 63 2f 64 6f 6d 4e 6f 64 65 2e 2a 0a 20 doc/domNode.*.
07b0: 20 20 20 20 20 20 20 2a 20 64 6f 63 2f 64 6f 6d * doc/dom
07c0: 44 6f 63 2e 2a 3a 20 46 69 78 65 64 20 64 6f 63 Doc.*: Fixed doc
07d0: 75 6d 65 6e 74 61 74 69 6f 6e 20 65 72 72 6f 72 umentation error
07e0: 20 69 6e 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 in the document
07f0: 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 ation.
0800: 6f 66 20 74 68 65 20 72 65 70 6c 61 63 65 43 68 of the replaceCh
0810: 69 6c 64 20 6d 65 74 68 6f 64 2e 0a 0a 32 30 30 ild method...200
0820: 37 2d 31 30 2d 30 38 20 20 52 6f 6c 66 20 41 64 7-10-08 Rolf Ad
0830: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
0840: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
0850: 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 68 74 6d * generic/domhtm
0860: 6c 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 l.c. * te
0870: 73 74 73 2f 68 74 6d 6c 72 65 61 64 65 72 2e 74 sts/htmlreader.t
0880: 65 73 74 3a 20 46 69 78 65 64 20 68 61 6e 64 6c est: Fixed handl
0890: 69 6e 67 20 6f 66 20 61 74 74 72 69 62 75 74 65 ing of attribute
08a0: 73 20 77 69 74 68 6f 75 74 0a 20 20 20 20 20 20 s without.
08b0: 20 20 20 20 76 61 6c 75 65 2e 20 4e 6f 77 2c 20 value. Now,
08c0: 61 6e 20 61 74 74 72 69 62 75 74 65 20 77 69 74 an attribute wit
08d0: 68 6f 75 74 20 76 61 6c 75 65 20 67 65 74 73 20 hout value gets
08e0: 74 68 65 20 61 74 74 72 69 62 75 74 65 0a 20 20 the attribute.
08f0: 20 20 20 20 20 20 20 20 6e 61 6d 65 20 61 73 20 name as
0900: 76 61 6c 75 65 2e 0a 0a 32 30 30 37 2d 31 30 2d value...2007-10-
0910: 30 34 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 04 Rolf Ade <r
0920: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
0930: 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 >.. * tes
0940: 74 73 2f 64 6f 6d 44 6f 63 2e 74 65 73 74 3a 20 ts/domDoc.test:
0950: 46 69 78 65 64 20 74 65 73 74 20 64 6f 6d 44 6f Fixed test domDo
0960: 63 2d 31 2e 32 3a 20 54 65 73 74 20 77 61 73 20 c-1.2: Test was
0970: 62 72 6f 6b 65 6e 20 69 6e 0a 20 20 20 20 20 20 broken in.
0980: 20 20 20 20 63 61 73 65 20 6f 66 20 6c 6f 63 61 case of loca
0990: 6c 65 20 21 3d 20 49 53 4f 2d 38 38 35 39 2d 31 le != ISO-8859-1
09a0: 20 28 6f 72 20 2d 31 35 29 2e 0a 0a 32 30 30 37 (or -15)...2007
09b0: 2d 31 30 2d 30 33 20 20 52 6f 6c 66 20 41 64 65 -10-03 Rolf Ade
09c0: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
09d0: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
09e0: 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 win/makefile.vc
09f0: 3a 20 6d 61 6b 65 66 69 6c 65 2e 76 63 20 67 65 : makefile.vc ge
0a00: 6e 65 72 61 74 65 64 20 61 20 70 6b 67 49 6e 64 nerated a pkgInd
0a10: 65 78 2e 74 63 6c 20 66 69 6c 65 2c 0a 20 20 20 ex.tcl file,.
0a20: 20 20 20 20 20 20 20 74 68 61 74 20 64 69 64 6e that didn
0a30: 27 74 20 77 6f 72 6b 20 69 6e 20 63 61 73 65 20 't work in case
0a40: 6f 66 20 73 70 61 63 65 73 20 69 6e 20 74 68 65 of spaces in the
0a50: 20 69 6e 73 74 61 6c 6c 0a 20 20 20 20 20 20 20 install.
0a60: 20 20 20 70 61 74 68 2e 20 54 68 61 6e 6b 73 20 path. Thanks
0a70: 74 6f 20 4b 6f 65 6e 20 44 61 6e 63 6b 61 65 72 to Koen Danckaer
0a80: 74 2e 0a 0a 32 30 30 37 2d 30 39 2d 32 38 20 20 t...2007-09-28
0a90: 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 Rolf Ade <rolf@
0aa0: 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 pointsman.de>..
0ab0: 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 61 * tests/a
0ac0: 6c 6c 2d 62 65 6e 63 68 2e 74 63 6c 0a 20 20 20 ll-bench.tcl.
0ad0: 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d * tests/dom
0ae0: 4e 6f 64 65 2e 62 65 6e 63 68 0a 20 20 20 20 20 Node.bench.
0af0: 20 20 20 2a 20 74 65 73 74 73 2f 78 70 61 74 68 * tests/xpath
0b00: 2e 62 65 6e 63 68 3a 20 41 64 64 65 64 20 74 68 .bench: Added th
0b10: 69 73 20 66 69 6c 65 73 3a 20 53 74 61 72 74 20 is files: Start
0b20: 6f 66 20 61 20 62 65 6e 63 68 6d 61 72 6b 0a 20 of a benchmark.
0b30: 20 20 20 20 20 20 20 20 20 73 75 69 74 65 2e 0a suite..
0b40: 0a 32 30 30 37 2d 30 39 2d 32 35 20 20 52 6f 6c .2007-09-25 Rol
0b50: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
0b60: 6e 74 73 6d 61 6e 2e 64 65 3e 0a 20 20 20 20 20 ntsman.de>.
0b70: 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 77 69 . * wi
0b80: 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 0a 20 20 n/makefile.vc.
0b90: 20 20 20 20 20 20 2a 20 77 69 6e 2f 6e 6d 61 6b * win/nmak
0ba0: 65 68 6c 70 2e 63 0a 20 20 20 20 20 20 20 20 2a ehlp.c. *
0bb0: 20 77 69 6e 2f 72 75 6c 65 73 2e 76 63 0a 20 20 win/rules.vc.
0bc0: 20 20 20 20 20 20 2a 20 77 69 6e 2f 74 64 6f 6d * win/tdom
0bd0: 2e 72 63 3a 20 55 70 64 61 74 65 64 2e 20 28 54 .rc: Updated. (T
0be0: 68 61 6e 6b 73 20 74 6f 20 50 61 74 20 54 68 6f hanks to Pat Tho
0bf0: 79 74 73 2e 29 0a 0a 20 20 20 20 20 20 20 20 2a yts.).. *
0c00: 20 74 64 6f 6d 2e 6d 34 0a 20 20 20 20 20 20 20 tdom.m4.
0c10: 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e * extensions/tn
0c20: 63 2f 63 6f 6e 66 69 67 75 72 65 3a 20 46 69 78 c/configure: Fix
0c30: 65 73 20 74 6e 63 20 62 75 69 6c 64 69 6e 67 20 es tnc building
0c40: 61 67 61 69 6e 73 74 0a 20 20 20 20 20 20 20 20 against.
0c50: 20 20 75 6e 69 6e 73 74 61 6c 6c 65 64 20 74 64 uninstalled td
0c60: 6f 6d 2e 20 28 54 68 61 6e 6b 73 20 74 6f 20 44 om. (Thanks to D
0c70: 61 6e 69 65 6c 20 41 2e 20 53 74 65 66 66 65 6e aniel A. Steffen
0c80: 2e 29 0a 0a 32 30 30 37 2d 30 38 2d 32 33 20 20 .)..2007-08-23
0c90: 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 Rolf Ade <rolf@
0ca0: 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 pointsman.de>..
0cb0: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
0cc0: 2f 64 6f 6d 78 70 61 74 68 2e 63 0a 20 20 20 20 /domxpath.c.
0cd0: 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 2e * tests/dom.
0ce0: 74 65 73 74 0a 20 20 20 20 20 20 20 20 2a 20 74 test. * t
0cf0: 65 73 74 73 2f 78 6d 6c 73 69 6d 70 6c 65 2e 74 ests/xmlsimple.t
0d00: 65 73 74 0a 20 20 20 20 20 20 20 20 2a 20 74 65 est. * te
0d10: 73 74 73 2f 78 70 61 74 68 2e 74 65 73 74 0a 20 sts/xpath.test.
0d20: 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 78 * tests/x
0d30: 73 6c 74 2e 74 65 73 74 3a 20 46 69 78 65 64 20 slt.test: Fixed
0d40: 62 75 67 20 74 72 69 67 67 65 72 65 64 20 62 79 bug triggered by
0d50: 20 69 6e 76 61 6c 69 64 20 58 53 4c 54 20 58 50 invalid XSLT XP
0d60: 61 74 68 0a 20 20 20 20 20 20 20 20 20 20 70 61 ath. pa
0d70: 74 74 65 72 6e 20 28 6e 6f 72 6d 61 6c 20 58 50 ttern (normal XP
0d80: 61 74 68 20 65 78 70 72 20 28 76 69 61 20 73 65 ath expr (via se
0d90: 6c 65 63 74 4e 6f 64 65 73 29 20 77 61 73 6e 27 lectNodes) wasn'
0da0: 74 0a 20 20 20 20 20 20 20 20 20 20 69 6e 66 65 t. infe
0db0: 63 74 65 64 29 2e 20 43 68 65 63 6b 65 64 20 74 cted). Checked t
0dc0: 68 65 20 63 6f 64 65 20 66 6f 72 20 73 69 6d 69 he code for simi
0dd0: 6c 61 72 20 73 70 6f 74 73 20 61 6e 64 20 66 69 lar spots and fi
0de0: 78 65 64 20 61 0a 20 20 20 20 20 20 20 20 20 20 xed a.
0df0: 66 65 77 2e 20 52 65 70 6c 61 63 65 64 20 61 20 few. Replaced a
0e00: 66 70 72 69 6e 74 66 28 73 74 64 65 72 72 2c 20 fprintf(stderr,
0e10: 2e 2e 29 20 63 61 6c 6c 65 64 20 69 6e 20 61 6e ..) called in an
0e20: 0a 20 20 20 20 20 20 20 20 20 20 27 69 6d 70 6f . 'impo
0e30: 73 73 69 62 6c 65 27 20 63 61 73 65 20 77 69 74 ssible' case wit
0e40: 68 20 61 20 6d 6f 72 65 20 61 70 70 72 6f 70 72 h a more appropr
0e50: 69 61 74 65 20 64 6f 6d 50 61 6e 69 63 20 63 61 iate domPanic ca
0e60: 6c 6c 2e 0a 0a 32 30 30 37 2d 30 38 2d 31 38 20 ll...2007-08-18
0e70: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
0e80: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
0e90: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
0ea0: 63 2f 64 6f 6d 78 73 6c 74 2e 63 3a 20 43 6f 64 c/domxslt.c: Cod
0eb0: 65 20 63 6c 65 61 6e 75 70 20 69 6e 20 64 6f 63 e cleanup in doc
0ec0: 75 6d 65 6e 74 28 29 0a 20 20 20 20 20 20 20 20 ument().
0ed0: 20 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e implementation
0ee0: 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e ... * gen
0ef0: 65 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 eric/dom.c.
0f00: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
0f10: 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e .h. * gen
0f20: 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 0a 20 eric/domxslt.c.
0f30: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
0f40: 2f 74 63 6c 64 6f 6d 2e 63 3a 20 4d 6f 72 65 20 /tcldom.c: More
0f50: 63 6f 6e 73 74 69 66 69 63 61 74 69 6f 6e 20 61 constification a
0f60: 6e 64 20 63 6c 65 61 6e 20 75 70 2e 0a 0a 20 20 nd clean up...
0f70: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
0f80: 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 dom.c. *
0f90: 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 0a 20 20 generic/dom.h.
0fa0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
0fb0: 64 6f 6d 61 6c 6c 6f 63 2e 63 0a 20 20 20 20 20 domalloc.c.
0fc0: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
0fd0: 78 70 61 74 68 2e 63 0a 20 20 20 20 20 20 20 20 xpath.c.
0fe0: 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 * generic/domxpa
0ff0: 74 68 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 th.h. * g
1000: 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 eneric/domxslt.c
1010: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
1020: 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 ic/tcldom.c.
1030: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 78 6d * generic/xm
1040: 6c 73 69 6d 70 6c 65 2e 63 3a 20 42 69 67 20 63 lsimple.c: Big c
1050: 6f 6e 73 74 20 69 66 69 63 61 74 69 6f 6e 2e 0a onst ification..
1060: 0a 32 30 30 37 2d 30 38 2d 31 35 20 20 52 6f 6c .2007-08-15 Rol
1070: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
1080: 6e 74 73 6d 61 6e 2e 64 65 3e 0a 20 20 20 20 20 ntsman.de>.
1090: 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 63 6f . * co
10a0: 6e 66 69 67 75 72 65 0a 20 20 20 20 20 20 20 20 nfigure.
10b0: 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 0a 20 * configure.in.
10c0: 20 20 20 20 20 20 20 2a 20 75 6e 69 78 2f 43 4f * unix/CO
10d0: 4e 46 49 47 0a 20 20 20 20 20 20 20 20 2a 20 74 NFIG. * t
10e0: 64 6f 6d 2e 6d 34 3a 20 4e 65 77 20 64 65 66 61 dom.m4: New defa
10f0: 75 6c 74 20 62 75 69 6c 64 3a 20 2d 2d 64 69 73 ult build: --dis
1100: 61 62 6c 65 2d 74 64 6f 6d 61 6c 6c 6f 63 2e 0a able-tdomalloc..
1110: 0a 20 20 20 20 20 20 20 20 2a 20 43 48 41 4e 47 . * CHANG
1120: 45 53 3a 20 55 70 64 61 74 65 64 2e 0a 0a 20 20 ES: Updated...
1130: 20 20 20 20 20 20 2a 20 52 45 41 44 4d 45 0a 20 * README.
1140: 20 20 20 20 20 20 20 2a 20 52 45 41 44 4d 45 2e * README.
1150: 41 4f 4c 0a 20 20 20 20 20 20 20 20 2a 20 63 6f AOL. * co
1160: 6e 66 69 67 75 72 65 0a 20 20 20 20 20 20 20 20 nfigure.
1170: 2a 20 63 6f 6e 66 69 67 75 72 65 2d 74 63 6c 38 * configure-tcl8
1180: 2e 30 2e 35 0a 20 20 20 20 20 20 20 20 2a 20 63 .0.5. * c
1190: 6f 6e 66 69 67 75 72 65 2e 69 6e 0a 20 20 20 20 onfigure.in.
11a0: 20 20 20 20 2a 20 74 65 73 74 73 2f 6c 6f 61 64 * tests/load
11b0: 74 64 6f 6d 2e 74 63 6c 0a 20 20 20 20 20 20 20 tdom.tcl.
11c0: 20 2a 20 6d 61 63 2f 50 72 65 66 69 78 2f 74 44 * mac/Prefix/tD
11d0: 4f 4d 50 72 65 66 69 78 2e 68 0a 20 20 20 20 20 OMPrefix.h.
11e0: 20 20 20 2a 20 6d 61 63 2f 50 72 65 66 69 78 2f * mac/Prefix/
11f0: 74 44 4f 4d 50 72 65 66 69 78 5f 4f 53 58 2e 68 tDOMPrefix_OSX.h
1200: 0a 20 20 20 20 20 20 20 20 2a 20 77 69 6e 2f 6d . * win/m
1210: 61 6b 65 66 69 6c 65 2e 76 63 0a 20 20 20 20 20 akefile.vc.
1220: 20 20 20 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c * win/makefil
1230: 65 38 30 35 2e 76 63 3a 0a 20 20 20 20 20 20 20 e805.vc:.
1240: 20 2a 20 77 69 6e 2f 70 6b 67 49 6e 64 65 78 2e * win/pkgIndex.
1250: 74 63 6c 3a 20 42 75 6d 70 65 64 20 76 65 72 73 tcl: Bumped vers
1260: 69 6f 6e 20 74 6f 20 30 2e 38 2e 33 2e 0a 0a 2d ion to 0.8.3...-
1270: 2d 2d 20 52 65 6c 65 61 73 65 20 30 2e 38 2e 32 -- Release 0.8.2
1280: 2c 20 31 34 2e 20 41 75 67 2e 20 32 30 30 37 20 , 14. Aug. 2007
1290: 2d 2d 2d 0a 0a 32 30 30 37 2d 30 38 2d 31 33 20 ---..2007-08-13
12a0: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
12b0: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
12c0: 20 20 20 20 20 20 20 20 2a 20 77 69 6e 2f 70 6b * win/pk
12d0: 67 49 6e 64 65 78 2e 74 63 6c 3a 20 42 75 6d 70 gIndex.tcl: Bump
12e0: 65 64 20 76 65 72 73 69 6f 6e 20 74 6f 20 30 2e ed version to 0.
12f0: 38 2e 32 0a 0a 32 30 30 37 2d 30 38 2d 31 32 20 8.2..2007-08-12
1300: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
1310: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
1320: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
1330: 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 43 6f 72 72 c/tcldom.c: Corr
1340: 65 63 74 65 64 20 61 20 74 79 70 6f 20 69 6e 20 ected a typo in
1350: 74 68 65 20 64 6f 63 20 63 6d 64 20 75 73 61 67 the doc cmd usag
1360: 65 0a 20 20 20 20 20 20 20 20 20 20 6d 65 73 73 e. mess
1370: 61 67 65 2e 20 55 70 64 61 74 65 64 20 74 68 65 age. Updated the
1380: 20 61 73 58 4d 4c 20 72 65 6c 61 74 65 64 20 70 asXML related p
1390: 61 72 74 73 20 6f 66 20 74 68 65 20 64 6f 63 20 arts of the doc
13a0: 61 6e 64 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 and node.
13b0: 20 20 20 63 6d 64 20 75 73 61 67 65 20 6d 73 67 cmd usage msg
13c0: 2e 20 43 6f 72 72 65 63 74 65 64 20 61 20 74 79 . Corrected a ty
13d0: 70 6f 20 69 6e 20 74 68 65 20 65 72 72 6f 72 20 po in the error
13e0: 6d 73 67 20 69 6e 20 63 61 73 65 20 6f 66 0a 20 msg in case of.
13f0: 20 20 20 20 20 20 20 20 20 77 72 6f 6e 67 20 23 wrong #
1400: 20 6f 66 20 61 72 67 73 20 74 6f 20 61 73 58 4d of args to asXM
1410: 4c 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 L... * ge
1420: 6e 65 72 69 63 2f 74 64 6f 6d 53 74 75 62 4c 69 neric/tdomStubLi
1430: 62 2e 63 3a 20 45 6e 73 75 72 65 20 74 68 61 74 b.c: Ensure that
1440: 20 74 68 65 20 6e 65 77 20 63 6f 64 65 20 62 75 the new code bu
1450: 69 6c 64 20 61 6c 73 6f 0a 20 20 20 20 20 20 20 ild also.
1460: 20 20 20 77 69 74 68 20 74 63 6c 38 2e 30 2e 78 with tcl8.0.x
1470: 20 28 61 6c 74 68 6f 75 67 68 20 74 68 61 74 20 (although that
1480: 6f 6c 64 20 76 65 72 73 69 6f 6e 73 20 64 6f 65 old versions doe
1490: 73 6e 27 74 20 68 61 76 65 0a 20 20 20 20 20 20 sn't have.
14a0: 20 20 20 20 65 78 74 65 6e 73 69 6f 6e 20 73 74 extension st
14b0: 75 62 73 20 74 61 62 6c 65 73 2e 29 0a 0a 20 20 ubs tables.)..
14c0: 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f * extensio
14d0: 6e 73 2f 74 6e 63 2f 63 6f 6e 66 69 67 75 72 65 ns/tnc/configure
14e0: 0a 20 20 20 20 20 20 20 20 2a 20 65 78 74 65 6e . * exten
14f0: 73 69 6f 6e 73 2f 74 6e 63 2f 63 6f 6e 66 69 67 sions/tnc/config
1500: 75 72 65 2e 69 6e 0a 20 20 20 20 20 20 20 20 2a ure.in. *
1510: 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f extensions/tnc/
1520: 74 6e 63 2e 63 3a 20 54 77 65 61 6b 73 20 74 6f tnc.c: Tweaks to
1530: 20 62 75 69 6c 64 20 74 6e 63 20 77 69 74 68 0a build tnc with.
1540: 20 20 20 20 20 20 20 20 20 20 77 69 6e 2f 6d 73 win/ms
1550: 79 73 2f 6d 69 6e 67 77 2e 0a 0a 20 20 20 20 20 ys/mingw...
1560: 20 20 20 2a 20 74 64 6f 6d 2e 6d 34 3a 20 52 65 * tdom.m4: Re
1570: 6d 6f 76 65 64 20 69 72 72 69 74 61 74 69 6e 67 moved irritating
1580: 20 62 72 65 61 6b 73 20 69 6e 20 54 44 4f 4d 5f breaks in TDOM_
1590: 50 41 54 48 5f 43 4f 4e 46 49 47 2e 0a 0a 20 20 PATH_CONFIG...
15a0: 20 20 20 20 20 20 2a 20 75 6e 69 78 2f 74 63 6c * unix/tcl
15b0: 41 70 70 49 6e 69 74 2e 63 3a 20 45 64 69 74 6f AppInit.c: Edito
15c0: 72 69 61 6c 20 66 69 78 2e 0a 0a 20 20 20 20 20 rial fix...
15d0: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 64 6f * generic/tdo
15e0: 6d 53 74 75 62 4c 69 62 2e 63 3a 20 52 65 77 72 mStubLib.c: Rewr
15f0: 69 74 74 65 6e 20 66 72 6f 6d 20 74 68 65 20 73 itten from the s
1600: 63 72 61 74 63 68 2e 0a 0a 32 30 30 37 2d 30 38 cratch...2007-08
1610: 2d 31 31 20 20 52 6f 6c 66 20 41 64 65 20 20 3c -11 Rolf Ade <
1620: 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 rolf@pointsman.d
1630: 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 e>.. * ge
1640: 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 3a neric/domxslt.c:
1650: 20 43 6f 64 65 20 63 6f 73 6d 65 74 69 63 2e 0a Code cosmetic..
1660: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
1670: 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 55 70 64 ic/tcldom.c: Upd
1680: 61 74 65 64 20 65 72 72 6f 72 20 6d 73 67 20 69 ated error msg i
1690: 6e 20 63 61 73 65 20 6f 66 20 77 72 6f 6e 67 20 n case of wrong
16a0: 23 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 61 # of. a
16b0: 72 67 73 20 74 6f 20 74 68 65 20 61 73 58 4d 4c rgs to the asXML
16c0: 20 6d 65 74 68 6f 64 20 74 6f 20 74 68 65 20 6e method to the n
16d0: 65 77 20 61 64 64 65 64 20 6f 70 74 69 6f 6e 0a ew added option.
16e0: 20 20 20 20 20 20 20 20 20 20 2d 65 73 63 61 70 -escap
16f0: 65 41 6c 6c 51 75 6f 74 2e 0a 0a 20 20 20 20 20 eAllQuot...
1700: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 64 6f * generic/tdo
1710: 6d 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 m.h. * ge
1720: 6e 65 72 69 63 2f 74 63 6c 65 78 70 61 74 2e 68 neric/tclexpat.h
1730: 3a 20 46 69 78 65 64 20 62 75 69 6c 64 20 70 72 : Fixed build pr
1740: 6f 62 6c 65 6d 20 77 69 74 68 20 74 68 65 20 62 oblem with the b
1750: 75 69 6c 64 0a 20 20 20 20 20 20 20 20 20 20 65 uild. e
1760: 6e 76 69 72 6f 6e 6d 65 6e 74 20 77 69 6e 2f 6d nvironment win/m
1770: 73 79 73 2f 6d 69 6e 67 77 2e 0a 20 20 20 20 20 sys/mingw..
1780: 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 . * ge
1790: 6e 65 72 69 63 2f 61 6f 6c 73 74 75 62 2e 63 70 neric/aolstub.cp
17a0: 70 3a 20 46 69 78 65 64 20 65 64 69 74 6f 72 69 p: Fixed editori
17b0: 61 6c 20 6d 69 73 74 61 6b 65 20 69 6e 20 63 6f al mistake in co
17c0: 6d 6d 65 6e 74 2e 0a 0a 20 20 20 20 20 20 20 20 mment...
17d0: 2a 20 75 6e 69 78 2f 74 63 6c 41 70 70 49 6e 69 * unix/tclAppIni
17e0: 74 2e 63 3a 20 52 65 77 72 69 74 74 65 6e 20 66 t.c: Rewritten f
17f0: 72 6f 6d 20 74 68 65 20 73 63 72 61 74 63 68 2e rom the scratch.
1800: 20 4e 65 77 20 66 65 61 74 75 72 65 3a 0a 20 20 New feature:.
1810: 20 20 20 20 20 20 20 20 74 63 6c 64 6f 6d 73 68 tcldomsh
1820: 20 77 69 6c 6c 20 72 65 61 64 20 7e 2f 2e 74 63 will read ~/.tc
1830: 6c 64 6f 6d 73 68 72 63 20 61 74 20 73 74 61 72 ldomshrc at star
1840: 74 20 75 70 2e 0a 0a 32 30 30 37 2d 30 38 2d 30 t up...2007-08-0
1850: 37 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 7 Rolf Ade <ro
1860: 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e lf@pointsman.de>
1870: 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 .. * gene
1880: 72 69 63 2f 64 6f 6d 2e 68 3a 20 41 6e 6f 74 68 ric/dom.h: Anoth
1890: 65 72 20 63 68 61 6e 67 65 20 6e 65 65 64 65 64 er change needed
18a0: 2c 20 74 6f 20 63 6f 6d 70 6c 65 74 65 20 74 68 , to complete th
18b0: 65 20 6e 65 77 0a 20 20 20 20 20 20 20 20 20 20 e new.
18c0: 74 79 70 65 20 6f 66 20 64 6f 6d 44 6f 63 2d 3e type of domDoc->
18d0: 64 6f 63 75 6d 65 6e 74 4e 75 6d 62 65 72 2e 0a documentNumber..
18e0: 0a 32 30 30 37 2d 30 38 2d 30 37 20 20 52 6f 6c .2007-08-07 Rol
18f0: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
1900: 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 ntsman.de>..
1910: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
1920: 6d 2e 63 3a 20 54 79 70 65 20 67 79 6d 6e 61 73 m.c: Type gymnas
1930: 74 69 63 20 66 6f 72 20 36 34 20 62 69 74 20 73 tic for 64 bit s
1940: 79 73 74 65 6d 73 2e 0a 0a 20 20 20 20 20 20 20 ystems...
1950: 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 * generic/dom.c
1960: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
1970: 69 63 2f 64 6f 6d 2e 68 0a 20 20 20 20 20 20 20 ic/dom.h.
1980: 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f * generic/tcldo
1990: 6d 2e 63 3a 20 43 68 61 6e 67 65 64 20 64 6f 6d m.c: Changed dom
19a0: 44 6f 63 2d 3e 64 6f 63 75 6d 65 6e 74 4e 75 6d Doc->documentNum
19b0: 62 65 72 2c 0a 20 20 20 20 20 20 20 20 20 20 64 ber,. d
19c0: 6f 6d 55 6e 69 71 75 65 4e 6f 64 65 4e 72 20 61 omUniqueNodeNr a
19d0: 6e 64 20 64 6f 6d 55 6e 69 71 75 65 44 6f 63 4e nd domUniqueDocN
19e0: 72 20 74 6f 20 75 6e 73 69 67 6e 65 64 20 6c 6f r to unsigned lo
19f0: 6e 67 2c 20 74 6f 0a 20 20 20 20 20 20 20 20 20 ng, to.
1a00: 20 70 72 65 76 65 6e 74 20 68 61 72 64 20 74 6f prevent hard to
1a10: 20 64 65 62 75 67 20 2f 20 72 65 70 72 6f 64 75 debug / reprodu
1a20: 63 65 20 70 72 6f 62 6c 65 6d 73 20 6f 6e 20 36 ce problems on 6
1a30: 34 20 62 69 74 0a 20 20 20 20 20 20 20 20 20 20 4 bit.
1a40: 73 79 73 74 65 6d 73 2e 0a 0a 20 20 20 20 20 20 systems...
1a50: 20 20 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 * win/makefile
1a60: 2e 76 63 3a 20 44 6f 6e 27 74 20 75 73 65 20 70 .vc: Don't use p
1a70: 72 65 63 6f 6d 70 69 6c 65 64 20 68 65 61 64 65 recompiled heade
1a80: 72 73 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 65 rs... * e
1a90: 78 74 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f 6d 61 xtensions/tnc/ma
1aa0: 6b 65 66 69 6c 65 2e 76 63 3a 20 42 72 6f 75 67 kefile.vc: Broug
1ab0: 68 74 20 69 6e 20 73 79 6e 63 20 77 69 74 68 20 ht in sync with
1ac0: 74 64 6f 6d 20 63 6f 72 65 2e 0a 0a 20 20 20 20 tdom core...
1ad0: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 * generic/tc
1ae0: 6c 65 78 70 61 74 2e 63 3a 20 43 6f 6d 70 69 6c lexpat.c: Compil
1af0: 65 72 20 70 61 63 69 66 79 69 6e 67 2e 0a 0a 20 er pacifying...
1b00: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
1b10: 2f 74 64 6f 6d 44 65 63 6c 73 2e 68 3a 20 46 69 /tdomDecls.h: Fi
1b20: 78 65 64 20 61 20 77 72 6f 6e 67 20 66 75 6e 63 xed a wrong func
1b30: 74 69 6f 6e 20 73 69 67 6e 61 74 75 72 65 2e 0a tion signature..
1b40: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
1b50: 69 63 2f 74 64 6f 6d 53 74 75 62 4c 69 62 2e 63 ic/tdomStubLib.c
1b60: 3a 20 4d 61 64 65 20 74 68 65 20 63 6f 6d 70 69 : Made the compi
1b70: 6c 65 72 20 68 61 70 70 79 2e 0a 0a 20 20 20 20 ler happy...
1b80: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
1b90: 6d 2e 63 3a 20 43 6f 72 72 65 63 74 65 64 20 61 m.c: Corrected a
1ba0: 6e 20 65 72 72 6f 72 20 6d 73 67 2e 0a 0a 20 20 n error msg...
1bb0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
1bc0: 74 63 6c 65 78 70 61 74 2e 63 3a 20 53 74 69 6c tclexpat.c: Stil
1bd0: 6c 20 70 72 6f 62 6c 65 6d 73 20 6f 6e 20 36 34 l problems on 64
1be0: 62 69 74 20 77 2f 0a 20 20 20 20 20 20 20 20 20 bit w/.
1bf0: 20 2d 65 78 74 65 72 6e 61 6c 65 6e 74 69 74 79 -externalentity
1c00: 63 6f 6d 6d 61 6e 64 2e 20 54 68 69 73 20 68 65 command. This he
1c10: 61 6c 74 68 20 74 68 65 20 62 69 67 67 65 73 74 alth the biggest
1c20: 20 70 61 69 6e 2e 0a 0a 32 30 30 37 2d 30 38 2d pain...2007-08-
1c30: 30 35 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 05 Rolf Ade <r
1c40: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
1c50: 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 77 69 6e >.. * win
1c60: 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 0a 20 20 20 /makefile.vc.
1c70: 20 20 20 20 20 2a 20 77 69 6e 2f 6d 61 6b 65 66 * win/makef
1c80: 69 6c 65 38 30 35 2e 76 63 3a 20 42 75 6d 70 65 ile805.vc: Bumpe
1c90: 64 20 76 65 72 73 69 6f 6e 20 74 6f 20 30 2e 38 d version to 0.8
1ca0: 2e 32 2e 20 4d 69 73 73 65 64 20 74 68 61 74 20 .2. Missed that
1cb0: 69 6e 0a 20 20 20 20 20 20 20 20 20 20 30 2e 38 in. 0.8
1cc0: 2e 32 72 63 31 0a 0a 20 20 20 20 20 20 20 20 2a .2rc1.. *
1cd0: 20 52 45 41 44 4d 45 0a 20 20 20 20 20 20 20 20 README.
1ce0: 2a 20 52 45 41 44 4d 45 2e 41 4f 4c 0a 20 20 20 * README.AOL.
1cf0: 20 20 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 * configure
1d00: 0a 20 20 20 20 20 20 20 20 2a 20 63 6f 6e 66 69 . * confi
1d10: 67 75 72 65 2d 74 63 6c 38 2e 30 2e 35 0a 20 20 gure-tcl8.0.5.
1d20: 20 20 20 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 * configur
1d30: 65 2e 69 6e 0a 20 20 20 20 20 20 20 20 2a 20 74 e.in. * t
1d40: 65 73 74 73 2f 6c 6f 61 64 74 64 6f 6d 2e 74 63 ests/loadtdom.tc
1d50: 6c 0a 20 20 20 20 20 20 20 20 2a 20 6d 61 63 2f l. * mac/
1d60: 50 72 65 66 69 78 2f 74 44 4f 4d 50 72 65 66 69 Prefix/tDOMPrefi
1d70: 78 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 6d 61 x.h. * ma
1d80: 63 2f 50 72 65 66 69 78 2f 74 44 4f 4d 50 72 65 c/Prefix/tDOMPre
1d90: 66 69 78 5f 4f 53 58 2e 68 3a 20 42 75 6d 70 65 fix_OSX.h: Bumpe
1da0: 64 20 76 65 72 73 69 6f 6e 20 74 6f 20 30 2e 38 d version to 0.8
1db0: 2e 32 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 .2... * g
1dc0: 65 6e 65 72 69 63 2f 64 6f 6d 68 74 6d 6c 2e 63 eneric/domhtml.c
1dd0: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
1de0: 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 0a 20 20 ic/domxpath.c.
1df0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
1e00: 64 6f 6d 78 73 6c 74 2e 63 0a 20 20 20 20 20 20 domxslt.c.
1e10: 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 * generic/tcld
1e20: 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 om.c. * g
1e30: 65 6e 65 72 69 63 2f 78 6d 6c 73 69 6d 70 6c 65 eneric/xmlsimple
1e40: 2e 63 3a 20 43 61 73 74 65 64 20 61 72 67 20 6f .c: Casted arg o
1e50: 66 20 63 74 79 70 65 2e 68 20 69 73 2a 0a 20 20 f ctype.h is*.
1e60: 20 20 20 20 20 20 20 20 6d 61 63 72 6f 73 2f 66 macros/f
1e70: 75 6e 63 74 69 6f 6e 20 63 61 6c 6c 65 73 20 74 unction calles t
1e80: 6f 20 75 6e 73 69 67 6e 65 64 20 63 68 61 72 20 o unsigned char
1e90: 74 6f 20 72 65 64 75 63 65 20 63 6f 6d 70 69 6c to reduce compil
1ea0: 65 72 0a 20 20 20 20 20 20 20 20 20 20 77 61 72 er. war
1eb0: 6e 69 6e 67 20 6e 6f 69 73 65 2e 0a 0a 20 20 20 ning noise...
1ec0: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 * generic/t
1ed0: 63 6c 64 6f 6d 2e 63 3a 0a 20 20 20 20 20 20 20 cldom.c:.
1ee0: 20 2a 20 74 65 73 74 73 2f 64 6f 6d 44 6f 63 2e * tests/domDoc.
1ef0: 74 65 73 74 3a 20 49 6e 20 63 61 73 65 20 6f 66 test: In case of
1f00: 20 61 73 58 4d 4c 20 77 69 74 68 20 69 6e 64 65 asXML with inde
1f10: 6e 74 61 74 69 6f 6e 3a 20 69 6e 64 65 6e 74 0a ntation: indent.
1f20: 20 20 20 20 20 20 20 20 20 20 58 4d 4c 20 63 6f XML co
1f30: 6d 6d 65 6e 74 73 20 61 73 20 77 65 6c 6c 2e 0a mments as well..
1f40: 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f 64 . * doc/d
1f50: 6f 6d 4e 6f 64 65 2e 2a 0a 20 20 20 20 20 20 20 omNode.*.
1f60: 20 2a 20 64 6f 63 2f 64 6f 6d 44 6f 63 2e 2a 3a * doc/domDoc.*:
1f70: 20 41 64 64 65 64 20 64 6f 63 75 6d 65 6e 74 61 Added documenta
1f80: 74 69 6f 6e 20 74 6f 20 74 68 65 20 6e 65 77 20 tion to the new
1f90: 76 61 72 69 61 62 6c 65 0a 20 20 20 20 20 20 20 variable.
1fa0: 20 20 20 72 65 66 65 72 65 6e 63 65 73 20 66 65 references fe
1fb0: 61 74 75 72 65 20 6f 66 20 74 68 65 20 73 65 6c ature of the sel
1fc0: 65 63 74 4e 6f 64 65 73 20 6d 65 74 68 6f 64 2c ectNodes method,
1fd0: 20 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 20 for the.
1fe0: 20 20 20 64 65 6c 65 74 65 58 50 61 74 68 43 61 deleteXPathCa
1ff0: 63 68 65 20 6d 65 74 68 6f 64 20 61 6e 64 20 74 che method and t
2000: 68 65 20 2d 65 73 63 61 70 65 41 6c 6c 51 75 6f he -escapeAllQuo
2010: 74 20 6f 70 74 69 6f 6e 20 6f 66 20 74 68 65 0a t option of the.
2020: 20 20 20 20 20 20 20 20 20 20 61 73 58 4d 4c 20 asXML
2030: 6d 65 74 68 6f 64 2e 0a 0a 20 20 20 20 20 20 20 method...
2040: 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f * generic/tcldo
2050: 6d 2e 63 3a 20 46 69 78 65 64 20 61 20 6d 65 6d m.c: Fixed a mem
2060: 20 6c 65 61 6b 20 69 6e 74 72 6f 64 75 63 65 64 leak introduced
2070: 20 62 79 0a 20 20 20 20 20 20 20 20 20 20 64 65 by. de
2080: 6c 65 74 65 58 50 61 74 68 43 61 63 68 65 2e 20 leteXPathCache.
2090: 41 64 64 65 64 20 6f 70 74 69 6f 6e 20 2d 65 73 Added option -es
20a0: 63 61 70 65 41 6c 6c 51 75 6f 74 20 74 6f 20 74 capeAllQuot to t
20b0: 68 65 20 61 73 58 4d 4c 0a 20 20 20 20 20 20 20 he asXML.
20c0: 20 20 20 6d 65 74 68 6f 64 2e 0a 0a 20 20 20 20 method...
20d0: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 * generic/tc
20e0: 6c 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a ldom.c. *
20f0: 20 74 65 73 74 73 2f 64 6f 6d 44 6f 63 2e 74 65 tests/domDoc.te
2100: 73 74 3a 20 41 64 64 65 64 20 6d 65 74 68 6f 64 st: Added method
2110: 20 64 65 6c 65 74 65 58 50 61 74 68 43 61 63 68 deleteXPathCach
2120: 65 3a 20 62 61 73 69 63 0a 20 20 20 20 20 20 20 e: basic.
2130: 20 20 20 63 6f 6e 74 72 6f 6c 20 6f 76 65 72 20 control over
2140: 74 68 65 20 78 70 61 74 68 20 65 78 70 72 65 73 the xpath expres
2150: 73 69 6f 6e 20 63 61 63 68 65 2e 0a 20 20 20 20 sion cache..
2160: 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 . * g
2170: 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a eneric/tcldom.c.
2180: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
2190: 63 2f 64 6f 6d 78 70 61 74 68 2e 63 0a 20 20 20 c/domxpath.c.
21a0: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
21b0: 6f 6d 78 70 61 74 68 2e 68 0a 20 20 20 20 20 20 omxpath.h.
21c0: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 * generic/domx
21d0: 73 6c 74 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 slt.c. *
21e0: 74 65 73 74 73 2f 78 70 61 74 68 2e 74 65 73 74 tests/xpath.test
21f0: 3a 20 56 61 72 69 61 62 6c 65 20 72 65 66 65 72 : Variable refer
2200: 65 6e 63 65 73 20 28 61 74 20 74 68 65 20 70 6c ences (at the pl
2210: 61 63 65 73 20 61 6c 6c 6f 77 65 64 0a 20 20 20 aces allowed.
2220: 20 20 20 20 20 20 20 62 79 20 74 68 65 20 58 50 by the XP
2230: 61 74 68 20 73 79 6e 74 61 78 29 20 77 69 6c 6c ath syntax) will
2240: 20 6e 6f 77 20 62 65 20 72 65 73 6f 76 65 64 20 now be resoved
2250: 61 73 20 54 63 6c 20 76 61 72 69 61 62 6c 65 73 as Tcl variables
2260: 2c 0a 20 20 20 20 20 20 20 20 20 20 72 65 6c 61 ,. rela
2270: 74 69 76 65 20 74 6f 20 74 68 65 20 73 63 6f 70 tive to the scop
2280: 65 20 6f 66 20 74 68 65 20 65 78 70 72 65 73 73 e of the express
2290: 69 6f 6e 2e 20 49 67 6e 6f 72 69 6e 67 20 74 68 ion. Ignoring th
22a0: 65 20 58 50 61 74 68 0a 20 20 20 20 20 20 20 20 e XPath.
22b0: 20 20 73 79 6e 74 61 78 20 72 75 6c 65 73 20 61 syntax rules a
22c0: 74 20 74 68 69 73 20 70 6f 69 6e 74 2c 20 61 6e t this point, an
22d0: 79 20 76 61 6c 69 64 20 54 63 6c 20 76 61 72 69 y valid Tcl vari
22e0: 61 62 6c 65 20 6e 61 6d 65 20 77 69 6c 6c 0a 20 able name will.
22f0: 20 20 20 20 20 20 20 20 20 77 6f 72 6b 2e 0a 0a work...
2300: 32 30 30 37 2d 30 38 2d 30 33 20 20 52 6f 6c 66 2007-08-03 Rolf
2310: 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e Ade <rolf@poin
2320: 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 tsman.de>..
2330: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c * generic/tcl
2340: 64 6f 6d 2e 63 3a 20 41 64 64 65 64 20 64 6f 63 dom.c: Added doc
2350: 20 6d 65 74 68 6f 64 20 72 65 6e 61 6d 65 4e 6f method renameNo
2360: 64 65 2c 20 77 69 74 68 6f 75 74 20 58 4d 4c 0a de, without XML.
2370: 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 73 70 namesp
2380: 61 63 65 20 61 77 61 72 65 6e 65 73 73 2e 20 54 ace awareness. T
2390: 68 65 72 65 20 77 69 6c 6c 20 62 65 20 61 20 66 here will be a f
23a0: 69 6e 61 6c 20 28 58 4d 4c 20 6e 61 6d 65 73 70 inal (XML namesp
23b0: 61 63 65 0a 20 20 20 20 20 20 20 20 20 20 61 77 ace. aw
23c0: 61 72 65 29 20 6d 65 74 68 6f 64 20 69 6d 70 6c are) method impl
23d0: 65 6d 65 6e 74 61 74 69 6f 6e 20 61 66 74 65 72 ementation after
23e0: 20 30 2e 38 2e 32 2c 20 74 68 65 72 65 66 6f 72 0.8.2, therefor
23f0: 65 2c 20 74 68 69 73 0a 20 20 20 20 20 20 20 20 e, this.
2400: 20 20 77 69 6c 6c 20 73 6c 69 70 20 69 6e 20 61 will slip in a
2410: 73 20 68 69 64 64 65 6e 20 6f 72 20 27 75 6e 73 s hidden or 'uns
2420: 75 70 70 6f 72 74 65 64 27 20 61 6e 64 20 61 74 upported' and at
2430: 20 6c 65 61 73 74 0a 20 20 20 20 20 20 20 20 20 least.
2440: 20 75 6e 64 6f 63 75 6d 65 6e 74 65 64 20 6d 65 undocumented me
2450: 74 68 6f 64 2e 20 0a 0a 32 30 30 37 2d 30 37 2d thod. ..2007-07-
2460: 33 31 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 31 Rolf Ade <r
2470: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
2480: 3e 0a 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 >. . * ge
2490: 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 neric/domxpath.c
24a0: 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 . * tests
24b0: 2f 78 70 61 74 68 2e 74 65 73 74 3a 20 42 75 67 /xpath.test: Bug
24c0: 20 66 69 78 3a 20 66 6c 6f 61 74 73 20 69 6e 20 fix: floats in
24d0: 78 70 61 74 68 20 65 78 70 72 65 73 73 69 6f 6e xpath expression
24e0: 73 0a 20 20 20 20 20 20 20 20 20 20 73 74 61 72 s. star
24f0: 74 69 6e 67 20 77 69 74 68 20 2e 20 63 6f 75 6c ting with . coul
2500: 64 20 68 61 76 65 20 61 6e 20 61 64 64 69 74 69 d have an additi
2510: 6f 6e 61 6c 20 28 65 72 72 6f 6e 65 6f 75 73 29 onal (erroneous)
2520: 20 64 6f 74 20 69 6e 0a 20 20 20 20 20 20 20 20 dot in.
2530: 20 20 69 74 20 77 69 74 68 6f 75 74 20 64 65 74 it without det
2540: 65 63 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 20 20 ection...
2550: 20 2a 20 65 78 70 61 74 2f 2a 0a 20 20 20 20 20 * expat/*.
2560: 20 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f * extensions/
2570: 74 6e 63 2f 74 6e 63 2e 63 0a 20 20 20 20 20 20 tnc/tnc.c.
2580: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e * generic/dom.
2590: 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 c. * gene
25a0: 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 0a 20 20 ric/domxslt.c.
25b0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
25c0: 74 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 tcldom.c.
25d0: 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 65 78 * generic/tclex
25e0: 70 61 74 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 pat.c. *
25f0: 67 65 6e 65 72 69 63 2f 74 64 6f 6d 2e 64 65 63 generic/tdom.dec
2600: 6c 73 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e ls. * gen
2610: 65 72 69 63 2f 74 64 6f 6d 2e 68 0a 20 20 20 20 eric/tdom.h.
2620: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 64 * generic/td
2630: 6f 6d 44 65 63 6c 73 2e 68 3a 20 55 70 64 61 74 omDecls.h: Updat
2640: 65 20 74 6f 20 65 78 70 61 74 20 32 2e 30 2e 31 e to expat 2.0.1
2650: 3b 20 6d 69 6e 6f 72 20 62 75 69 6c 64 0a 20 20 ; minor build.
2660: 20 20 20 20 20 20 20 20 63 6f 73 6d 65 74 69 63 cosmetic
2670: 2e 0a 0a 32 30 30 37 2d 30 37 2d 32 37 20 20 52 ...2007-07-27 R
2680: 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 olf Ade <rolf@p
2690: 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 ointsman.de>..
26a0: 20 20 20 20 20 20 2a 20 74 63 6c 63 6f 6e 66 69 * tclconfi
26b0: 67 2f 74 63 6c 2e 6d 34 0a 20 20 20 20 20 20 20 g/tcl.m4.
26c0: 20 2a 20 74 63 6c 63 6f 6e 66 69 67 2f 52 45 41 * tclconfig/REA
26d0: 44 4d 45 2e 74 78 74 0a 20 20 20 20 20 20 20 20 DME.txt.
26e0: 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 0a 20 * configure.in.
26f0: 20 20 20 20 20 20 20 2a 20 63 6f 6e 66 69 67 75 * configu
2700: 72 65 0a 20 20 20 20 20 20 20 20 2a 20 65 78 74 re. * ext
2710: 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f 63 6f 6e 66 ensions/tnc/conf
2720: 69 67 75 72 65 2e 69 6e 0a 20 20 20 20 20 20 20 igure.in.
2730: 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e * extensions/tn
2740: 63 2f 63 6f 6e 66 69 67 75 72 65 3a 20 55 70 64 c/configure: Upd
2750: 61 74 65 64 20 74 6f 20 54 45 41 20 33 2e 36 2e ated to TEA 3.6.
2760: 20 52 65 62 75 69 6c 64 20 63 6f 6e 66 69 67 75 Rebuild configu
2770: 72 65 2e 0a 0a 32 30 30 37 2d 30 37 2d 32 35 20 re...2007-07-25
2780: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
2790: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
27a0: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
27b0: 63 2f 64 6f 6d 2e 63 3a 20 46 69 78 20 66 6f 72 c/dom.c: Fix for
27c0: 20 74 68 65 20 2d 65 78 74 65 72 6e 61 6c 65 6e the -externalen
27d0: 74 69 74 79 63 6f 6d 6d 61 6e 64 20 70 72 6f 62 titycommand prob
27e0: 6c 65 6d 73 0a 20 20 20 20 20 20 20 20 20 20 6f lems. o
27f0: 6e 20 28 73 6f 6d 65 29 20 36 34 2d 62 69 74 20 n (some) 64-bit
2800: 70 6c 61 74 74 66 6f 72 6d 73 2e 0a 0a 20 20 20 plattforms...
2810: 20 20 20 20 20 2a 20 74 65 73 74 73 2f 78 70 61 * tests/xpa
2820: 74 68 2e 74 65 73 74 3a 20 41 64 64 65 64 20 61 th.test: Added a
2830: 20 66 65 77 20 74 65 73 74 73 20 72 65 6c 61 74 few tests relat
2840: 65 64 20 74 6f 20 77 68 69 74 65 2d 73 70 61 63 ed to white-spac
2850: 65 0a 20 20 20 20 20 20 20 20 20 20 69 6e 20 58 e. in X
2860: 50 61 74 68 20 65 78 70 72 65 73 73 69 6f 6e 73 Path expressions
2870: 2e 0a 0a 32 30 30 37 2d 30 37 2d 32 33 20 20 52 ...2007-07-23 R
2880: 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 olf Ade <rolf@p
2890: 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 ointsman.de>..
28a0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
28b0: 64 6f 6d 68 74 6d 6c 2e 63 0a 20 20 20 20 20 20 domhtml.c.
28c0: 20 20 2a 20 74 65 73 74 73 2f 68 74 6d 6c 72 65 * tests/htmlre
28d0: 61 64 65 72 2e 74 65 73 74 3a 20 46 69 78 20 66 ader.test: Fix f
28e0: 6f 72 20 70 72 6f 62 6c 65 6d 20 72 65 70 6f 72 or problem repor
28f0: 74 65 64 20 62 79 0a 20 20 20 20 20 20 20 20 20 ted by.
2900: 20 68 74 74 70 3a 2f 2f 74 65 63 68 2e 67 72 6f http://tech.gro
2910: 75 70 73 2e 79 61 68 6f 6f 2e 63 6f 6d 2f 67 72 ups.yahoo.com/gr
2920: 6f 75 70 2f 74 64 6f 6d 2f 6d 65 73 73 61 67 65 oup/tdom/message
2930: 2f 31 36 36 36 20 0a 0a 32 30 30 37 2d 30 34 2d /1666 ..2007-04-
2940: 31 38 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 18 Rolf Ade <r
2950: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
2960: 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 >.. * doc
2970: 2f 64 6f 6d 44 6f 63 2e 2a 3a 20 45 6d 65 6e 64 /domDoc.*: Emend
2980: 61 74 69 6f 6e 2e 0a 0a 32 30 30 37 2d 30 33 2d ation...2007-03-
2990: 30 33 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 03 Rolf Ade <r
29a0: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
29b0: 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 4d 61 6b >.. * Mak
29c0: 65 66 69 6c 65 2e 69 6e 3a 20 46 69 78 65 64 20 efile.in: Fixed
29d0: 28 61 74 20 6c 65 61 73 74 20 66 6f 72 20 6d 6f (at least for mo
29e0: 73 74 20 6f 66 20 74 68 65 20 63 61 73 65 73 29 st of the cases)
29f0: 20 62 75 67 20 69 6e 0a 20 20 20 20 20 20 20 20 bug in.
2a00: 20 20 74 65 73 74 20 74 61 72 67 65 74 2c 20 69 test target, i
2a10: 6e 20 63 61 73 65 20 74 68 65 20 75 73 65 72 20 n case the user
2a20: 62 75 69 6c 64 73 20 69 6e 20 61 20 64 69 72 20 builds in a dir
2a30: 65 6c 73 65 77 68 65 72 65 2e 20 0a 0a 32 30 30 elsewhere. ..200
2a40: 37 2d 30 32 2d 30 34 20 20 52 6f 6c 66 20 41 64 7-02-04 Rolf Ad
2a50: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
2a60: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
2a70: 2a 20 74 64 6f 6d 2e 6d 34 0a 20 20 20 20 20 20 * tdom.m4.
2a80: 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 0a 20 20 * configure.
2a90: 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f * extensio
2aa0: 6e 73 2f 74 6e 63 2f 63 6f 6e 66 69 67 75 72 65 ns/tnc/configure
2ab0: 0a 20 20 20 20 20 20 20 20 2a 20 52 45 41 44 4d . * READM
2ac0: 45 0a 20 20 20 20 20 20 20 20 2a 20 75 6e 69 78 E. * unix
2ad0: 2f 43 4f 4e 46 49 47 3a 20 4d 6f 64 69 66 69 65 /CONFIG: Modifie
2ae0: 64 20 74 68 65 20 74 64 6f 6d 2e 6d 34 20 63 6f d the tdom.m4 co
2af0: 6e 66 69 67 75 72 65 20 6d 61 63 72 6f 73 20 74 nfigure macros t
2b00: 6f 20 75 73 65 0a 20 20 20 20 20 20 20 20 20 20 o use.
2b10: 74 68 65 20 63 75 72 72 65 6e 74 20 64 6f 63 75 the current docu
2b20: 6d 65 6e 74 61 74 69 6f 6e 20 73 74 79 6c 65 20 mentation style
2b30: 6f 66 20 54 45 41 20 69 6e 20 63 61 73 65 20 6f of TEA in case o
2b40: 66 20 63 6f 6e 66 69 67 75 72 65 0a 20 20 20 20 f configure.
2b50: 20 20 20 20 20 20 2d 2d 68 65 6c 70 2e 20 46 69 --help. Fi
2b60: 78 65 64 20 61 20 62 75 67 20 69 6e 20 74 68 65 xed a bug in the
2b70: 20 54 44 4f 4d 5f 45 4e 41 42 4c 45 5f 44 54 44 TDOM_ENABLE_DTD
2b80: 2e 20 52 65 2d 67 65 6e 65 72 61 74 65 64 0a 20 . Re-generated.
2b90: 20 20 20 20 20 20 20 20 20 63 6f 6e 66 69 67 75 configu
2ba0: 72 65 20 61 6e 64 20 74 6e 63 20 63 6f 6e 66 69 re and tnc confi
2bb0: 67 75 72 65 2e 20 41 64 64 65 64 20 73 6f 6d 65 gure. Added some
2bc0: 20 65 78 70 6c 61 6e 61 74 69 6f 6e 73 20 61 62 explanations ab
2bd0: 6f 75 74 0a 20 20 20 20 20 20 20 20 20 20 74 68 out. th
2be0: 65 20 74 44 4f 4d 20 73 70 65 63 69 66 69 63 20 e tDOM specific
2bf0: 63 6f 6e 66 69 67 75 72 65 20 6f 70 74 69 6f 6e configure option
2c00: 73 20 74 6f 20 75 6e 69 78 2f 43 4f 4e 46 49 47 s to unix/CONFIG
2c10: 20 61 6e 64 20 61 0a 20 20 20 20 20 20 20 20 20 and a.
2c20: 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 61 74 pointer to that
2c30: 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 74 6f 20 information to
2c40: 52 45 41 44 4d 45 2e 0a 0a 20 20 20 20 20 20 20 README...
2c50: 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e * extensions/tn
2c60: 63 2f 74 6e 63 2e 63 3a 20 4d 69 6e 6f 72 20 65 c/tnc.c: Minor e
2c70: 64 69 74 6f 72 69 61 6c 20 63 68 61 6e 67 65 73 ditorial changes
2c80: 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 65 78 74 ... * ext
2c90: 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f 74 65 73 74 ensions/tnc/test
2ca0: 2e 74 63 6c 3a 20 46 69 78 65 64 20 74 68 65 20 .tcl: Fixed the
2cb0: 6c 6f 61 64 69 6e 67 20 6f 66 20 74 68 65 20 74 loading of the t
2cc0: 44 4f 4d 0a 20 20 20 20 20 20 20 20 20 20 73 63 DOM. sc
2cd0: 72 69 70 74 65 64 20 6c 69 62 72 61 72 79 20 69 ripted library i
2ce0: 6e 20 63 61 73 65 20 6f 66 20 72 75 6e 20 77 69 n case of run wi
2cf0: 74 68 20 74 63 6c 64 6f 6d 73 68 2e 20 0a 0a 20 th tcldomsh. ..
2d00: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
2d10: 2f 64 6f 6d 78 73 6c 74 2e 63 3a 20 46 69 78 65 /domxslt.c: Fixe
2d20: 64 20 62 75 67 20 69 6e 20 78 73 6c 3a 66 61 6c d bug in xsl:fal
2d30: 6c 62 61 63 6b 20 68 61 6e 64 6c 69 6e 67 2e 0a lback handling..
2d40: 0a 32 30 30 37 2d 30 32 2d 30 32 20 20 52 6f 6c .2007-02-02 Rol
2d50: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
2d60: 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 ntsman.de>..
2d70: 20 20 20 20 2a 20 74 64 6f 6d 2e 6d 34 0a 20 20 * tdom.m4.
2d80: 20 20 20 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 * configur
2d90: 65 3a 20 43 6f 72 72 65 63 74 65 64 20 73 70 65 e: Corrected spe
2da0: 6c 6c 69 6e 67 20 65 72 72 6f 72 20 69 6e 20 74 lling error in t
2db0: 64 6f 6d 2e 6d 34 2c 20 72 65 2d 67 65 6e 65 72 dom.m4, re-gener
2dc0: 61 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 63 ated. c
2dd0: 6f 6e 66 69 67 75 72 65 2e 20 54 68 61 6e 6b 73 onfigure. Thanks
2de0: 20 74 6f 20 4c 61 72 72 79 20 56 69 72 64 65 6e to Larry Virden
2df0: 20 66 6f 72 20 72 65 70 6f 72 74 69 6e 67 2e 0a for reporting..
2e00: 0a 32 30 30 37 2d 30 31 2d 31 36 20 20 52 6f 6c .2007-01-16 Rol
2e10: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
2e20: 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 ntsman.de>..
2e30: 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 * extensions
2e40: 2f 74 6e 63 2f 63 6f 6e 66 69 67 75 72 65 2e 69 /tnc/configure.i
2e50: 6e 3a 20 54 68 65 20 62 75 69 6c 64 20 74 6f 6f n: The build too
2e60: 6c 20 63 6f 6d 62 69 6e 61 74 69 6f 6e 0a 20 20 l combination.
2e70: 20 20 20 20 20 20 20 20 54 45 41 2f 63 79 67 77 TEA/cygw
2e80: 69 6e 2f 56 43 2b 2b 20 6e 65 65 64 73 20 61 20 in/VC++ needs a
2e90: 63 72 75 64 65 20 68 61 63 6b 2e 0a 0a 32 30 30 crude hack...200
2ea0: 37 2d 30 31 2d 31 30 20 20 52 6f 6c 66 20 41 64 7-01-10 Rolf Ad
2eb0: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
2ec0: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
2ed0: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 4d * Makefile.in: M
2ee0: 6f 72 65 20 63 6f 72 72 65 63 74 69 6f 6e 73 3a ore corrections:
2ef0: 20 44 69 64 20 6e 6f 74 20 69 6e 73 74 61 6c 6c Did not install
2f00: 20 74 68 65 20 74 44 4f 4d 0a 20 20 20 20 20 20 the tDOM.
2f10: 20 20 20 20 73 74 75 62 73 20 6c 69 62 72 61 72 stubs librar
2f20: 79 2e 20 4d 69 6e 6f 72 20 6f 74 68 65 72 20 63 y. Minor other c
2f30: 6f 72 72 65 63 74 69 6f 6e 73 20 72 65 6c 61 74 orrections relat
2f40: 65 64 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 ed to.
2f50: 64 69 73 74 63 6c 65 61 6e 2e 20 41 67 61 69 6e distclean. Again
2f60: 20 74 68 61 6e 6b 73 20 74 6f 20 41 6e 64 72 65 thanks to Andre
2f70: 61 73 20 4b 75 70 72 69 65 73 2e 0a 0a 20 20 20 as Kupries...
2f80: 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e * extension
2f90: 73 2f 74 6e 63 2f 4d 61 6b 65 66 69 6c 65 2e 69 s/tnc/Makefile.i
2fa0: 6e 3a 20 44 6f 6e 27 74 20 63 61 6c 6c 20 74 61 n: Don't call ta
2fb0: 72 67 65 74 20 69 6e 73 74 61 6c 6c 2d 64 6f 63 rget install-doc
2fc0: 0a 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 . while
2fd0: 20 69 6e 73 74 61 6c 6c 69 6e 67 20 2d 20 74 68 installing - th
2fe0: 65 20 74 6e 63 20 64 6f 63 20 69 73 20 69 6e 20 e tnc doc is in
2ff0: 74 68 65 20 74 6f 70 20 6c 65 76 65 6c 20 64 6f the top level do
3000: 63 20 64 69 72 2e 0a 0a 20 20 20 20 20 20 20 20 c dir...
3010: 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e 63 * extensions/tnc
3020: 2f 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e /pkgIndex.tcl.in
3030: 3a 20 46 69 78 65 64 20 74 68 65 20 6e 61 6d 65 : Fixed the name
3040: 20 6f 66 20 74 68 65 20 73 68 61 72 65 64 0a 20 of the shared.
3050: 20 20 20 20 20 20 20 20 20 6c 69 62 2e 20 4e 6f lib. No
3060: 77 20 75 73 65 73 20 40 50 4b 47 5f 4c 49 42 5f w uses @PKG_LIB_
3070: 46 49 4c 45 40 20 66 6f 72 20 74 68 65 20 64 6c FILE@ for the dl
3080: 6c 20 6e 61 6d 65 2e 0a 20 20 20 20 0a 32 30 30 l name.. .200
3090: 37 2d 30 31 2d 30 39 20 20 52 6f 6c 66 20 41 64 7-01-09 Rolf Ad
30a0: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
30b0: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
30c0: 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 44 * Makefile.in: D
30d0: 69 64 20 6e 6f 74 20 69 6e 73 74 61 6c 6c 20 74 id not install t
30e0: 64 6f 6d 43 6f 6e 66 69 67 2e 73 68 20 61 6e 79 domConfig.sh any
30f0: 6d 6f 72 65 2c 0a 20 20 20 20 20 20 20 20 20 20 more,.
3100: 77 68 69 63 68 20 63 61 75 73 65 73 20 74 72 6f which causes tro
3110: 75 62 6c 65 20 62 75 69 6c 64 69 6e 67 20 74 44 uble building tD
3120: 4f 4d 20 65 78 74 65 6e 73 69 6f 6e 73 20 28 69 OM extensions (i
3130: 6e 63 6c 75 64 69 6e 67 0a 20 20 20 20 20 20 20 ncluding.
3140: 20 20 20 74 6e 63 29 2e 20 54 68 61 6e 6b 73 20 tnc). Thanks
3150: 74 6f 20 41 6e 64 72 65 61 73 20 4b 75 70 72 69 to Andreas Kupri
3160: 65 73 20 66 6f 72 20 72 65 70 6f 72 74 69 6e 67 es for reporting
3170: 20 74 68 65 20 70 72 6f 62 6c 65 6d 0a 20 20 20 the problem.
3180: 20 20 20 20 20 20 20 77 69 74 68 20 61 6e 61 6c with anal
3190: 79 73 69 73 2e 0a 0a 32 30 30 37 2d 30 31 2d 30 ysis...2007-01-0
31a0: 35 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 5 Rolf Ade <ro
31b0: 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e lf@pointsman.de>
31c0: 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 .. * gene
31d0: 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 3a 20 ric/domxpath.c:
31e0: 49 6e 20 58 50 61 74 68 20 65 78 70 72 65 73 73 In XPath express
31f0: 69 6f 6e 73 3a 20 57 68 69 74 65 73 70 61 63 65 ions: Whitespace
3200: 20 62 65 74 77 65 65 6e 0a 20 20 20 20 20 20 20 between.
3210: 20 20 20 74 68 65 20 61 62 62 72 65 76 69 61 74 the abbreviat
3220: 65 64 20 61 74 74 72 69 62 75 74 65 20 61 78 69 ed attribute axi
3230: 73 20 73 70 65 63 69 66 69 65 72 20 40 20 61 6e s specifier @ an
3240: 64 20 74 68 65 20 61 74 74 72 69 62 75 74 65 0a d the attribute.
3250: 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 20 69 name i
3260: 73 20 61 6c 6c 6f 77 65 64 2e 0a 0a 32 30 30 36 s allowed...2006
3270: 2d 31 31 2d 32 32 20 20 52 6f 6c 66 20 41 64 65 -11-22 Rolf Ade
3280: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
3290: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
32a0: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 68 74 6d 6c generic/domhtml
32b0: 2e 63 3a 20 4e 6f 72 6d 61 6c 69 7a 65 20 63 61 .c: Normalize ca
32c0: 73 65 20 6f 66 20 61 74 74 72 69 62 75 74 65 20 se of attribute
32d0: 61 6c 73 6f 20 28 6e 6f 74 0a 20 20 20 20 20 20 also (not.
32e0: 20 20 20 20 6f 6e 6c 79 20 65 6c 65 6d 65 6e 74 only element
32f0: 73 29 2e 20 41 63 63 65 70 74 20 73 70 61 63 65 s). Accept space
3300: 20 6f 6e 20 62 6f 74 68 20 73 69 64 65 73 20 6f on both sides o
3310: 66 20 74 68 65 20 3d 20 6f 66 0a 20 20 20 20 20 f the = of.
3320: 20 20 20 20 20 61 74 74 72 69 62 75 74 65 20 76 attribute v
3330: 61 6c 75 65 73 2e 0a 0a 32 30 30 36 2d 31 31 2d alues...2006-11-
3340: 30 38 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 08 Rolf Ade <r
3350: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
3360: 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e >.. * gen
3370: 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 0a eric/domxpath.c.
3380: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
3390: 78 70 61 74 68 2e 74 65 73 74 3a 20 46 69 78 65 xpath.test: Fixe
33a0: 64 20 73 65 67 20 66 61 75 6c 74 20 69 6e 20 58 d seg fault in X
33b0: 50 61 74 68 20 65 78 70 72 20 70 61 72 73 65 72 Path expr parser
33c0: 20 66 6f 72 20 61 0a 20 20 20 20 20 20 20 20 20 for a.
33d0: 20 63 65 72 74 61 69 6e 20 6b 69 6e 64 20 6f 66 certain kind of
33e0: 20 65 72 72 6f 6e 65 6f 75 73 20 58 50 61 74 68 erroneous XPath
33f0: 20 65 78 70 72 65 73 73 69 6f 6e 73 2e 0a 0a 32 expressions...2
3400: 30 30 36 2d 30 38 2d 32 36 20 20 52 6f 6c 66 20 006-08-26 Rolf
3410: 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
3420: 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
3430: 20 20 2a 20 43 48 41 4e 47 45 53 0a 20 20 20 20 * CHANGES.
3440: 20 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 2e * configure.
3450: 69 6e 0a 20 20 20 20 20 20 20 20 2a 20 4d 61 6b in. * Mak
3460: 65 66 69 6c 65 2e 69 6e 0a 20 20 20 20 20 20 20 efile.in.
3470: 20 2a 20 63 6f 6e 66 69 67 75 72 65 0a 20 20 20 * configure.
3480: 20 20 20 20 20 2a 20 74 63 6c 63 6f 6e 66 69 67 * tclconfig
3490: 2f 52 45 41 44 4d 45 2e 74 78 74 0a 20 20 20 20 /README.txt.
34a0: 20 20 20 20 2a 20 74 63 6c 63 6f 6e 66 69 67 2f * tclconfig/
34b0: 74 63 6c 2e 6d 34 0a 20 20 20 20 20 20 20 20 2a tcl.m4. *
34c0: 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f extensions/tnc/
34d0: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 0a 20 20 20 configure.in.
34e0: 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e * extension
34f0: 73 2f 74 6e 63 2f 63 6f 6e 66 69 67 75 72 65 0a s/tnc/configure.
3500: 20 20 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 * extens
3510: 69 6f 6e 73 2f 74 6e 63 2f 4d 61 6b 65 66 69 6c ions/tnc/Makefil
3520: 65 2e 69 6e 3a 20 55 70 64 61 74 65 64 20 74 68 e.in: Updated th
3530: 65 20 54 45 41 20 62 75 69 6c 64 20 73 79 73 74 e TEA build syst
3540: 65 6d 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 em to.
3550: 33 2e 35 2e 20 0a 0a 32 30 30 36 2d 30 35 2d 32 3.5. ..2006-05-2
3560: 34 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 4 Rolf Ade <ro
3570: 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e lf@pointsman.de>
3580: 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 .. * gene
3590: 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 ric/dom.c.
35a0: 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 2e 74 65 * tests/dom.te
35b0: 73 74 3a 20 46 69 78 20 6f 66 20 74 68 65 20 69 st: Fix of the i
35c0: 73 51 4e 61 6d 65 20 6d 65 74 68 6f 64 3a 20 53 sQName method: S
35d0: 74 72 69 6e 67 73 20 77 69 74 68 20 76 61 6c 69 trings with vali
35e0: 64 0a 20 20 20 20 20 20 20 20 20 20 70 72 65 66 d. pref
35f0: 69 78 20 61 6e 64 20 6e 6f 6e 2d 4e 43 4e 61 6d ix and non-NCNam
3600: 65 53 74 61 72 74 20 63 68 61 72 20 61 73 20 66 eStart char as f
3610: 69 72 73 74 20 63 68 61 72 20 61 66 74 65 72 20 irst char after
3620: 74 68 65 20 27 3a 27 0a 20 20 20 20 20 20 20 20 the ':'.
3630: 20 20 77 61 73 6e 27 74 20 64 65 74 65 63 74 65 wasn't detecte
3640: 64 20 61 73 20 69 6e 76 61 6c 69 64 20 51 4e 61 d as invalid QNa
3650: 6d 65 2e 0a 0a 32 30 30 36 2d 30 31 2d 30 38 20 me...2006-01-08
3660: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
3670: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
3680: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
3690: 63 2f 64 6f 6d 78 73 6c 74 2e 63 0a 20 20 20 20 c/domxslt.c.
36a0: 20 20 20 20 2a 20 74 65 73 74 73 2f 78 73 6c 74 * tests/xslt
36b0: 2e 74 65 73 74 3a 20 46 69 78 65 64 20 61 20 72 .test: Fixed a r
36c0: 6f 75 6e 64 69 6e 67 20 62 75 67 20 6f 66 20 66 ounding bug of f
36d0: 6f 72 6d 61 74 2d 6e 75 6d 62 65 72 28 29 0a 20 ormat-number().
36e0: 20 20 20 20 20 20 20 20 20 28 68 74 74 70 3a 2f (http:/
36f0: 2f 67 72 6f 75 70 73 2e 79 61 68 6f 6f 2e 63 6f /groups.yahoo.co
3700: 6d 2f 67 72 6f 75 70 2f 74 64 6f 6d 2f 6d 65 73 m/group/tdom/mes
3710: 73 61 67 65 2f 31 32 31 37 29 2e 0a 0a 32 30 30 sage/1217)...200
3720: 36 2d 30 31 2d 30 36 20 20 52 6f 6c 66 20 41 64 6-01-06 Rolf Ad
3730: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
3740: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
3750: 2a 20 64 6f 63 2f 64 6f 6d 44 6f 63 2e 2a 3a 20 * doc/domDoc.*:
3760: 46 69 78 65 64 20 6d 61 72 6b 75 70 20 65 72 72 Fixed markup err
3770: 6f 72 73 2e 0a 0a 32 30 30 35 2d 31 32 2d 31 30 ors...2005-12-10
3780: 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c Rolf Ade <rol
3790: 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a f@pointsman.de>.
37a0: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
37b0: 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 ic/dom.c.
37c0: 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 * generic/dom.h
37d0: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
37e0: 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 0a 20 20 20 ic/domxslt.c.
37f0: 20 20 20 20 20 2a 20 74 65 73 74 73 2f 78 73 6c * tests/xsl
3800: 74 2e 74 65 73 74 3a 20 46 69 78 65 64 20 62 75 t.test: Fixed bu
3810: 67 20 69 6e 20 6e 61 6d 65 73 70 61 63 65 20 68 g in namespace h
3820: 61 6e 64 6c 69 6e 67 20 69 6e 0a 20 20 20 20 20 andling in.
3830: 20 20 20 20 20 78 73 6c 3a 63 6f 70 79 2d 6f 66 xsl:copy-of
3840: 2e 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 0a . . .
3850: 32 30 30 35 2d 31 32 2d 30 33 20 20 52 6f 6c 66 2005-12-03 Rolf
3860: 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e Ade <rolf@poin
3870: 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 tsman.de>..
3880: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
3890: 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 .c. * tes
38a0: 74 73 2f 64 6f 6d 4e 6f 64 65 2e 74 65 73 74 3a ts/domNode.test:
38b0: 20 46 69 78 20 6f 66 20 74 68 65 20 63 6c 6f 6e Fix of the clon
38c0: 65 4e 6f 64 65 20 6d 65 74 68 6f 64 3a 20 69 66 eNode method: if
38d0: 20 74 68 65 20 6e 6f 64 65 0a 20 20 20 20 20 20 the node.
38e0: 20 20 20 20 74 6f 20 63 6c 6f 6e 65 20 28 6f 72 to clone (or
38f0: 2c 20 69 6e 20 63 61 73 65 20 6f 66 20 2d 64 65 , in case of -de
3900: 65 70 2c 20 61 20 6e 6f 64 65 20 77 69 74 68 69 ep, a node withi
3910: 6e 20 74 68 65 20 73 75 62 74 72 65 65 20 74 6f n the subtree to
3920: 0a 20 20 20 20 20 20 20 20 20 20 63 6c 6f 6e 65 . clone
3930: 29 20 68 61 64 20 61 20 6e 61 6d 65 73 70 61 63 ) had a namespac
3940: 65 20 64 65 63 6c 61 72 61 74 69 6f 6e 20 61 74 e declaration at
3950: 74 72 69 62 75 74 65 20 74 68 65 6e 20 74 68 65 tribute then the
3960: 20 72 65 73 75 6c 74 0a 20 20 20 20 20 20 20 20 result.
3970: 20 20 77 61 73 20 77 72 6f 6e 67 2e 0a 0a 20 20 was wrong...
3980: 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f * tests/do
3990: 6d 44 6f 63 2e 74 65 73 74 3a 20 41 64 64 65 64 mDoc.test: Added
39a0: 20 61 20 74 65 73 74 20 66 6f 72 20 74 68 65 20 a test for the
39b0: 73 70 65 63 69 61 6c 20 68 61 6e 64 6c 69 6e 67 special handling
39c0: 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 74 68 of. th
39d0: 65 20 63 6f 6e 74 65 6e 74 20 6f 66 20 73 63 72 e content of scr
39e0: 69 70 74 2f 73 74 79 6c 65 20 74 61 67 73 20 69 ipt/style tags i
39f0: 6e 20 63 61 73 65 20 6f 66 20 61 73 48 54 4d 4c n case of asHTML
3a00: 2e 0a 0a 32 30 30 35 2d 31 30 2d 31 39 20 20 52 ...2005-10-19 R
3a10: 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 olf Ade <rolf@p
3a20: 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 ointsman.de>..
3a30: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
3a40: 64 6f 6d 78 70 61 74 68 2e 63 0a 20 20 20 20 20 domxpath.c.
3a50: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
3a60: 78 70 61 74 68 2e 68 0a 20 20 20 20 20 20 20 20 xpath.h.
3a70: 2a 20 74 65 73 74 73 2f 78 70 61 74 68 2e 74 65 * tests/xpath.te
3a80: 73 74 3a 20 46 69 78 65 64 20 73 74 72 69 6e 67 st: Fixed string
3a90: 2d 6c 65 6e 67 74 68 28 29 20 61 6e 64 20 73 75 -length() and su
3aa0: 62 73 74 72 69 6e 67 28 29 20 74 6f 0a 20 20 20 bstring() to.
3ab0: 20 20 20 20 20 20 20 77 6f 72 6b 20 6f 6e 20 63 work on c
3ac0: 68 61 72 73 2c 20 61 73 20 74 68 65 79 20 73 68 hars, as they sh
3ad0: 6f 75 6c 64 2c 20 6e 6f 74 20 6f 6e 20 62 79 74 ould, not on byt
3ae0: 65 73 2e 0a 0a 32 30 30 35 2d 30 39 2d 32 37 20 es...2005-09-27
3af0: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
3b00: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 20 @pointsman.de>.
3b10: 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 . * tests
3b20: 2f 68 74 6d 6c 72 65 61 64 65 72 2e 74 65 73 74 /htmlreader.test
3b30: 3a 20 41 64 64 65 64 20 61 20 74 65 73 74 20 63 : Added a test c
3b40: 61 73 65 2c 20 72 65 70 6f 72 74 65 64 20 62 79 ase, reported by
3b50: 0a 20 20 20 20 20 20 20 20 20 20 52 69 63 68 61 . Richa
3b60: 72 64 20 53 75 63 68 65 6e 77 69 72 74 68 2c 20 rd Suchenwirth,
3b70: 77 68 69 63 68 20 63 72 61 73 68 65 73 20 30 2e which crashes 0.
3b80: 38 2e 30 2c 20 62 75 74 20 72 61 69 73 65 73 20 8.0, but raises
3b90: 65 72 72 6f 72 0a 20 20 20 20 20 20 20 20 20 20 error.
3ba0: 77 69 74 68 20 63 75 72 72 65 6e 74 20 63 76 73 with current cvs
3bb0: 20 68 65 61 64 2c 20 77 69 74 68 6f 75 74 20 61 head, without a
3bc0: 6e 79 20 6d 65 6d 20 70 72 6f 62 6c 65 6d 73 2e ny mem problems.
3bd0: 0a 0a 32 30 30 35 2d 30 39 2d 32 34 20 20 52 6f ..2005-09-24 Ro
3be0: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
3bf0: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
3c00: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
3c10: 6f 6d 78 73 6c 74 2e 63 3a 20 44 6f 68 21 20 54 omxslt.c: Doh! T
3c20: 68 65 20 63 6f 64 65 20 64 65 74 65 63 74 65 64 he code detected
3c30: 20 69 6c 6c 20 67 72 6f 75 70 69 6e 67 2d 73 69 ill grouping-si
3c40: 7a 65 0a 20 20 20 20 20 20 20 20 20 20 76 61 6c ze. val
3c50: 75 65 73 20 61 6e 64 20 73 65 74 20 65 72 72 4d ues and set errM
3c60: 73 67 20 61 63 63 6f 72 64 69 6e 67 6c 79 2c 20 sg accordingly,
3c70: 62 75 74 20 64 69 64 6e 27 74 20 70 72 6f 70 61 but didn't propa
3c80: 67 61 74 65 20 74 68 65 0a 20 20 20 20 20 20 20 gate the.
3c90: 20 20 20 65 72 72 6f 72 2e 20 46 69 78 65 64 2e error. Fixed.
3ca0: 20 44 6f 20 6d 65 6d 6f 72 79 20 63 6c 65 61 6e Do memory clean
3cb0: 75 70 20 61 66 74 65 72 20 64 65 74 65 63 74 69 up after detecti
3cc0: 6e 67 20 77 72 6f 6e 67 0a 20 20 20 20 20 20 20 ng wrong.
3cd0: 20 20 20 78 73 6c 3a 6e 75 6d 62 65 72 20 6c 65 xsl:number le
3ce0: 76 65 6c 20 61 74 74 72 69 62 75 74 65 20 76 61 vel attribute va
3cf0: 6c 75 65 2e 20 46 69 78 65 64 20 6d 65 6d 6f 72 lue. Fixed memor
3d00: 79 20 6c 65 61 6b 20 69 6e 20 63 61 73 65 0a 20 y leak in case.
3d10: 20 20 20 20 20 20 20 20 20 6f 66 20 69 6e 63 6f of inco
3d20: 72 72 65 63 74 20 78 73 6c 74 20 61 74 74 72 69 rrect xslt attri
3d30: 62 75 74 65 73 20 6f 66 20 69 6e 63 6c 75 64 65 butes of include
3d40: 64 20 6f 72 20 69 6d 70 6f 72 74 65 64 0a 20 20 d or imported.
3d50: 20 20 20 20 20 20 20 20 78 73 6c 3a 73 74 79 6c xsl:styl
3d60: 65 73 68 65 65 74 20 65 6c 65 6d 65 6e 74 73 2e esheet elements.
3d70: 20 46 69 78 65 64 20 6d 65 6d 6f 72 79 20 6c 65 Fixed memory le
3d80: 61 6b 20 69 6e 20 63 61 73 65 20 6f 66 0a 20 20 ak in case of.
3d90: 20 20 20 20 20 20 20 20 73 79 6e 74 61 63 74 69 syntacti
3da0: 63 61 6c 6c 79 20 77 72 6f 6e 67 20 78 73 6c 3a cally wrong xsl:
3db0: 6b 65 79 20 75 73 65 20 61 74 74 72 69 62 75 74 key use attribut
3dc0: 65 20 58 50 61 74 68 0a 20 20 20 20 20 20 20 20 e XPath.
3dd0: 20 20 65 78 70 72 65 73 73 69 6f 6e 2e 20 46 69 expression. Fi
3de0: 78 65 64 20 6d 65 6d 6f 72 79 20 6c 65 61 6b 20 xed memory leak
3df0: 69 6e 20 63 61 73 65 20 6f 66 20 74 6f 70 6c 65 in case of tople
3e00: 76 65 6c 0a 20 20 20 20 20 20 20 20 20 20 70 61 vel. pa
3e10: 72 61 6d 65 74 65 72 20 6f 72 20 76 61 72 69 61 rameter or varia
3e20: 62 6c 65 73 20 77 68 69 63 68 20 61 72 65 20 73 bles which are s
3e30: 79 6e 74 61 63 74 69 63 61 6c 6c 79 20 69 6e 63 yntactically inc
3e40: 6f 72 72 65 63 74 2c 0a 20 20 20 20 20 20 20 20 orrect,.
3e50: 20 20 62 65 63 61 75 73 65 20 74 68 65 79 20 68 because they h
3e60: 61 76 65 20 62 6f 74 68 20 61 20 73 65 6c 65 63 ave both a selec
3e70: 74 20 61 74 74 72 69 62 75 74 65 20 61 6e 64 20 t attribute and
3e80: 63 6f 6e 74 65 6e 74 2e 0a 0a 32 30 30 35 2d 30 content...2005-0
3e90: 39 2d 31 39 20 52 6f 6c 66 20 41 64 65 20 20 20 9-19 Rolf Ade
3ea0: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
3eb0: 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 de>.. * g
3ec0: 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e eneric/domxpath.
3ed0: 63 3a 20 49 6d 70 72 6f 76 65 64 20 64 65 74 65 c: Improved dete
3ee0: 63 74 69 6f 6e 2f 72 65 70 6f 72 74 69 6e 67 20 ction/reporting
3ef0: 6f 66 20 58 50 61 74 68 0a 20 20 20 20 20 20 20 of XPath.
3f00: 20 20 20 73 79 6e 74 61 78 20 65 72 72 6f 72 73 syntax errors
3f10: 2e 20 46 69 78 65 64 20 74 77 6f 20 6d 65 6d 6f . Fixed two memo
3f20: 72 79 20 6c 65 61 6b 73 20 69 6e 20 74 68 65 20 ry leaks in the
3f30: 58 50 61 74 68 20 70 61 72 73 65 72 20 69 6e 0a XPath parser in.
3f40: 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 6f case o
3f50: 66 20 73 6f 6d 65 20 6b 69 6e 64 20 6f 66 20 65 f some kind of e
3f60: 72 72 6f 6e 65 6f 75 73 20 58 50 61 74 68 20 65 rroneous XPath e
3f70: 78 70 72 65 73 73 69 6f 6e 73 2e 0a 0a 32 30 30 xpressions...200
3f80: 35 2d 30 39 2d 31 37 20 20 52 6f 6c 66 20 41 64 5-09-17 Rolf Ad
3f90: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
3fa0: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
3fb0: 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 * generic/domxpa
3fc0: 74 68 2e 63 3a 20 69 64 28 29 20 6f 6e 20 61 6e th.c: id() on an
3fd0: 20 65 6d 70 74 79 20 6e 6f 64 65 20 73 65 74 20 empty node set
3fe0: 73 68 6f 75 6c 64 20 72 65 74 75 72 6e 0a 20 20 should return.
3ff0: 20 20 20 20 20 20 20 20 61 6e 20 65 6d 70 74 79 an empty
4000: 20 73 74 72 69 6e 67 2c 20 61 63 63 6f 72 64 69 string, accordi
4010: 6e 67 20 74 6f 20 74 68 65 20 72 65 63 2c 20 6e ng to the rec, n
4020: 6f 74 20 72 61 69 73 65 20 61 6e 20 65 72 72 6f ot raise an erro
4030: 72 2c 0a 20 20 20 20 20 20 20 20 20 20 61 73 20 r,. as
4040: 69 74 20 64 69 64 20 75 70 20 74 6f 20 6e 6f 77 it did up to now
4050: 2e 20 46 69 78 65 64 20 61 20 6d 65 6d 6f 72 79 . Fixed a memory
4060: 20 6c 65 61 6b 20 69 6e 20 63 6f 6e 63 61 74 28 leak in concat(
4070: 29 20 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 ) in the.
4080: 20 20 20 63 61 73 65 20 6f 66 20 78 70 61 74 68 case of xpath
4090: 20 65 78 70 72 65 73 73 69 6f 6e 73 20 61 73 20 expressions as
40a0: 61 72 67 75 6d 65 6e 74 73 2c 20 77 68 69 63 68 arguments, which
40b0: 20 72 61 69 73 65 0a 20 20 20 20 20 20 20 20 20 raise.
40c0: 20 65 72 72 6f 72 2e 20 4e 6f 72 6d 61 6c 6c 79 error. Normally
40d0: 2c 20 58 50 61 74 68 20 65 78 70 72 65 73 73 69 , XPath expressi
40e0: 6f 6e 73 20 64 6f 65 6e 73 27 74 20 72 61 69 73 ons doens't rais
40f0: 65 20 65 72 72 6f 72 20 61 74 0a 20 20 20 20 20 e error at.
4100: 20 20 20 20 20 61 6c 6c 3b 20 74 68 61 74 27 73 all; that's
4110: 20 68 6f 77 20 58 50 61 74 68 20 69 73 20 64 65 how XPath is de
4120: 73 69 67 6e 65 64 2e 20 54 68 61 74 20 69 73 20 signed. That is
4130: 75 6e 66 6f 72 74 75 6e 61 74 65 6c 79 20 6e 6f unfortunately no
4140: 74 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 t. comp
4150: 6c 65 74 65 6c 79 20 74 72 75 65 20 77 69 74 68 letely true with
4160: 20 63 75 72 72 65 6e 74 20 74 44 4f 4d 2c 20 62 current tDOM, b
4170: 65 63 61 75 73 65 20 74 44 4f 4d 20 64 6f 65 73 ecause tDOM does
4180: 6e 27 74 20 64 6f 0a 20 20 20 20 20 20 20 20 20 n't do.
4190: 20 61 6e 20 61 73 20 72 69 67 6f 72 6f 73 20 61 an as rigoros a
41a0: 73 20 70 6f 73 73 69 62 6c 65 20 61 72 67 75 6d s possible argum
41b0: 65 6e 74 20 63 68 65 63 6b 20 61 74 20 58 50 61 ent check at XPa
41c0: 74 68 20 65 78 70 72 65 73 73 69 6f 6e 0a 20 20 th expression.
41d0: 20 20 20 20 20 20 20 20 70 61 72 73 69 6e 67 20 parsing
41e0: 74 69 6d 65 20 28 74 68 61 74 20 77 69 6c 6c 20 time (that will
41f0: 63 68 61 6e 67 65 29 20 61 6e 64 20 62 65 63 61 change) and beca
4200: 75 73 65 20 6f 66 20 75 73 65 72 20 64 65 66 69 use of user defi
4210: 6e 65 64 0a 20 20 20 20 20 20 20 20 20 20 58 50 ned. XP
4220: 61 74 68 20 65 78 74 65 6e 73 69 6f 6e 20 66 75 ath extension fu
4230: 6e 63 74 69 6f 6e 73 2e 0a 0a 32 30 30 35 2d 30 nctions...2005-0
4240: 39 2d 31 36 20 20 52 6f 6c 66 20 41 64 65 20 20 9-16 Rolf Ade
4250: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
4260: 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 de>.. * g
4270: 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 eneric/domxslt.c
4280: 3a 20 46 69 78 65 64 20 6d 65 6d 6f 72 79 20 66 : Fixed memory f
4290: 61 75 6c 74 20 69 6e 20 63 61 73 65 20 6f 66 20 ault in case of
42a0: 65 78 74 65 72 6e 61 6c 0a 20 20 20 20 20 20 20 external.
42b0: 20 20 20 64 6f 63 75 6d 65 6e 74 73 20 72 65 73 documents res
42c0: 6f 6c 76 65 64 20 62 61 73 65 64 20 6f 6e 20 74 olved based on t
42d0: 68 65 20 62 61 73 65 20 55 52 49 20 6f 66 20 61 he base URI of a
42e0: 20 6e 6f 64 65 20 6f 66 20 74 68 65 0a 20 20 20 node of the.
42f0: 20 20 20 20 20 20 20 73 6f 75 72 63 65 20 65 6c source el
4300: 65 6d 65 6e 74 2e 0a 0a 32 30 30 35 2d 30 39 2d ement...2005-09-
4310: 31 33 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 13 Rolf Ade <r
4320: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
4330: 3e 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 >. .
4340: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
4350: 78 70 61 74 68 2e 63 3a 20 42 75 67 20 66 69 78 xpath.c: Bug fix
4360: 3a 20 54 68 65 20 6e 61 6d 65 73 70 61 63 65 20 : The namespace
4370: 61 78 69 73 20 77 69 6c 6c 20 62 65 0a 20 20 20 axis will be.
4380: 20 20 20 20 20 20 20 65 6d 70 74 79 20 75 6e 6c empty unl
4390: 65 73 73 20 74 68 65 20 63 6f 6e 74 65 78 74 20 ess the context
43a0: 6e 6f 64 65 20 69 73 20 61 6e 20 65 6c 65 6d 65 node is an eleme
43b0: 6e 74 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 61 nt... * a
43c0: 63 6c 6f 63 61 6c 2e 6d 34 0a 20 20 20 20 20 20 clocal.m4.
43d0: 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 0a 20 20 * configure.
43e0: 20 20 20 20 20 20 2a 20 74 64 6f 6d 2e 6d 34 0a * tdom.m4.
43f0: 20 20 20 20 20 20 20 20 2a 20 74 64 6f 6d 43 6f * tdomCo
4400: 6e 66 69 67 2e 73 68 2e 69 6e 0a 20 20 20 20 20 nfig.sh.in.
4410: 20 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f * extensions/
4420: 74 6e 63 2f 63 6f 6e 66 69 67 75 72 65 0a 20 20 tnc/configure.
4430: 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f * extensio
4440: 6e 73 2f 74 6e 63 2f 63 6f 6e 66 69 67 75 72 65 ns/tnc/configure
4450: 2e 69 6e 3a 20 49 6d 70 72 6f 76 65 6d 65 6e 74 .in: Improvement
4460: 20 6f 66 20 74 68 65 20 62 75 69 6c 64 0a 20 20 of the build.
4470: 20 20 20 20 20 20 20 20 73 79 73 74 65 6d 2e 20 system.
4480: 4e 6f 77 20 77 6f 72 6b 73 20 61 6c 73 6f 20 77 Now works also w
4490: 69 74 68 20 74 68 65 20 74 6f 6f 6c 20 63 6f 6d ith the tool com
44a0: 62 69 6e 61 74 69 6f 6e 0a 20 20 20 20 20 20 20 bination.
44b0: 20 20 20 63 79 67 77 69 6e 2f 54 45 41 2f 56 43 cygwin/TEA/VC
44c0: 2b 2b 2e 20 54 68 61 6e 6b 73 20 74 6f 20 41 6e ++. Thanks to An
44d0: 64 72 65 61 73 20 4b 75 70 72 69 65 73 20 66 6f dreas Kupries fo
44e0: 72 20 68 69 73 20 70 61 74 63 68 2e 0a 20 20 20 r his patch..
44f0: 20 0a 32 30 30 35 2d 30 38 2d 32 36 20 20 52 6f .2005-08-26 Ro
4500: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
4510: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
4520: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 * generic/t
4530: 64 6f 6d 69 6e 69 74 2e 63 3a 20 52 65 6d 6f 76 dominit.c: Remov
4540: 65 64 20 74 65 73 74 73 20 61 62 6f 75 74 20 6d ed tests about m
4550: 74 2d 6e 65 73 73 20 6f 66 0a 20 20 20 20 20 20 t-ness of.
4560: 20 20 20 20 74 63 6c 73 68 2f 74 64 6f 6d 2c 20 tclsh/tdom,
4570: 64 75 65 20 74 6f 20 70 6f 70 75 6c 61 72 20 64 due to popular d
4580: 65 6d 61 6e 64 2e 20 4d 74 20 63 6f 6d 70 69 6c emand. Mt compil
4590: 65 64 20 74 44 4f 4d 20 6e 6f 77 20 77 69 6c 6c ed tDOM now will
45a0: 0a 20 20 20 20 20 20 20 20 20 20 6c 6f 61 64 20 . load
45b0: 69 6e 74 6f 20 6e 6f 6e 2d 6d 74 20 74 63 6c 73 into non-mt tcls
45c0: 68 2c 20 61 73 20 77 69 6c 6c 20 61 20 6e 6f 6e h, as will a non
45d0: 2d 6d 74 20 63 6f 6d 70 69 6c 65 64 20 74 44 4f -mt compiled tDO
45e0: 4d 20 69 6e 74 6f 0a 20 20 20 20 20 20 20 20 20 M into.
45f0: 20 61 20 6d 74 20 74 63 6c 73 68 2e 0a 20 20 20 a mt tclsh..
4600: 20 20 20 20 20 20 20 4e 4f 54 45 53 3a 20 0a 20 NOTES: .
4610: 20 20 20 20 20 20 20 20 20 55 73 69 6e 67 20 61 Using a
4620: 20 6e 6f 6e 2d 6d 74 20 74 44 4f 4d 20 77 69 74 non-mt tDOM wit
4630: 68 69 6e 20 6f 6e 6c 79 20 6f 6e 65 20 74 68 72 hin only one thr
4640: 65 61 64 20 6f 66 20 61 20 6d 74 0a 20 20 20 20 ead of a mt.
4650: 20 20 20 20 20 20 74 63 6c 73 68 20 73 68 6f 75 tclsh shou
4660: 6c 64 20 77 6f 72 6b 20 6a 75 73 74 20 66 69 6e ld work just fin
4670: 65 2e 20 42 75 74 20 6e 65 76 65 72 20 65 76 65 e. But never eve
4680: 72 20 75 73 65 20 61 20 6e 6f 6e 2d 6d 74 0a 20 r use a non-mt.
4690: 20 20 20 20 20 20 20 20 20 74 44 4f 4d 20 69 6e tDOM in
46a0: 20 73 65 76 65 72 61 6c 20 74 68 72 65 61 64 73 several threads
46b0: 20 6f 66 20 61 20 6d 74 20 74 63 6c 73 68 2e 20 of a mt tclsh.
46c0: 54 68 61 74 20 6d 61 79 20 63 72 61 73 68 0a 20 That may crash.
46d0: 20 20 20 20 20 20 20 20 20 72 61 6e 64 6f 6d 6c randoml
46e0: 79 2e 20 55 73 65 2c 20 68 6f 77 20 73 75 72 70 y. Use, how surp
46f0: 72 69 73 69 6e 67 2c 20 61 6e 20 6d 74 2d 65 6e rising, an mt-en
4700: 61 62 6c 65 64 20 74 44 4f 4d 20 66 6f 72 0a 20 abled tDOM for.
4710: 20 20 20 20 20 20 20 20 20 74 68 61 74 2e 20 54 that. T
4720: 68 69 73 20 77 69 6c 6c 20 77 6f 72 6b 20 66 69 his will work fi
4730: 6e 65 2e 0a 20 20 20 20 20 20 20 20 20 20 55 73 ne.. Us
4740: 69 6e 67 20 61 20 6d 74 20 61 77 61 72 65 20 74 ing a mt aware t
4750: 44 4f 4d 20 77 69 74 68 69 6e 20 61 20 6e 6f 6e DOM within a non
4760: 2d 74 6d 20 74 63 6c 73 68 20 69 73 20 6c 69 74 -tm tclsh is lit
4770: 74 6c 65 20 62 69 74 0a 20 20 20 20 20 20 20 20 tle bit.
4780: 20 20 73 6c 6f 77 65 72 20 61 6e 64 20 6d 65 6d slower and mem
4790: 6f 72 79 20 64 65 6d 61 6e 64 69 6e 67 2e 20 49 ory demanding. I
47a0: 74 20 77 69 6c 6c 20 61 6c 73 6f 20 68 61 76 65 t will also have
47b0: 20 61 20 66 65 77 0a 20 20 20 20 20 20 20 20 20 a few.
47c0: 20 6d 65 74 68 6f 64 73 2c 20 74 68 61 74 20 61 methods, that a
47d0: 72 65 20 73 75 70 65 72 66 6c 75 6f 75 73 20 77 re superfluous w
47e0: 69 74 68 69 6e 20 74 68 65 20 6e 6f 6e 2d 74 6d ithin the non-tm
47f0: 20 74 63 6c 0a 20 20 20 20 20 20 20 20 20 20 63 tcl. c
4800: 6f 6e 74 65 78 74 2e 20 49 74 20 73 68 6f 75 6c ontext. It shoul
4810: 64 20 61 6c 77 61 79 73 20 77 6f 72 6b 2c 20 62 d always work, b
4820: 75 74 20 66 6f 72 20 62 65 73 74 20 72 65 73 75 ut for best resu
4830: 6c 74 73 20 75 73 65 20 61 0a 20 20 20 20 20 20 lts use a.
4840: 20 20 20 20 6e 6f 6e 2d 6d 74 20 74 44 4f 4d 20 non-mt tDOM
4850: 77 69 74 68 20 6e 6f 6e 2d 6d 74 20 74 63 6c 73 with non-mt tcls
4860: 68 2e 0a 0a 32 30 30 35 2d 30 38 2d 32 30 20 20 h...2005-08-20
4870: 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 Rolf Ade <rolf@
4880: 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 pointsman.de>..
4890: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
48a0: 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a /dom.c. *
48b0: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 3a 20 generic/dom.h:
48c0: 41 64 64 65 64 20 66 75 6e 63 74 69 6f 6e 20 64 Added function d
48d0: 6f 6d 50 72 65 76 69 6f 75 73 53 69 62 6c 69 6e omPreviousSiblin
48e0: 67 28 29 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 g()... *
48f0: 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e generic/domxslt.
4900: 63 3a 20 42 75 67 20 66 69 78 3a 20 55 73 65 20 c: Bug fix: Use
4910: 64 6f 6d 50 72 65 76 69 6f 75 73 53 69 62 6c 69 domPreviousSibli
4920: 6e 67 28 29 20 69 6e 0a 20 20 20 20 20 20 20 20 ng() in.
4930: 20 20 78 73 6c 74 4e 75 6d 62 65 72 28 29 20 74 xsltNumber() t
4940: 6f 20 70 72 65 76 65 6e 74 20 65 72 72 6f 6e 65 o prevent errone
4950: 6f 75 73 20 72 65 73 75 6c 74 73 2c 20 69 66 20 ous results, if
4960: 61 74 74 72 69 62 75 74 65 0a 20 20 20 20 20 20 attribute.
4970: 20 20 20 20 6e 6f 64 65 73 20 61 72 65 20 69 6e nodes are in
4980: 76 6f 6c 76 65 64 20 69 6e 20 74 68 65 20 6e 75 volved in the nu
4990: 6d 62 65 72 69 6e 67 2e 0a 0a 32 30 30 35 2d 30 mbering...2005-0
49a0: 36 2d 31 30 20 20 52 6f 6c 66 20 41 64 65 20 20 6-10 Rolf Ade
49b0: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
49c0: 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 de>.. * g
49d0: 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 eneric/dom.c.
49e0: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
49f0: 6f 6d 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 om.h. * g
4a00: 65 6e 65 72 69 63 2f 64 6f 6d 68 74 6d 6c 2e 63 eneric/domhtml.c
4a10: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
4a20: 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 ic/tcldom.c.
4a30: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 78 6d * generic/xm
4a40: 6c 73 69 6d 70 6c 65 2e 63 3a 20 49 6e 74 65 72 lsimple.c: Inter
4a50: 6e 61 6c 20 64 69 73 70 65 72 73 69 6f 6e 3a 20 nal dispersion:
4a60: 43 6c 65 61 6e 65 64 20 75 70 0a 20 20 20 20 20 Cleaned up.
4a70: 20 20 20 20 20 72 6f 6f 74 4e 6f 64 65 2f 74 6f rootNode/to
4a80: 70 6c 65 76 65 6c 20 6e 6f 64 65 73 20 63 6f 6e plevel nodes con
4a90: 6e 65 63 74 69 6f 6e 2c 20 61 64 64 65 64 20 6e nection, added n
4aa0: 65 77 20 66 75 6e 63 74 69 6f 6e 0a 20 20 20 20 ew function.
4ab0: 20 20 20 20 20 20 64 6f 6d 53 65 74 44 6f 63 75 domSetDocu
4ac0: 6d 65 6e 74 45 6c 65 6d 65 6e 74 2e 0a 0a 20 20 mentElement...
4ad0: 20 20 20 20 20 20 2a 20 74 63 6c 64 6f 6d 2e 63 * tcldom.c
4ae0: 3a 20 43 6c 6f 73 65 64 20 6d 65 6d 6f 72 79 20 : Closed memory
4af0: 6c 65 61 6b 20 69 6e 20 63 61 73 65 20 6f 66 20 leak in case of
4b00: 6e 6f 74 20 77 65 6c 6c 2d 66 6f 72 6d 65 64 0a not well-formed.
4b10: 20 20 20 20 20 20 20 20 20 20 69 6e 70 75 74 20 input
4b20: 74 6f 20 74 68 65 20 73 69 6d 70 6c 65 20 6f 72 to the simple or
4b30: 20 68 74 6d 6c 20 70 61 72 73 65 72 2e 20 20 0a html parser. .
4b40: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
4b50: 69 63 2f 64 6f 6d 6c 6f 63 6b 2e 68 3a 20 52 65 ic/domlock.h: Re
4b60: 6d 6f 76 65 64 20 75 6e 75 73 65 64 20 76 61 72 moved unused var
4b70: 69 61 62 6c 65 2e 0a 0a 20 20 20 20 20 20 20 20 iable...
4b80: 2a 20 74 65 73 74 73 2f 64 6f 6d 2e 74 65 73 74 * tests/dom.test
4b90: 3a 20 41 64 64 65 64 20 74 65 73 74 2c 20 74 6f : Added test, to
4ba0: 20 64 6f 63 75 6d 65 6e 74 20 68 61 6e 64 6c 69 document handli
4bb0: 6e 67 20 6f 66 20 77 68 69 74 65 0a 20 20 20 20 ng of white.
4bc0: 20 20 20 20 20 20 73 70 61 63 65 20 6f 75 74 73 space outs
4bd0: 69 64 65 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 ide the document
4be0: 20 65 6c 65 6d 65 6e 74 20 65 76 65 6e 20 69 6e element even in
4bf0: 20 63 61 73 65 20 6f 66 0a 20 20 20 20 20 20 20 case of.
4c00: 20 20 20 2d 6b 65 65 70 45 6d 70 74 69 65 73 20 -keepEmpties
4c10: 28 69 74 27 73 20 6d 61 72 6b 75 70 20 77 68 69 (it's markup whi
4c20: 74 65 20 73 70 61 63 65 20 61 6e 64 20 77 69 6c te space and wil
4c30: 6c 20 62 65 20 72 65 6d 6f 76 65 64 29 2e 0a 0a l be removed)...
4c40: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
4c50: 64 6f 6d 44 6f 63 2e 74 65 73 74 0a 20 20 20 20 domDoc.test.
4c60: 20 20 20 20 2a 20 74 65 73 74 73 2f 68 74 6d 6c * tests/html
4c70: 72 65 61 64 65 72 2e 74 65 73 74 0a 20 20 20 20 reader.test.
4c80: 20 20 20 20 2a 20 74 65 73 74 73 2f 78 6d 6c 73 * tests/xmls
4c90: 69 6d 70 6c 65 2e 74 65 73 74 3a 20 41 64 64 65 imple.test: Adde
4ca0: 64 20 61 20 66 65 77 20 74 65 73 74 73 2e 0a 0a d a few tests...
4cb0: 32 30 30 35 2d 30 35 2d 31 33 20 20 52 6f 6c 66 2005-05-13 Rolf
4cc0: 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e Ade <rolf@poin
4cd0: 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 tsman.de>..
4ce0: 20 20 20 2a 20 74 65 73 74 73 2f 68 74 6d 6c 72 * tests/htmlr
4cf0: 65 61 64 65 72 2e 74 65 73 74 0a 20 20 20 20 20 eader.test.
4d00: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
4d10: 68 74 6d 6c 2e 63 3a 20 46 69 78 65 64 20 73 65 html.c: Fixed se
4d20: 67 20 66 61 75 6c 74 20 69 6e 20 63 61 73 65 20 g fault in case
4d30: 6f 66 20 73 6f 6d 65 20 67 61 72 62 61 67 65 0a of some garbage.
4d40: 20 20 20 20 20 20 20 20 20 20 69 6e 70 75 74 2e input.
4d50: 0a 0a 32 30 30 35 2d 30 35 2d 31 32 20 20 52 6f ..2005-05-12 Ro
4d60: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
4d70: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
4d80: 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d * tests/dom
4d90: 4e 6f 64 65 2e 74 65 73 74 0a 20 20 20 20 20 20 Node.test.
4da0: 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 * generic/tcld
4db0: 6f 6d 2e 63 3a 20 46 69 78 3a 20 64 6f 6d 4e 6f om.c: Fix: domNo
4dc0: 64 65 20 6e 6f 64 65 56 61 6c 75 65 20 24 6e 65 de nodeValue $ne
4dd0: 77 56 61 6c 75 65 20 64 69 64 6e 27 74 0a 20 20 wValue didn't.
4de0: 20 20 20 20 20 20 20 20 63 68 65 63 6b 20 74 68 check th
4df0: 65 20 6e 65 77 56 61 6c 75 65 20 66 6f 72 20 62 e newValue for b
4e00: 65 69 6e 67 20 76 61 6c 69 64 20 70 63 64 61 74 eing valid pcdat
4e10: 61 2e 0a 0a 32 30 30 35 2d 30 35 2d 30 32 20 20 a...2005-05-02
4e20: 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 Rolf Ade <rolf@
4e30: 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 pointsman.de>..
4e40: 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 70 * tests/p
4e50: 61 72 73 65 72 2e 74 65 73 74 20 20 20 20 0a 20 arser.test .
4e60: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
4e70: 2f 74 63 6c 65 78 70 61 74 2e 63 3a 20 42 75 67 /tclexpat.c: Bug
4e80: 20 66 69 78 3a 20 65 78 70 61 74 20 70 61 72 73 fix: expat pars
4e90: 65 72 20 6d 65 74 68 6f 64 0a 20 20 20 20 20 20 er method.
4ea0: 20 20 20 20 70 61 72 73 65 63 68 61 6e 6e 65 6c parsechannel
4eb0: 20 64 69 64 6e 27 74 20 28 64 65 70 65 6e 64 69 didn't (dependi
4ec0: 6e 67 20 6f 6e 20 74 68 65 20 65 6e 63 6f 64 69 ng on the encodi
4ed0: 6e 67 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 ng of the.
4ee0: 20 20 20 20 63 68 61 6e 6e 65 6c 29 20 72 65 70 channel) rep
4ef0: 6f 72 74 20 70 61 72 73 69 6e 67 20 65 72 72 6f ort parsing erro
4f00: 72 73 2e 0a 0a 32 30 30 35 2d 30 34 2d 31 31 20 rs...2005-04-11
4f10: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
4f20: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
4f30: 20 20 20 20 20 20 20 20 2a 20 74 63 6c 63 6f 6e * tclcon
4f40: 66 69 67 2f 43 68 61 6e 67 65 4c 6f 67 0a 20 20 fig/ChangeLog.
4f50: 20 20 20 20 20 20 2a 20 74 63 6c 63 6f 6e 66 69 * tclconfi
4f60: 67 2f 61 63 5f 63 5f 62 69 67 65 6e 64 69 61 6e g/ac_c_bigendian
4f70: 5f 63 72 6f 73 73 2e 6d 34 3a 20 44 65 6c 65 74 _cross.m4: Delet
4f80: 65 64 2e 20 20 20 20 20 0a 20 20 20 20 20 20 20 ed. .
4f90: 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 . *
4fa0: 74 63 6c 63 6f 6e 66 69 67 2f 52 45 41 44 4d 45 tclconfig/README
4fb0: 2e 74 78 74 3a 20 55 70 64 61 74 65 64 2e 20 20 .txt: Updated.
4fc0: 20 20 0a 0a 20 20 20 20 20 20 20 20 2a 20 61 70 .. * ap
4fd0: 70 73 2f 78 73 6c 74 2e 74 63 6c 3a 20 55 70 64 ps/xslt.tcl: Upd
4fe0: 61 74 65 64 20 74 6f 20 72 65 71 75 65 73 74 20 ated to request
4ff0: 74 64 6f 6d 20 30 2e 38 2e 31 2e 0a 0a 20 20 20 tdom 0.8.1...
5000: 20 20 20 20 20 2a 20 4d 61 6b 65 66 69 6c 65 2e * Makefile.
5010: 69 6e 0a 20 20 20 20 20 20 20 20 2a 20 63 6f 6e in. * con
5020: 66 69 67 75 72 65 0a 20 20 20 20 20 20 20 20 2a figure. *
5030: 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 0a 20 20 configure.in.
5040: 20 20 20 20 20 20 2a 20 74 64 6f 6d 2e 6d 34 0a * tdom.m4.
5050: 20 20 20 20 20 20 20 20 2a 20 74 64 6f 6d 43 6f * tdomCo
5060: 6e 66 69 67 2e 73 68 2e 69 6e 0a 20 20 20 20 20 nfig.sh.in.
5070: 20 20 20 2a 20 74 63 6c 63 6f 6e 66 69 67 2f 74 * tclconfig/t
5080: 63 6c 2e 6d 34 0a 20 20 20 20 20 20 20 20 2a 20 cl.m4. *
5090: 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f 4d extensions/tnc/M
50a0: 61 6b 65 66 69 6c 65 2e 69 6e 0a 20 20 20 20 20 akefile.in.
50b0: 20 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f * extensions/
50c0: 74 6e 63 2f 63 6f 6e 66 69 67 75 72 65 0a 20 20 tnc/configure.
50d0: 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f * extensio
50e0: 6e 73 2f 74 6e 63 2f 63 6f 6e 66 69 67 75 72 65 ns/tnc/configure
50f0: 2e 69 6e 0a 20 20 20 20 20 20 20 20 2a 20 65 78 .in. * ex
5100: 74 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f 74 6e 63 tensions/tnc/tnc
5110: 2e 63 3a 20 55 70 64 61 74 65 64 20 74 6f 20 75 .c: Updated to u
5120: 73 65 20 54 45 41 20 33 2e 32 2e 20 54 68 61 6e se TEA 3.2. Than
5130: 6b 73 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 ks to.
5140: 44 61 6e 69 65 6c 20 41 2e 20 53 74 65 66 66 65 Daniel A. Steffe
5150: 6e 20 61 6e 64 20 41 6e 64 72 65 61 73 20 4b 75 n and Andreas Ku
5160: 70 72 69 65 73 20 66 6f 72 20 69 6e 70 75 74 2e pries for input.
5170: 0a 20 20 20 20 20 20 20 20 0a 32 30 30 35 2d 30 . .2005-0
5180: 34 2d 30 34 20 20 52 6f 6c 66 20 41 64 65 20 20 4-04 Rolf Ade
5190: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
51a0: 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 65 de>.. * e
51b0: 78 70 61 74 2f 65 78 70 61 74 2e 68 3a 20 52 65 xpat/expat.h: Re
51c0: 6d 6f 76 65 64 20 6c 61 73 74 20 63 6f 6d 6d 61 moved last comma
51d0: 20 69 6e 20 65 6e 75 6d 20 58 4d 4c 5f 53 74 61 in enum XML_Sta
51e0: 74 75 73 0a 20 20 20 20 20 20 20 20 20 20 64 65 tus. de
51f0: 63 6c 61 72 61 74 69 6f 6e 2c 20 74 6f 20 70 72 claration, to pr
5200: 65 76 65 6e 74 20 63 6f 6d 70 69 6c 65 72 20 65 event compiler e
5210: 72 72 6f 72 73 20 28 78 6c 63 20 6f 6e 20 41 49 rrors (xlc on AI
5220: 58 0a 20 20 20 20 20 20 20 20 20 20 36 34 29 2e X. 64).
5230: 20 28 43 75 72 72 65 6e 74 20 65 78 70 61 74 20 (Current expat
5240: 43 56 53 20 68 65 61 64 20 68 61 73 20 74 68 65 CVS head has the
5250: 20 73 61 6d 65 20 66 69 78 2e 29 0a 0a 32 30 30 same fix.)..200
5260: 35 2d 30 33 2d 32 36 20 20 52 6f 6c 66 20 41 64 5-03-26 Rolf Ad
5270: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
5280: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
5290: 2a 20 74 65 73 74 73 2f 78 73 6c 74 2e 74 65 73 * tests/xslt.tes
52a0: 74 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 t . *
52b0: 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 3a 20 46 generic/dom.c: F
52c0: 69 78 20 69 6e 20 64 6f 6d 41 70 70 65 6e 64 4e ix in domAppendN
52d0: 65 77 45 6c 65 6d 65 6e 74 4e 6f 64 65 28 29 2c ewElementNode(),
52e0: 0a 20 20 20 20 20 20 20 20 20 20 64 6f 6d 41 70 . domAp
52f0: 70 65 6e 64 4c 69 74 65 72 61 6c 4e 6f 64 65 28 pendLiteralNode(
5300: 29 20 61 6e 64 20 64 6f 6d 41 70 70 65 6e 64 4e ) and domAppendN
5310: 65 77 54 65 78 74 4e 6f 64 65 28 29 3a 20 69 66 ewTextNode(): if
5320: 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 63 the. c
5330: 72 65 61 74 65 64 20 6e 6f 64 65 20 69 73 20 61 reated node is a
5340: 20 63 68 69 6c 64 20 6f 66 20 64 6f 63 2d 3e 72 child of doc->r
5350: 6f 6f 74 2c 20 73 65 74 20 74 68 65 20 70 61 72 oot, set the par
5360: 65 6e 74 4e 6f 64 65 0a 20 20 20 20 20 20 20 20 entNode.
5370: 20 20 61 63 63 6f 72 64 69 6e 67 2e 0a 0a 20 20 according...
5380: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
5390: 64 6f 6d 78 73 6c 74 2e 63 3a 20 52 65 6d 6f 76 domxslt.c: Remov
53a0: 65 64 20 28 61 6e 79 77 61 79 20 6e 6f 74 20 63 ed (anyway not c
53b0: 6f 72 72 65 63 74 6c 79 20 77 6f 72 6b 69 6e 67 orrectly working
53c0: 29 0a 20 20 20 20 20 20 20 20 20 20 77 6f 72 6b ). work
53d0: 2d 61 72 6f 75 6e 64 20 74 6f 20 73 65 74 20 70 -around to set p
53e0: 61 72 65 6e 74 20 6f 66 20 74 68 65 20 63 68 69 arent of the chi
53f0: 6c 64 73 20 6f 66 20 64 6f 63 2d 3e 72 6f 6f 74 lds of doc->root
5400: 0a 20 20 20 20 20 20 20 20 20 20 28 70 72 6f 62 . (prob
5410: 6c 65 6d 20 6e 6f 77 20 63 6f 72 72 65 63 74 6c lem now correctl
5420: 79 20 66 69 78 65 64 20 62 79 20 63 68 61 6e 67 y fixed by chang
5430: 65 73 20 69 6e 20 64 6f 6d 2e 63 29 2e 0a 0a 20 es in dom.c)...
5440: 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 * tests/d
5450: 6f 6d 4e 6f 64 65 2e 74 65 73 74 0a 20 20 20 20 omNode.test.
5460: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 6e 6f * generic/no
5470: 64 65 63 6d 64 2e 63 3a 20 43 68 61 6e 67 65 73 decmd.c: Changes
5480: 2c 20 74 6f 20 70 72 65 70 61 72 65 20 61 64 64 , to prepare add
5490: 69 6e 67 20 6f 66 20 6e 6f 64 65 0a 20 20 20 20 ing of node.
54a0: 20 20 20 20 20 20 63 72 65 61 74 69 6e 67 20 63 creating c
54b0: 6d 64 73 2c 20 77 68 69 63 68 20 63 72 65 61 74 mds, which creat
54c0: 65 73 20 6e 61 6d 65 73 70 61 63 65 20 61 77 61 es namespace awa
54d0: 72 65 20 6e 6f 64 65 73 2e 20 20 0a 0a 32 30 30 re nodes. ..200
54e0: 35 2d 30 33 2d 32 31 20 20 52 6f 6c 66 20 41 64 5-03-21 Rolf Ad
54f0: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
5500: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
5510: 2a 20 74 65 73 74 73 2f 64 6f 6d 44 6f 63 2e 74 * tests/domDoc.t
5520: 65 73 74 3a 20 46 69 78 65 64 20 66 6c 61 77 65 est: Fixed flawe
5530: 64 20 74 65 73 74 2c 20 77 68 69 63 68 20 73 6c d test, which sl
5540: 69 70 70 65 64 20 74 68 72 6f 75 67 68 2c 0a 20 ipped through,.
5550: 20 20 20 20 20 20 20 20 20 73 6f 6d 65 68 6f 77 somehow
5560: 2e 0a 0a 32 30 30 35 2d 30 33 2d 31 38 20 20 52 ...2005-03-18 R
5570: 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 olf Ade <rolf@p
5580: 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 ointsman.de>..
5590: 20 20 20 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 44 * doc/domD
55a0: 6f 63 2e 2a 0a 20 20 20 20 20 20 20 20 2a 20 64 oc.*. * d
55b0: 6f 63 2f 64 6f 6d 4e 6f 64 65 2e 2a 0a 20 20 20 oc/domNode.*.
55c0: 20 20 20 20 20 2a 20 43 48 41 4e 47 45 53 0a 20 * CHANGES.
55d0: 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 * tests/d
55e0: 6f 6d 44 6f 63 2e 74 65 73 74 0a 20 20 20 20 20 omDoc.test.
55f0: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c * generic/tcl
5600: 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 dom.c. *
5610: 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 0a 20 20 generic/dom.h.
5620: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
5630: 64 6f 6d 2e 63 3a 20 41 64 64 65 64 20 64 6f 63 dom.c: Added doc
5640: 75 6d 65 6e 74 20 6d 65 74 68 6f 64 20 73 65 6c ument method sel
5650: 65 63 74 4e 6f 64 65 73 4e 61 6d 65 73 70 61 63 ectNodesNamespac
5660: 65 73 2c 0a 20 20 20 20 20 20 20 20 20 20 74 6f es,. to
5670: 20 70 72 6f 76 69 64 65 20 61 20 64 6f 63 75 6d provide a docum
5680: 65 6e 74 20 67 6c 6f 62 61 6c 20 58 50 61 74 68 ent global XPath
5690: 20 70 72 65 66 69 78 2f 6e 61 6d 65 73 70 61 63 prefix/namespac
56a0: 65 20 6d 61 70 70 69 6e 67 2e 0a 0a 32 30 30 35 e mapping...2005
56b0: 2d 30 33 2d 31 32 20 20 52 6f 6c 66 20 41 64 65 -03-12 Rolf Ade
56c0: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
56d0: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
56e0: 20 74 65 73 74 73 2f 78 73 6c 74 2e 74 65 73 74 tests/xslt.test
56f0: 3a 20 41 64 64 65 64 20 74 77 6f 20 74 65 73 74 : Added two test
5700: 73 20 61 62 6f 75 74 20 74 77 6f 20 73 75 62 74 s about two subt
5710: 6c 65 74 69 65 73 20 6f 66 0a 20 20 20 20 20 20 leties of.
5720: 20 20 20 20 74 68 65 20 58 50 61 74 68 20 73 79 the XPath sy
5730: 6e 74 61 78 3a 20 77 68 69 74 65 20 73 70 61 63 ntax: white spac
5740: 65 20 62 65 74 77 65 65 6e 20 74 68 65 20 24 20 e between the $
5750: 61 6e 64 20 61 20 76 61 72 6e 61 6d 65 0a 20 20 and a varname.
5760: 20 20 20 20 20 20 20 20 61 72 65 20 6e 6f 74 20 are not
5770: 61 6c 6c 6f 77 65 64 2c 20 77 68 69 6c 65 20 77 allowed, while w
5780: 68 69 74 65 20 73 70 61 63 65 20 62 65 74 77 65 hite space betwe
5790: 65 6e 20 74 68 65 20 62 72 61 63 65 73 20 6f 66 en the braces of
57a0: 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 28 . node(
57b0: 29 20 69 73 20 61 6c 6c 6f 77 65 64 2e 0a 0a 32 ) is allowed...2
57c0: 30 30 35 2d 30 33 2d 31 31 20 20 52 6f 6c 66 20 005-03-11 Rolf
57d0: 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
57e0: 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
57f0: 20 20 2a 20 67 65 6e 65 72 69 63 2f 6e 6f 64 65 * generic/node
5800: 63 6d 64 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 cmd.c. *
5810: 74 65 73 74 73 2f 64 6f 6d 2e 74 65 73 74 3a 20 tests/dom.test:
5820: 55 73 69 6e 67 20 6f 66 20 61 20 6e 6f 64 65 20 Using of a node
5830: 63 72 65 61 74 69 6e 67 20 63 6f 6d 6d 61 6e 64 creating command
5840: 20 6f 75 74 73 69 64 65 20 6f 66 0a 20 20 20 20 outside of.
5850: 20 20 20 20 20 20 6e 6f 64 65 20 63 6f 6e 74 65 node conte
5860: 78 74 20 61 66 74 65 72 20 74 68 61 74 20 6e 6f xt after that no
5870: 64 65 20 63 72 65 61 74 69 6e 67 20 63 6f 6d 6d de creating comm
5880: 61 6e 64 20 77 61 73 20 61 6c 72 65 61 64 79 0a and was already.
5890: 20 20 20 20 20 20 20 20 20 20 75 73 65 64 20 69 used i
58a0: 6e 20 6e 6f 64 65 20 63 6f 6e 74 65 78 74 20 64 n node context d
58b0: 69 64 6e 27 74 20 72 61 69 73 65 64 20 65 72 72 idn't raised err
58c0: 6f 72 20 28 61 73 20 69 74 20 73 68 6f 75 6c 64 or (as it should
58d0: 29 20 62 75 74 0a 20 20 20 20 20 20 20 20 20 20 ) but.
58e0: 63 6f 75 6c 64 20 68 61 76 65 20 61 6c 6c 20 6b could have all k
58f0: 69 6e 64 73 20 6f 66 20 65 66 66 65 63 74 73 20 inds of effects
5900: 28 69 6e 63 6c 75 64 69 6e 67 20 73 65 67 20 66 (including seg f
5910: 61 75 6c 74 29 2e 0a 0a 32 30 30 35 2d 30 32 2d ault)...2005-02-
5920: 32 36 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 26 Rolf Ade <r
5930: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
5940: 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e >.. * gen
5950: 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 46 eric/tcldom.c: F
5960: 69 78 20 66 6f 72 20 4d 54 2d 65 6e 61 62 6c 65 ix for MT-enable
5970: 64 20 74 44 4f 4d 3a 20 49 66 20 61 20 64 6f 63 d tDOM: If a doc
5980: 20 77 61 73 0a 20 20 20 20 20 20 20 20 20 20 61 was. a
5990: 74 74 61 63 68 65 64 20 74 6f 20 6d 6f 72 65 20 ttached to more
59a0: 74 68 61 6e 20 6f 6e 65 20 74 68 72 65 61 64 2c than one thread,
59b0: 20 6e 6f 64 65 43 6d 64 20 63 72 65 61 74 69 6f nodeCmd creatio
59c0: 6e 20 77 61 73 0a 20 20 20 20 20 20 20 20 20 20 n was.
59d0: 62 6f 72 6b 65 6e 20 28 6f 6e 6c 79 20 6f 6e 65 borken (only one
59e0: 20 74 68 72 65 61 64 20 67 6f 74 20 61 20 6e 6f thread got a no
59f0: 64 65 43 6d 64 20 66 6f 72 20 61 20 67 69 76 65 deCmd for a give
5a00: 6e 20 6e 6f 64 65 29 2e 0a 0a 32 30 30 35 2d 30 n node)...2005-0
5a10: 32 2d 30 33 20 20 52 6f 6c 66 20 41 64 65 20 20 2-03 Rolf Ade
5a20: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
5a30: 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 de>.. * g
5a40: 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 eneric/domxslt.c
5a50: 3a 20 42 75 67 20 66 69 78 3a 20 63 75 72 72 65 : Bug fix: curre
5a60: 6e 74 28 29 20 64 69 64 20 6e 6f 74 20 77 6f 72 nt() did not wor
5a70: 6b 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 78 k in. x
5a80: 73 6c 3a 6b 65 79 20 75 73 65 20 65 78 70 72 65 sl:key use expre
5a90: 73 73 69 6f 6e 73 2e 20 4d 6f 76 65 64 20 73 65 ssions. Moved se
5aa0: 74 74 69 6e 67 20 6f 66 20 78 73 2d 3e 63 75 72 tting of xs->cur
5ab0: 72 65 6e 74 20 66 72 6f 6d 0a 20 20 20 20 20 20 rent from.
5ac0: 20 20 20 20 61 6c 6c 20 61 62 6f 75 74 20 74 68 all about th
5ad0: 65 20 70 6c 61 63 65 20 69 6e 74 6f 20 65 76 61 e place into eva
5ae0: 6c 58 50 61 74 68 2e 20 41 20 62 69 74 20 63 6f lXPath. A bit co
5af0: 64 65 20 6d 61 73 73 61 67 65 2c 20 74 6f 0a 20 de massage, to.
5b00: 20 20 20 20 20 20 20 20 20 61 76 6f 69 64 20 62 avoid b
5b10: 6f 67 75 73 20 63 6f 6d 70 69 6c 65 72 20 77 61 ogus compiler wa
5b20: 72 6e 69 6e 67 2e 0a 0a 20 20 20 20 20 20 20 20 rning...
5b30: 2a 20 64 6f 63 2f 64 6f 6d 44 6f 63 2e 2a 0a 20 * doc/domDoc.*.
5b40: 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 * tests/d
5b50: 6f 6d 44 6f 63 2e 74 65 73 74 20 20 0a 20 20 20 omDoc.test .
5b60: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
5b70: 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 om.c. * g
5b80: 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 eneric/domxslt.c
5b90: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
5ba0: 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 41 64 64 ic/tcldom.c: Add
5bb0: 65 64 20 73 75 70 70 6f 72 74 20 66 6f 72 20 78 ed support for x
5bc0: 73 6c 3a 6f 75 74 70 75 74 0a 20 20 20 20 20 20 sl:output.
5bd0: 20 20 20 20 63 64 61 74 61 2d 73 65 63 74 69 6f cdata-sectio
5be0: 6e 2d 65 6c 65 6d 65 6e 74 73 20 61 74 74 72 69 n-elements attri
5bf0: 62 75 74 65 2e 20 41 64 64 65 64 20 6d 65 74 68 bute. Added meth
5c00: 6f 64 0a 20 20 20 20 20 20 20 20 20 20 63 64 61 od. cda
5c10: 74 61 53 65 63 74 69 6f 6e 45 6c 65 6d 65 6e 74 taSectionElement
5c20: 73 20 74 6f 20 64 6f 6d 44 6f 63 73 2c 20 61 73 s to domDocs, as
5c30: 20 74 63 6c 20 69 6e 74 65 72 66 61 63 65 20 74 tcl interface t
5c40: 6f 0a 20 20 20 20 20 20 20 20 20 20 63 64 61 74 o. cdat
5c50: 61 2d 73 65 63 74 69 6f 6e 2d 65 6c 65 6d 65 6e a-section-elemen
5c60: 74 73 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 64 ts... * d
5c70: 6f 63 2f 64 6f 6d 44 6f 63 2e 2a 3a 20 41 64 64 oc/domDoc.*: Add
5c80: 65 64 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e ed documentation
5c90: 20 66 6f 72 20 74 68 65 20 64 6f 6d 44 6f 63 20 for the domDoc
5ca0: 6d 65 74 68 6f 64 0a 20 20 20 20 20 20 20 20 20 method.
5cb0: 20 69 6e 74 65 72 6e 61 6c 53 75 62 73 65 74 2e internalSubset.
5cc0: 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 .. * gene
5cd0: 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 3a 20 ric/domxpath.c:
5ce0: 45 64 69 74 6f 72 69 61 6c 20 63 68 61 6e 67 65 Editorial change
5cf0: 73 2e 0a 0a 32 30 30 35 2d 30 32 2d 30 32 20 20 s...2005-02-02
5d00: 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 Rolf Ade <rolf@
5d10: 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 pointsman.de>..
5d20: 20 20 20 20 20 20 20 2a 20 77 69 6e 2f 6d 61 6b * win/mak
5d30: 65 66 69 6c 65 2e 76 63 3a 20 55 70 64 61 74 65 efile.vc: Update
5d40: 64 20 74 6f 20 70 72 6f 76 69 64 65 20 74 68 65 d to provide the
5d50: 20 6e 65 77 20 64 65 66 69 6e 65 73 0a 20 20 20 new defines.
5d60: 20 20 20 20 20 20 20 50 41 43 4b 41 47 45 5f 4e PACKAGE_N
5d70: 41 4d 45 20 61 6e 64 20 50 41 43 4b 41 47 45 5f AME and PACKAGE_
5d80: 56 45 52 53 49 4f 4e 20 69 6e 74 72 6f 64 75 63 VERSION introduc
5d90: 65 64 20 62 79 20 74 68 65 20 75 70 64 61 74 65 ed by the update
5da0: 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 54 45 to. TE
5db0: 41 2d 33 20 73 75 70 70 6f 72 74 2e 0a 0a 32 30 A-3 support...20
5dc0: 30 35 2d 30 31 2d 31 39 20 20 52 6f 6c 66 20 41 05-01-19 Rolf A
5dd0: 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 de <rolf@points
5de0: 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 man.de>..
5df0: 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 * generic/dom.c
5e00: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
5e10: 69 63 2f 64 6f 6d 2e 68 0a 20 20 20 20 20 20 20 ic/dom.h.
5e20: 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 68 74 * generic/domht
5e30: 6d 6c 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 ml.c. * g
5e40: 65 6e 65 72 69 63 2f 78 6d 6c 73 69 6d 70 6c 65 eneric/xmlsimple
5e50: 2e 63 3a 20 52 65 6e 61 6d 65 64 20 65 78 70 6f .c: Renamed expo
5e60: 72 74 65 64 20 73 79 6d 62 6f 6c 73 20 61 74 74 rted symbols att
5e70: 72 4e 61 6d 65 73 20 61 6e 64 0a 20 20 20 20 20 rNames and.
5e80: 20 20 20 20 20 74 61 67 4e 61 6d 65 73 20 74 6f tagNames to
5e90: 20 74 64 6f 6d 5f 61 74 74 72 4e 61 6d 65 73 20 tdom_attrNames
5ea0: 61 6e 64 20 74 64 6f 6d 5f 74 61 67 4e 61 6d 65 and tdom_tagName
5eb0: 73 2c 20 74 6f 20 61 76 6f 69 64 20 6e 61 6d 65 s, to avoid name
5ec0: 0a 20 20 20 20 20 20 20 20 20 20 63 6c 61 73 68 . clash
5ed0: 2e 20 73 74 61 72 74 44 6f 63 74 79 70 65 44 65 . startDoctypeDe
5ee0: 63 6c 48 61 6e 64 6c 65 72 28 29 20 61 6e 64 0a clHandler() and.
5ef0: 20 20 20 20 20 20 20 20 20 20 65 6e 64 44 6f 63 endDoc
5f00: 74 79 70 65 44 65 63 6c 48 61 6e 64 6c 65 72 28 typeDeclHandler(
5f10: 29 3a 20 61 64 64 65 64 20 6d 69 73 73 69 6e 67 ): added missing
5f20: 20 73 74 61 74 69 63 2e 0a 0a 32 30 30 35 2d 30 static...2005-0
5f30: 31 2d 31 36 20 20 5a 6f 72 61 6e 20 56 61 73 69 1-16 Zoran Vasi
5f40: 6c 6a 65 76 69 63 20 20 3c 7a 76 40 61 72 63 68 ljevic <zv@arch
5f50: 69 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d iware.com>...* M
5f60: 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 20 20 20 20 akefile.in:
5f70: 20 20 20 20 20 20 20 20 20 20 20 20 42 75 6d 70 Bump
5f80: 65 64 20 76 65 72 73 69 6f 6e 20 74 6f 20 30 2e ed version to 0.
5f90: 38 2e 31 2e 0a 09 2a 20 63 6f 6e 66 69 67 75 72 8.1...* configur
5fa0: 65 3a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 e:
5fb0: 20 20 20 20 20 41 64 64 65 64 20 54 45 41 2d 33 Added TEA-3
5fc0: 20 73 75 70 70 6f 72 74 2e 0a 09 2a 20 63 6f 6e support...* con
5fd0: 66 69 67 75 72 65 2e 69 6e 3a 20 20 20 20 20 20 figure.in:
5fe0: 20 20 20 20 20 20 20 20 20 20 4d 61 64 65 20 41 Made A
5ff0: 4f 4c 73 65 72 76 65 72 20 34 2e 78 20 76 69 72 OLserver 4.x vir
6000: 74 75 61 6c 2d 73 65 72 76 65 72 20 61 77 61 72 tual-server awar
6010: 65 0a 09 2a 20 74 64 6f 6d 2e 6d 34 3a 20 20 20 e..* tdom.m4:
6020: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6030: 20 20 61 6e 64 20 61 64 64 65 64 20 65 78 61 6d and added exam
6040: 70 6c 65 73 20 68 6f 77 20 74 6f 20 62 75 69 6c ples how to buil
6050: 64 20 74 68 65 0a 09 2a 20 67 65 6e 65 72 69 63 d the..* generic
6060: 2f 61 6f 6c 73 74 75 62 2e 63 70 70 3a 20 20 20 /aolstub.cpp:
6070: 20 20 20 20 20 20 6c 69 62 20 61 73 20 41 4f 4c lib as AOL
6080: 73 65 72 76 65 72 20 6d 6f 64 75 6c 65 20 66 6f server module fo
6090: 72 20 34 2e 78 20 73 65 72 69 65 73 2e 0a 09 2a r 4.x series...*
60a0: 20 67 65 6e 65 72 69 63 2f 74 64 6f 6d 69 6e 69 generic/tdomini
60b0: 74 2e 63 3a 20 20 20 20 20 20 20 20 20 20 0a 09 t.c: ..
60c0: 2a 20 52 45 41 44 4d 45 3a 0a 09 2a 20 52 45 41 * README:..* REA
60d0: 44 4d 45 2e 41 4f 4c 3a 0a 09 2a 20 6d 61 63 2f DME.AOL:..* mac/
60e0: 50 72 65 66 69 78 2f 74 44 4f 4d 50 72 65 66 69 Prefix/tDOMPrefi
60f0: 78 2e 68 3a 0a 09 2a 20 6d 61 63 2f 50 72 65 66 x.h:..* mac/Pref
6100: 69 78 2f 74 44 4f 4d 50 72 65 66 69 78 5f 4f 53 ix/tDOMPrefix_OS
6110: 58 2e 68 3a 0a 09 2a 20 77 69 6e 2f 6d 61 6b 65 X.h:..* win/make
6120: 66 69 6c 65 2e 76 63 3a 0a 09 2a 20 77 69 6e 2f file.vc:..* win/
6130: 6d 61 6b 65 66 69 6c 65 38 30 35 2e 76 63 3a 0a makefile805.vc:.
6140: 09 2a 20 77 69 6e 2f 70 6b 67 49 6e 64 65 78 2e .* win/pkgIndex.
6150: 74 63 6c 3a 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 tcl:..* tclconfi
6160: 67 2f 43 68 61 6e 67 65 4c 6f 67 3a 0a 09 2a 20 g/ChangeLog:..*
6170: 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e 6d 34 tclconfig/tcl.m4
6180: 3a 0a 09 2a 20 74 65 73 74 73 2f 6c 6f 61 64 74 :..* tests/loadt
6190: 64 6f 6d 2e 74 63 6c 3a 0a 09 2a 20 75 6e 69 78 dom.tcl:..* unix
61a0: 2f 43 4f 4e 46 49 47 3a 0a 09 0a 32 30 30 35 2d /CONFIG:...2005-
61b0: 30 31 2d 31 31 20 20 52 6f 6c 66 20 41 64 65 20 01-11 Rolf Ade
61c0: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
61d0: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
61e0: 64 6f 63 2f 64 6f 6d 44 6f 63 2e 2a 0a 20 20 20 doc/domDoc.*.
61f0: 20 20 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 4e 6f * doc/domNo
6200: 64 65 2e 2a 3a 20 41 64 64 65 64 20 64 6f 63 75 de.*: Added docu
6210: 6d 65 6e 74 61 74 69 6f 6e 20 66 6f 72 20 74 68 mentation for th
6220: 65 20 2d 63 61 63 68 65 20 6f 70 74 69 6f 6e 20 e -cache option
6230: 6f 66 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 of. the
6240: 20 73 65 6c 65 63 74 4e 6f 64 65 73 20 6d 65 74 selectNodes met
6250: 68 6f 64 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 hod... *
6260: 6c 69 62 2f 74 64 6f 6d 2e 74 63 6c 3a 20 53 63 lib/tdom.tcl: Sc
6270: 72 69 70 74 65 64 20 78 70 61 74 68 20 66 75 6e ripted xpath fun
6280: 63 74 69 6f 6e 20 65 6c 65 6d 65 6e 74 2d 61 76 ction element-av
6290: 61 69 6c 61 62 6c 65 3a 0a 20 20 20 20 20 20 20 ailable:.
62a0: 20 20 20 6d 6f 76 65 64 20 78 73 6c 3a 6f 75 74 moved xsl:out
62b0: 70 75 74 20 74 6f 20 74 68 65 20 61 76 61 69 6c put to the avail
62c0: 61 62 6c 65 20 65 6c 65 6d 65 6e 74 73 2c 20 73 able elements, s
62d0: 69 6e 63 65 20 69 74 27 73 20 69 6e 0a 20 20 20 ince it's in.
62e0: 20 20 20 20 20 20 20 66 61 63 74 20 61 76 61 69 fact avai
62f0: 6c 61 62 6c 65 20 69 6e 20 74 68 65 20 6d 65 61 lable in the mea
6300: 6e 74 69 6d 65 20 28 77 69 74 68 20 65 78 63 65 ntime (with exce
6310: 70 74 69 6f 6e 20 6f 66 20 74 68 65 0a 20 20 20 ption of the.
6320: 20 20 20 20 20 20 20 27 76 65 72 73 69 6f 6e 27 'version'
6330: 20 61 6e 64 20 27 63 64 61 74 61 2d 73 65 63 74 and 'cdata-sect
6340: 69 6f 6e 2d 65 6c 65 6d 65 6e 74 73 27 20 61 74 ion-elements' at
6350: 74 72 69 62 75 74 65 73 29 20 2d 20 74 68 65 0a tributes) - the.
6360: 20 20 20 20 20 20 20 20 20 20 6f 75 74 70 75 74 output
6370: 20 6f 70 74 69 6f 6e 73 20 63 61 6e 20 62 65 20 options can be
6380: 71 75 65 72 69 65 64 20 66 72 6f 6d 20 74 68 65 queried from the
6390: 20 72 65 73 75 6c 74 20 64 6f 63 2c 20 62 75 74 result doc, but
63a0: 20 69 74 27 73 0a 20 20 20 20 20 20 20 20 20 20 it's.
63b0: 74 68 65 20 72 65 73 70 6f 6e 73 69 62 69 6c 69 the responsibili
63c0: 74 79 20 6f 66 20 74 68 65 20 61 70 70 6c 69 63 ty of the applic
63d0: 61 74 69 6f 6e 2c 20 74 6f 20 73 65 72 69 61 6c ation, to serial
63e0: 69 7a 65 20 74 68 65 20 74 72 65 65 0a 20 20 20 ize the tree.
63f0: 20 20 20 20 20 20 20 61 63 63 6f 72 64 69 6e 67 according
6400: 20 74 6f 20 74 68 61 74 20 73 65 74 74 69 6e 67 to that setting
6410: 73 2e 0a 0a 32 30 30 35 2d 30 31 2d 31 30 20 20 s...2005-01-10
6420: 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 Rolf Ade <rolf@
6430: 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 pointsman.de>..
6440: 20 20 20 20 20 20 20 2a 20 64 6f 63 2f 64 6f 6d * doc/dom
6450: 2e 2a 3a 20 43 6f 72 72 65 63 74 65 64 20 74 79 .*: Corrected ty
6460: 70 6f 2e 20 20 20 20 20 0a 0a 20 20 20 20 20 20 po. ..
6470: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e * generic/dom.
6480: 63 3a 20 46 69 78 65 64 20 61 20 6c 65 66 74 6f c: Fixed a lefto
6490: 76 65 72 20 72 65 66 65 72 65 6e 63 65 20 74 6f ver reference to
64a0: 20 65 6d 62 65 64 64 65 64 20 68 61 73 68 0a 20 embedded hash.
64b0: 20 20 20 20 20 20 20 20 20 74 61 62 6c 65 20 69 table i
64c0: 6e 20 64 6f 6d 44 6f 63 75 6d 65 6e 74 20 73 74 n domDocument st
64d0: 72 75 63 74 2e 0a 0a 32 30 30 35 2d 30 31 2d 31 ruct...2005-01-1
64e0: 30 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 0 Rolf Ade <ro
64f0: 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e lf@pointsman.de>
6500: 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 .. * gene
6510: 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 ric/dom.c.
6520: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e * generic/dom.
6530: 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 h. * gene
6540: 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 0a 20 ric/domxpath.c.
6550: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
6560: 2f 64 6f 6d 78 70 61 74 68 2e 68 0a 20 20 20 20 /domxpath.h.
6570: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 * generic/tc
6580: 6c 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a ldom.c. *
6590: 20 74 65 73 74 73 2f 64 6f 6d 4e 6f 64 65 2e 74 tests/domNode.t
65a0: 65 73 74 3a 20 44 6f 6e 27 74 20 65 6d 62 65 64 est: Don't embed
65b0: 20 54 63 6c 5f 48 61 73 68 54 61 62 6c 65 73 20 Tcl_HashTables
65c0: 69 6e 74 6f 20 64 6f 6d 20 44 6f 63 73 2c 0a 20 into dom Docs,.
65d0: 20 20 20 20 20 20 20 20 20 75 73 65 20 70 6f 69 use poi
65e0: 6e 74 65 72 73 20 74 6f 20 74 68 65 20 68 61 73 nters to the has
65f0: 68 20 74 61 62 6c 65 2e 20 41 64 64 65 64 20 2d h table. Added -
6600: 63 61 63 68 65 20 6f 70 74 69 6f 6e 20 74 6f 20 cache option to
6610: 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 73 65 the. se
6620: 6c 65 63 74 4e 6f 64 65 73 20 6d 65 74 68 6f 64 lectNodes method
6630: 2e 0a 0a 32 30 30 35 2d 30 31 2d 30 37 20 20 52 ...2005-01-07 R
6640: 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 olf Ade <rolf@p
6650: 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 ointsman.de>..
6660: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
6670: 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 dom.c. *
6680: 67 65 6e 65 72 69 63 2f 64 6f 6d 61 6c 6c 6f 63 generic/domalloc
6690: 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e .c. * gen
66a0: 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 0a 20 eric/domxslt.c.
66b0: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
66c0: 2f 64 6f 6d 78 70 61 74 68 2e 63 0a 20 20 20 20 /domxpath.c.
66d0: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 * generic/tc
66e0: 6c 65 78 70 61 74 2e 63 0a 20 20 20 20 20 20 20 lexpat.c.
66f0: 20 2a 20 67 65 6e 65 72 69 63 2f 6e 6f 64 65 63 * generic/nodec
6700: 6d 64 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 md.c. * g
6710: 65 6e 65 72 69 63 2f 6e 6f 64 65 63 6d 64 2e 68 eneric/nodecmd.h
6720: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
6730: 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 ic/tcldom.c.
6740: 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 44 * tests/domD
6750: 6f 63 2e 74 65 73 74 0a 20 20 20 20 20 20 20 20 oc.test.
6760: 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d * generic/tcldom
6770: 2e 68 3a 20 43 6c 65 61 6e 20 75 70 2c 20 74 6f .h: Clean up, to
6780: 20 64 65 63 72 65 61 73 65 20 28 69 6e 6e 6f 63 decrease (innoc
6790: 75 6f 75 73 29 20 63 6f 6d 70 69 6c 65 72 0a 20 uous) compiler.
67a0: 20 20 20 20 20 20 20 20 20 77 61 72 6e 69 6e 67 warning
67b0: 73 20 28 74 68 61 6e 6b 73 20 74 6f 20 50 61 74 s (thanks to Pat
67c0: 20 54 68 6f 79 74 73 20 66 6f 72 20 74 72 69 67 Thoyts for trig
67d0: 67 65 72 69 6e 67 20 69 6e 70 75 74 20 61 6e 64 gering input and
67e0: 0a 20 20 20 20 20 20 20 20 20 20 70 61 74 63 68 . patch
67f0: 29 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 77 69 )... * wi
6800: 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 3a 20 49 n/makefile.vc: I
6810: 6d 70 72 6f 76 65 64 20 56 43 2b 2b 20 63 6f 6d mproved VC++ com
6820: 70 69 6c 65 72 20 6d 61 6b 65 66 69 6c 65 2e 20 piler makefile.
6830: 54 68 61 6e 6b 73 20 74 6f 0a 20 20 20 20 20 20 Thanks to.
6840: 20 20 20 20 50 61 74 20 54 68 6f 79 74 73 20 66 Pat Thoyts f
6850: 6f 72 20 63 6f 6e 74 72 69 62 75 74 69 6f 6e 2e or contribution.
6860: 0a 0a 20 20 20 20 20 20 20 20 2a 20 77 69 6e 2f .. * win/
6870: 6e 6d 61 6b 65 68 6c 70 2e 63 0a 20 20 20 20 20 nmakehlp.c.
6880: 20 20 20 2a 20 77 69 6e 2f 72 75 6c 65 73 2e 76 * win/rules.v
6890: 63 0a 20 20 20 20 20 20 20 20 2a 20 77 69 6e 2f c. * win/
68a0: 74 64 6f 6d 2e 72 63 3a 20 41 64 64 65 64 20 74 tdom.rc: Added t
68b0: 68 69 73 20 66 69 6c 65 73 2e 20 54 68 61 6e 6b his files. Thank
68c0: 73 20 74 6f 20 50 61 74 20 54 68 6f 79 74 73 20 s to Pat Thoyts
68d0: 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 63 6f for. co
68e0: 6e 74 72 69 62 75 74 69 6f 6e 2e 20 20 20 20 20 ntribution.
68f0: 20 0a 0a 32 30 30 35 2d 30 31 2d 30 36 20 20 52 ..2005-01-06 R
6900: 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 olf Ade <rolf@p
6910: 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 20 20 20 ointsman.de>.
6920: 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 . *
6930: 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 generic/tcldom.c
6940: 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 . * tests
6950: 2f 64 6f 6d 44 6f 63 2e 74 65 73 74 0a 20 20 20 /domDoc.test.
6960: 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d * tests/dom
6970: 4e 6f 64 65 2e 74 65 73 74 0a 20 20 20 20 20 20 Node.test.
6980: 20 20 2a 20 64 6f 63 2f 64 6f 6d 44 6f 63 2e 2a * doc/domDoc.*
6990: 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f 64 . * doc/d
69a0: 6f 6d 4e 6f 64 65 3a 2a 3a 20 48 61 6e 64 6c 65 omNode:*: Handle
69b0: 20 6d 75 6c 74 69 70 6c 65 20 2d 6e 61 6d 65 73 multiple -names
69c0: 70 61 63 65 73 20 6f 70 74 69 6f 6e 73 20 74 6f paces options to
69d0: 0a 20 20 20 20 20 20 20 20 20 20 73 65 6c 65 63 . selec
69e0: 74 4e 6f 64 65 73 20 6d 65 74 68 6f 64 2e 20 41 tNodes method. A
69f0: 64 64 65 64 20 6d 65 74 68 6f 64 73 20 74 72 61 dded methods tra
6a00: 6e 73 66 6f 72 6d 20 61 6e 64 20 64 65 6c 65 74 nsform and delet
6a10: 65 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 78 e to. x
6a20: 73 6c 74 43 6d 64 73 2e 20 45 6e 73 75 72 65 2c sltCmds. Ensure,
6a30: 20 74 68 61 74 20 64 6f 63 75 6d 65 6e 74 73 20 that documents
6a40: 63 72 65 61 74 65 64 20 77 69 74 68 20 74 68 65 created with the
6a50: 20 5b 64 6f 6d 0a 20 20 20 20 20 20 20 20 20 20 [dom.
6a60: 63 72 65 61 74 65 44 6f 63 75 6d 65 6e 74 2a 20 createDocument*
6a70: 6d 65 74 68 6f 64 73 5d 20 61 72 65 20 63 72 65 methods] are cre
6a80: 61 74 65 64 20 61 73 20 64 6f 63 43 6d 64 73 20 ated as docCmds
6a90: 69 6e 20 63 61 73 65 20 6f 66 0a 20 20 20 20 20 in case of.
6aa0: 20 20 20 20 20 27 61 75 74 6f 27 20 63 72 65 61 'auto' crea
6ab0: 74 69 6f 6e 20 6d 6f 64 65 2e 0a 20 20 20 20 20 tion mode..
6ac0: 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 74 65 . * te
6ad0: 73 74 73 2f 64 6f 6d 2e 74 65 73 74 20 20 20 20 sts/dom.test
6ae0: 20 41 64 64 65 64 20 61 20 66 65 77 20 74 65 73 Added a few tes
6af0: 74 73 3a 20 72 65 6c 61 74 65 64 20 74 6f 20 63 ts: related to c
6b00: 72 65 61 74 65 4e 6f 64 65 43 6d 64 0a 20 20 20 reateNodeCmd.
6b10: 20 20 20 20 20 2a 20 74 65 73 74 73 2f 65 6c 65 * tests/ele
6b20: 6d 65 6e 74 2e 74 65 73 74 20 28 64 6f 6d 29 2c ment.test (dom),
6b30: 20 6e 6f 64 65 20 74 65 78 74 20 6d 65 74 68 6f node text metho
6b40: 64 20 28 64 6f 6d 4e 6f 64 65 29 2c 20 63 68 61 d (domNode), cha
6b50: 6e 63 69 6e 67 0a 20 20 20 20 20 20 20 20 2a 20 ncing. *
6b60: 74 65 73 74 73 2f 70 61 72 73 65 72 2e 74 65 73 tests/parser.tes
6b70: 74 20 20 63 61 6c 6c 62 61 63 6b 20 66 72 6f 6d t callback from
6b80: 20 77 69 74 68 69 6e 20 61 20 63 61 6c 6c 62 61 within a callba
6b90: 63 6b 20 28 65 6c 65 6d 65 6e 74 2c 0a 20 20 20 ck (element,.
6ba0: 20 20 20 20 20 2a 20 74 65 73 74 73 2f 78 73 6c * tests/xsl
6bb0: 74 2e 74 65 73 74 20 20 20 20 70 61 72 73 65 72 t.test parser
6bc0: 29 20 61 6e 64 20 63 61 74 63 68 69 6e 67 20 6f ) and catching o
6bd0: 66 20 72 65 63 75 72 73 69 76 65 20 78 73 6c 0a f recursive xsl.
6be0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6bf0: 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 63 inc
6c00: 6c 75 64 65 2f 69 6d 70 6f 72 74 20 28 78 73 6c lude/import (xsl
6c10: 74 29 2e 0a 0a 32 30 30 34 2d 31 32 2d 32 31 20 t)...2004-12-21
6c20: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
6c30: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 20 20 @pointsman.de>
6c40: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6c50: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6c60: 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .
6c70: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6c80: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6c90: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6ca0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 .
6cb0: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
6cc0: 2f 64 6f 6d 78 73 6c 74 2e 63 3a 20 78 73 6c 3a /domxslt.c: xsl:
6cd0: 6b 65 79 20 77 69 74 68 20 6d 61 74 63 68 20 65 key with match e
6ce0: 78 70 72 65 73 73 69 6f 6e 73 2c 20 77 68 69 63 xpressions, whic
6cf0: 68 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 h .
6d00: 20 20 20 20 20 20 6d 61 74 63 68 65 73 20 61 74 matches at
6d10: 74 72 69 62 75 74 65 73 2c 20 64 69 64 20 6e 6f tributes, did no
6d20: 74 20 77 6f 72 6b 2e 20 50 72 65 76 65 6e 74 2c t work. Prevent,
6d30: 20 74 68 61 74 20 61 20 73 74 79 6c 65 73 68 65 that a styleshe
6d40: 65 74 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 et .
6d50: 20 20 20 69 6d 70 6f 72 74 2f 69 6e 63 6c 75 64 import/includ
6d60: 65 20 69 74 73 65 6c 66 2e 20 45 64 69 74 6f 72 e itself. Editor
6d70: 69 61 6c 20 63 68 61 6e 67 65 73 2e 20 20 20 20 ial changes.
6d80: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6d90: 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 .
6da0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6db0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6dc0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6dd0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6de0: 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e . * gen
6df0: 65 72 69 63 2f 64 6f 6d 2e 63 3a 20 64 6f 6d 41 eric/dom.c: domA
6e00: 70 70 65 6e 64 4e 65 77 45 6c 65 6d 65 6e 74 4e ppendNewElementN
6e10: 6f 64 65 28 29 3a 20 53 65 74 20 74 68 65 20 6e ode(): Set the n
6e20: 61 6d 65 73 70 61 63 65 20 20 20 20 20 20 20 0a amespace .
6e30: 20 20 20 20 20 20 20 20 20 20 6f 66 20 61 20 70 of a p
6e40: 65 72 20 78 73 6c 74 20 74 72 61 6e 73 66 6f 72 er xslt transfor
6e50: 6d 61 74 69 6f 6e 20 67 65 6e 65 72 61 74 65 64 mation generated
6e60: 20 6e 6f 64 65 20 77 72 6f 6e 67 20 75 6e 64 65 node wrong unde
6e70: 72 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 r .
6e80: 20 20 20 20 20 20 20 63 65 72 74 61 69 6e 20 63 certain c
6e90: 69 72 63 75 6d 73 74 61 6e 63 65 73 2e 20 54 68 ircumstances. Th
6ea0: 69 73 20 66 69 78 65 73 20 20 20 20 20 20 20 20 is fixes
6eb0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6ec0: 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 .
6ed0: 20 20 20 20 68 74 74 70 3a 2f 2f 67 72 6f 75 70 http://group
6ee0: 73 2e 79 61 68 6f 6f 2e 63 6f 6d 2f 67 72 6f 75 s.yahoo.com/grou
6ef0: 70 2f 74 64 6f 6d 2f 6d 65 73 73 61 67 65 2f 31 p/tdom/message/1
6f00: 30 30 38 2e 20 52 65 6d 6f 76 65 64 20 20 20 20 008. Removed
6f10: 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 .
6f20: 20 6c 65 66 74 6f 76 65 72 20 28 66 6f 72 6d 65 leftover (forme
6f30: 72 20 6c 6f 63 61 6c 20 75 73 65 64 29 20 64 65 r local used) de
6f40: 66 69 6e 65 20 54 4e 4f 44 45 2e 20 20 20 20 20 fine TNODE.
6f50: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6f60: 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 .
6f70: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6f80: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6f90: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6fa0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6fb0: 0a 32 30 30 34 2d 31 32 2d 31 32 20 20 52 6f 6c .2004-12-12 Rol
6fc0: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
6fd0: 6e 74 73 6d 61 6e 2e 64 65 3e 20 20 20 20 20 20 ntsman.de>
6fe0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
6ff0: 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 .
7000: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7010: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7020: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7030: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7040: 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 .
7050: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
7060: 78 70 61 74 68 2e 63 20 20 20 20 20 20 20 20 20 xpath.c
7070: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7080: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7090: 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 .
70a0: 2a 20 74 65 73 74 73 2f 78 70 61 74 68 2e 74 65 * tests/xpath.te
70b0: 73 74 3a 20 78 70 61 74 68 20 65 78 70 72 65 73 st: xpath expres
70c0: 73 69 6f 6e 73 20 61 6e 63 65 73 74 6f 72 2d 6f sions ancestor-o
70d0: 72 2d 73 65 6c 66 3a 3a 6e 6f 64 65 28 29 20 20 r-self::node()
70e0: 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 61 . a
70f0: 6e 64 20 70 61 72 65 6e 74 3a 3a 6e 6f 64 65 28 nd parent::node(
7100: 29 20 72 65 74 75 72 6e 65 64 20 77 72 6f 6e 67 ) returned wrong
7110: 20 72 65 73 75 6c 74 20 69 66 20 74 68 65 20 63 result if the c
7120: 6f 6e 74 65 78 74 20 6e 6f 64 65 20 20 20 20 20 ontext node
7130: 20 0a 20 20 20 20 20 20 20 20 20 20 69 73 20 2f . is /
7140: 2e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .
7150: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7160: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7170: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 .
7180: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7190: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
71a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
71b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
71c0: 20 20 20 20 20 20 20 20 20 20 20 0a 32 30 30 34 .2004
71d0: 2d 31 32 2d 31 30 20 20 52 6f 6c 66 20 41 64 65 -12-10 Rolf Ade
71e0: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
71f0: 6e 2e 64 65 3e 20 20 20 20 20 20 20 20 20 20 20 n.de>
7200: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7210: 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 .
7220: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7230: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7240: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7250: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7260: 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 . *
7270: 64 6f 63 2f 65 78 70 61 74 2e 2a 20 20 20 20 20 doc/expat.*
7280: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7290: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
72a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
72b0: 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e . * gen
72c0: 65 72 69 63 2f 74 63 6c 65 78 70 61 74 2e 63 20 eric/tclexpat.c
72d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
72e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
72f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0a .
7300: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
7310: 63 2f 74 63 6c 65 78 70 61 74 2e 68 20 20 20 20 c/tclexpat.h
7320: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7330: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7340: 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 .
7350: 20 20 20 20 20 2a 20 74 65 73 74 73 2f 70 61 72 * tests/par
7360: 73 65 72 2e 74 65 73 74 3a 20 44 6f 6e 27 74 20 ser.test: Don't
7370: 61 6c 6c 6f 77 20 74 68 65 20 6d 65 74 68 6f 64 allow the method
7380: 73 20 70 61 72 73 65 2c 20 20 20 20 20 20 20 20 s parse,
7390: 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 .
73a0: 20 20 20 20 70 61 72 73 65 63 68 61 6e 6e 65 6c parsechannel
73b0: 2c 20 70 61 72 73 65 66 69 6c 65 2c 20 66 72 65 , parsefile, fre
73c0: 65 20 61 6e 64 20 72 65 73 65 74 20 66 72 6f 6d e and reset from
73d0: 20 77 69 74 68 69 6e 20 61 20 20 20 20 20 20 20 within a
73e0: 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 .
73f0: 20 63 61 6c 6c 62 61 63 6b 20 6f 66 20 74 68 65 callback of the
7400: 20 70 61 72 73 65 72 20 62 65 20 75 73 65 64 20 parser be used
7410: 62 75 74 20 72 61 69 73 65 20 61 20 74 63 6c 20 but raise a tcl
7420: 65 72 72 6f 72 2e 20 20 20 20 20 20 20 20 20 20 error.
7430: 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 .
7440: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7450: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7460: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7470: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7480: 0a 32 30 30 34 2d 31 30 2d 32 35 20 20 52 6f 6c .2004-10-25 Rol
7490: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
74a0: 6e 74 73 6d 61 6e 2e 64 65 3e 20 20 20 20 20 20 ntsman.de>
74b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
74c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 0a 20 20 .
74d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
74e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
74f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7500: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7510: 20 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 .
7520: 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 4e 6f 64 65 * doc/domNode
7530: 2e 2a 3a 20 41 64 64 65 64 20 64 6f 63 75 6d 65 .*: Added docume
7540: 6e 74 61 74 69 6f 6e 20 66 6f 72 20 74 68 65 20 ntation for the
7550: 27 2d 6e 61 6d 65 73 70 61 63 65 73 27 20 20 20 '-namespaces'
7560: 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 .
7570: 20 20 6f 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 option of the
7580: 73 65 6c 65 63 74 4e 6f 64 65 73 20 6d 65 74 68 selectNodes meth
7590: 6f 64 2e 20 20 20 20 20 20 20 20 20 20 20 20 20 od.
75a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
75b0: 20 20 20 20 0a 20 20 20 20 20 20 20 20 20 20 20 .
75c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
75d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
75e0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
75f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
7600: 20 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f . * doc/
7610: 64 6f 6d 2e 2a 3a 20 41 64 64 65 64 20 61 20 6e dom.*: Added a n
7620: 6f 74 65 20 74 6f 20 74 68 65 20 2d 65 78 74 65 ote to the -exte
7630: 72 6e 61 6c 65 6e 74 69 74 79 63 6f 6d 6d 61 6e rnalentitycomman
7640: 64 20 6f 70 74 69 6f 6e 20 20 20 20 20 20 0a 20 d option .
7650: 20 20 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 of the
7660: 70 61 72 73 65 20 6d 65 74 68 6f 64 2c 20 74 68 parse method, th
7670: 61 74 20 74 68 65 20 70 72 6f 67 72 61 6d 6d 65 at the programme
7680: 72 20 69 73 20 72 65 73 70 6f 6e 73 69 62 6c 65 r is responsible
7690: 20 66 6f 72 20 20 20 20 20 20 20 0a 20 20 20 20 for .
76a0: 20 20 20 20 20 20 63 6c 6f 73 69 6e 67 20 74 68 closing th
76b0: 65 20 63 68 61 6e 6e 65 6c 2c 20 69 66 20 74 68 e channel, if th
76c0: 65 20 72 65 73 6f 6c 76 65 72 20 73 63 72 69 70 e resolver scrip
76d0: 74 20 72 65 74 75 72 6e 73 20 61 0a 20 20 20 20 t returns a.
76e0: 20 20 20 20 20 20 63 68 61 6e 6e 65 6c 2e 20 20 channel.
76f0: 20 20 20 20 0a 0a 32 30 30 34 2d 30 39 2d 32 39 ..2004-09-29
7700: 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c Rolf Ade <rol
7710: 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a f@pointsman.de>.
7720: 0a 20 20 20 20 20 20 20 20 2a 20 77 69 6e 2f 70 . * win/p
7730: 6b 67 49 6e 64 65 78 2e 74 63 6c 3a 20 46 69 72 kgIndex.tcl: Fir
7740: 73 74 20 5b 6c 6f 61 64 5d 20 74 68 65 20 6c 69 st [load] the li
7750: 62 2c 20 77 68 69 63 68 20 68 61 73 20 0a 20 20 b, which has .
7760: 20 20 20 20 20 20 20 20 5b 70 61 63 6b 61 67 65 [package
7770: 20 70 72 6f 76 69 64 65 20 74 64 6f 6d 5d 2c 20 provide tdom],
7780: 73 6f 20 74 68 61 74 20 61 20 5b 70 61 63 6b 61 so that a [packa
7790: 67 65 20 72 65 71 75 69 72 65 20 74 64 6f 6d 5d ge require tdom]
77a0: 0a 20 20 20 20 20 20 20 20 20 20 77 69 74 68 69 . withi
77b0: 6e 20 74 68 65 20 73 63 72 69 70 74 20 6c 69 62 n the script lib
77c0: 20 64 6f 65 73 6e 27 74 20 6c 6f 6f 70 2e 0a 0a doesn't loop...
77d0: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
77e0: 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 41 64 64 65 c/tcldom.c: Adde
77f0: 64 20 74 68 65 20 77 69 74 68 20 30 2e 38 20 61 d the with 0.8 a
7800: 64 64 65 64 20 64 6f 63 20 6d 65 74 68 6f 64 73 dded doc methods
7810: 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 74 68 to. th
7820: 65 20 64 6f 63 5f 75 73 61 67 65 2e 20 20 20 20 e doc_usage.
7830: 0a 0a 32 30 30 34 2d 30 39 2d 32 31 20 20 52 6f ..2004-09-21 Ro
7840: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
7850: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
7860: 20 20 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 44 6f * doc/domDo
7870: 63 2e 2a 3a 20 41 64 64 20 64 6f 63 75 6d 65 6e c.*: Add documen
7880: 74 61 74 69 6f 6e 20 66 6f 72 20 27 73 65 6c 65 tation for 'sele
7890: 63 74 4e 6f 64 65 73 27 20 6d 65 74 68 6f 64 2e ctNodes' method.
78a0: 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 .. * gene
78b0: 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 ric/dom.c.
78c0: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e * generic/dom.
78d0: 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 h. * gene
78e0: 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 0a 20 ric/domxpath.c.
78f0: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
7900: 2f 64 6f 6d 78 70 61 74 68 2e 68 0a 20 20 20 20 /domxpath.h.
7910: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
7920: 6d 78 73 6c 74 2e 63 0a 20 20 20 20 20 20 20 20 mxslt.c.
7930: 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d * generic/tcldom
7940: 2e 63 3a 20 41 64 64 65 64 20 74 68 65 20 27 2d .c: Added the '-
7950: 6e 61 6d 65 73 70 61 63 65 73 27 20 6f 70 74 69 namespaces' opti
7960: 6f 6e 20 74 6f 20 74 68 65 0a 20 20 20 20 20 20 on to the.
7970: 20 20 20 20 73 65 6c 65 63 74 4e 6f 64 65 73 20 selectNodes
7980: 6d 65 74 68 6f 64 2e 20 4e 6f 74 20 72 65 73 6f method. Not reso
7990: 6c 76 65 64 20 6e 61 6d 65 73 70 61 63 65 20 70 lved namespace p
79a0: 72 65 66 69 78 65 73 20 77 69 74 68 69 6e 0a 20 refixes within.
79b0: 20 20 20 20 20 20 20 20 20 74 68 65 20 78 70 61 the xpa
79c0: 74 68 20 65 78 70 72 65 73 73 69 6f 6e 20 6e 6f th expression no
79d0: 77 20 72 61 69 73 65 73 20 61 6e 20 65 72 72 6f w raises an erro
79e0: 72 2e 0a 20 20 20 20 20 20 20 20 20 20 2a 2a 2a r.. ***
79f0: 20 50 4f 54 45 4e 54 49 41 4c 20 49 4e 43 4f 4d POTENTIAL INCOM
7a00: 50 41 54 49 42 49 4c 49 54 59 20 2a 2a 2a 20 0a PATIBILITY *** .
7a10: 0a 32 30 30 34 2d 30 39 2d 31 33 20 20 52 6f 6c .2004-09-13 Rol
7a20: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
7a30: 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 ntsman.de>..
7a40: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
7a50: 6d 78 73 6c 74 2e 63 3a 20 43 6f 72 72 65 63 74 mxslt.c: Correct
7a60: 65 64 20 61 20 74 79 70 6f 20 69 6e 20 61 6e 20 ed a typo in an
7a70: 65 72 72 6f 72 20 6d 73 67 2e 0a 0a 32 30 30 34 error msg...2004
7a80: 2d 30 39 2d 30 38 20 20 52 6f 6c 66 20 41 64 65 -09-08 Rolf Ade
7a90: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
7aa0: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
7ab0: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 generic/domxslt
7ac0: 2e 63 3a 20 45 64 69 74 6f 72 69 61 6c 20 63 68 .c: Editorial ch
7ad0: 61 6e 67 65 73 2e 0a 0a 32 30 30 34 2d 30 39 2d anges...2004-09-
7ae0: 30 32 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 02 Rolf Ade <r
7af0: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
7b00: 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e >.. * gen
7b10: 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 0a eric/domxpath.c.
7b20: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
7b30: 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 20 c/tcldom.c.
7b40: 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 4e 6f * tests/domNo
7b50: 64 65 2e 74 65 73 74 3a 20 74 6f 58 50 61 74 68 de.test: toXPath
7b60: 20 6d 65 74 68 6f 64 3a 20 66 69 78 65 64 20 62 method: fixed b
7b70: 75 67 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 ug with.
7b80: 20 20 6e 6f 6e 2d 65 6c 65 6d 65 6e 74 20 74 6f non-element to
7b90: 70 20 6c 65 76 65 6c 20 6e 6f 64 65 73 2c 20 63 p level nodes, c
7ba0: 6c 6f 73 65 64 20 6d 65 6d 20 6c 65 61 6b 2e 0a losed mem leak..
7bb0: 0a 32 30 30 34 2d 30 38 2d 32 33 20 20 52 6f 6c .2004-08-23 Rol
7bc0: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
7bd0: 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 ntsman.de>..
7be0: 20 20 20 20 2a 20 52 45 41 44 4d 45 0a 20 20 20 * README.
7bf0: 20 20 20 20 20 2a 20 52 45 41 44 4d 45 2e 41 4f * README.AO
7c00: 4c 3a 20 43 6f 72 72 65 63 74 65 64 20 74 79 70 L: Corrected typ
7c10: 6f 73 20 28 74 68 61 6e 6b 73 20 74 6f 20 47 2e os (thanks to G.
7c20: 20 4e 65 75 6d 61 6e 6e 29 0a 0a 32 30 30 34 2d Neumann)..2004-
7c30: 30 38 2d 32 30 20 20 52 6f 6c 66 20 41 64 65 20 08-20 Rolf Ade
7c40: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
7c50: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
7c60: 65 78 70 61 74 2f 2a 3a 20 55 70 64 61 74 65 20 expat/*: Update
7c70: 74 6f 20 65 78 70 61 74 20 31 2e 39 35 2e 38 2e to expat 1.95.8.
7c80: 0a 0a 32 30 30 34 2d 30 38 2d 31 39 20 20 52 6f ..2004-08-19 Ro
7c90: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
7ca0: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
7cb0: 20 20 20 20 20 2a 20 75 6e 69 78 2f 43 4f 4e 46 * unix/CONF
7cc0: 49 47 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a IG . *
7cd0: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 0a 20 generic/dom.h.
7ce0: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
7cf0: 2f 74 63 6c 64 6f 6d 2e 63 3a 20 4d 61 64 65 20 /tcldom.c: Made
7d00: 74 44 4f 4d 20 77 6f 72 6b 20 6f 75 74 20 6f 66 tDOM work out of
7d10: 20 74 68 65 20 62 6f 78 20 6f 6e 20 36 34 2d 62 the box on 64-b
7d20: 69 74 0a 20 20 20 20 20 20 20 20 20 20 73 79 73 it. sys
7d30: 74 65 6d 73 20 6c 69 6b 65 20 49 74 61 6e 69 75 tems like Itaniu
7d40: 6d 20 32 20 28 74 68 6f 75 67 68 20 2d 2d 64 69 m 2 (though --di
7d50: 73 61 62 6c 65 2d 74 64 6f 6d 61 6c 6c 6f 63 20 sable-tdomalloc
7d60: 63 6f 6e 66 69 67 75 72 65 0a 20 20 20 20 20 20 configure.
7d70: 20 20 20 20 6f 70 74 69 6f 6e 20 61 74 20 62 75 option at bu
7d80: 69 6c 64 20 74 69 6d 65 20 69 73 20 73 74 69 6c ild time is stil
7d90: 6c 20 6e 65 65 64 65 64 29 2e 0a 0a 32 30 30 34 l needed)...2004
7da0: 2d 30 38 2d 31 37 20 20 52 6f 6c 66 20 41 64 65 -08-17 Rolf Ade
7db0: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
7dc0: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
7dd0: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 3a 20 generic/dom.h:
7de0: 41 64 64 65 64 20 66 6c 75 66 66 2c 20 74 6f 20 Added fluff, to
7df0: 66 69 78 20 62 75 69 6c 64 20 70 72 6f 62 6c 65 fix build proble
7e00: 6d 78 20 6f 6e 20 41 49 58 20 77 2f 0a 20 20 20 mx on AIX w/.
7e10: 20 20 20 20 20 20 20 78 6c 63 20 63 6f 6d 70 69 xlc compi
7e20: 6c 65 72 2e 20 20 20 20 0a 0a 20 20 20 20 20 20 ler. ..
7e30: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 * generic/domx
7e40: 70 61 74 68 2e 63 0a 20 20 20 20 20 20 20 20 2a path.c. *
7e50: 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e generic/tcldom.
7e60: 63 3a 20 52 65 6d 6f 76 65 64 20 75 6e 75 73 65 c: Removed unuse
7e70: 64 20 76 61 72 69 61 62 6c 65 73 2e 20 20 20 20 d variables.
7e80: 0a 0a 32 30 30 34 2d 30 38 2d 31 35 20 20 52 6f ..2004-08-15 Ro
7e90: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
7ea0: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
7eb0: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
7ec0: 6f 6d 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 om.h. * g
7ed0: 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 eneric/dom.c.
7ee0: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
7ef0: 6f 6d 78 73 6c 74 2e 63 0a 20 20 20 20 20 20 20 omxslt.c.
7f00: 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f * generic/tcldo
7f10: 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 m.c. * ge
7f20: 6e 65 72 69 63 2f 78 6d 6c 73 69 6d 70 6c 65 2e neric/xmlsimple.
7f30: 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 h. * gene
7f40: 72 69 63 2f 78 6d 6c 73 69 6d 70 6c 65 2e 63 0a ric/xmlsimple.c.
7f50: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
7f60: 64 6f 6d 2e 74 65 73 74 3a 20 50 61 73 73 20 65 dom.test: Pass e
7f70: 78 74 65 72 6e 61 6c 20 65 6e 74 69 74 79 20 72 xternal entity r
7f80: 65 73 6f 6c 76 65 72 20 73 63 72 69 70 74 20 61 esolver script a
7f90: 72 6f 75 6e 64 0a 20 20 20 20 20 20 20 20 20 20 round.
7fa0: 69 6e 20 73 74 72 69 6e 67 20 72 65 70 72 65 73 in string repres
7fb0: 65 6e 74 61 74 69 6f 6e 20 28 69 6e 73 74 65 61 entation (instea
7fc0: 6e 64 20 6f 66 20 54 63 6c 5f 4f 62 6a 29 2c 20 nd of Tcl_Obj),
7fd0: 74 6f 20 61 76 6f 69 64 0a 20 20 20 20 20 20 20 to avoid.
7fe0: 20 20 20 70 72 6f 62 6c 65 6d 73 20 77 69 74 68 problems with
7ff0: 20 6d 74 20 62 75 69 6c 64 73 2e 0a 0a 2d 2d 2d mt builds...---
8000: 20 52 65 6c 65 61 73 65 20 30 2e 38 2e 30 2c 20 Release 0.8.0,
8010: 31 31 2e 20 41 75 67 2e 20 32 30 30 34 20 2d 2d 11. Aug. 2004 --
8020: 2d 0a 0a 32 30 30 34 2d 30 38 2d 31 30 20 20 52 -..2004-08-10 R
8030: 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 olf Ade <rolf@p
8040: 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 ointsman.de>..
8050: 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f * extensio
8060: 6e 73 2f 74 6e 63 2f 6d 61 6b 65 66 69 6c 65 2e ns/tnc/makefile.
8070: 76 63 3a 20 4c 69 6e 6b 20 61 67 61 69 6e 73 74 vc: Link against
8080: 20 74 44 4f 4d 20 30 2e 38 2e 30 2e 0a 0a 20 20 tDOM 0.8.0...
8090: 20 20 20 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 2e * doc/dom.
80a0: 2a 3a 20 43 6f 72 72 65 63 74 65 64 20 61 20 73 *: Corrected a s
80b0: 70 65 6c 6c 69 6e 67 20 6d 69 73 74 61 6b 65 2e pelling mistake.
80c0: 0a 0a 32 30 30 34 2d 30 37 2d 32 38 20 20 52 6f ..2004-07-28 Ro
80d0: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
80e0: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
80f0: 20 20 20 20 20 2a 20 6c 69 62 2f 74 64 6f 6d 2e * lib/tdom.
8100: 74 63 6c 3a 20 5b 6e 61 6d 65 73 70 61 63 65 20 tcl: [namespace
8110: 65 78 70 6f 72 74 5d 20 74 68 65 20 70 75 62 6c export] the publ
8120: 69 63 20 70 72 6f 63 73 20 69 6e 0a 20 20 20 20 ic procs in.
8130: 20 20 20 20 20 20 3a 3a 74 44 4f 4d 2e 20 41 64 ::tDOM. Ad
8140: 64 65 64 20 61 20 66 65 77 20 6d 6f 72 65 20 65 ded a few more e
8150: 6e 63 6f 64 69 6e 67 73 20 74 6f 20 49 41 4e 41 ncodings to IANA
8160: 45 6e 63 6f 64 69 6e 67 32 54 63 6c 45 6e 63 6f Encoding2TclEnco
8170: 64 69 6e 67 2e 0a 0a 32 30 30 34 2d 30 37 2d 32 ding...2004-07-2
8180: 37 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 7 Rolf Ade <ro
8190: 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e lf@pointsman.de>
81a0: 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 .. * test
81b0: 2f 64 6f 6d 2e 74 65 73 74 0a 20 20 20 20 20 20 /dom.test.
81c0: 20 20 2a 20 64 6f 63 2f 64 6f 6d 2e 2a 0a 20 20 * doc/dom.*.
81d0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
81e0: 64 6f 6d 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 dom.h. *
81f0: 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 generic/tcldom.c
8200: 3a 20 4e 65 77 20 28 65 78 70 65 72 69 6d 65 6e : New (experimen
8210: 74 61 6c 29 20 6d 65 74 68 6f 64 20 73 65 74 4f tal) method setO
8220: 62 6a 65 63 74 43 6f 6d 6d 61 6e 64 73 2e 0a 0a bjectCommands...
8230: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 2f 64 * test/d
8240: 6f 6d 4e 6f 64 65 2e 74 65 73 74 0a 20 20 20 20 omNode.test.
8250: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
8260: 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 m.c. * ge
8270: 6e 65 72 69 63 2f 74 63 6c 65 78 70 61 74 2e 63 neric/tclexpat.c
8280: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
8290: 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 52 65 77 ic/tcldom.c: Rew
82a0: 6f 72 6b 65 64 20 69 6e 74 65 72 6e 61 6c 20 62 orked internal b
82b0: 61 73 65 20 55 52 49 20 68 61 6e 64 6c 69 6e 67 ase URI handling
82c0: 2c 20 74 6f 20 66 69 78 0a 20 20 20 20 20 20 20 , to fix.
82d0: 20 20 20 61 20 62 75 67 20 6f 66 20 74 68 65 20 a bug of the
82e0: 6f 6c 64 20 61 70 70 72 6f 61 63 68 20 61 6e 64 old approach and
82f0: 20 74 6f 20 62 65 20 63 6c 6f 73 65 72 20 74 6f to be closer to
8300: 20 28 74 68 6f 75 67 68 20 6e 6f 74 0a 20 20 20 (though not.
8310: 20 20 20 20 20 20 20 66 75 6c 6c 79 20 73 75 70 fully sup
8320: 70 6f 72 74 29 20 77 68 61 74 20 44 4f 4d 20 33 port) what DOM 3
8330: 20 73 61 79 20 61 62 6f 75 74 20 62 61 73 65 20 say about base
8340: 55 52 49 20 68 61 6e 64 6c 69 6e 67 2e 0a 0a 20 URI handling...
8350: 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 * tests/d
8360: 6f 6d 2e 74 65 73 74 20 20 0a 20 20 20 20 20 20 om.test .
8370: 20 20 2a 20 64 6f 63 2f 64 6f 6d 2e 2a 0a 20 20 * doc/dom.*.
8380: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
8390: 74 63 6c 64 6f 6d 2e 63 3a 20 4e 65 77 20 6d 65 tcldom.c: New me
83a0: 74 68 6f 64 20 63 72 65 61 74 65 44 6f 63 75 6d thod createDocum
83b0: 65 6e 74 4e 6f 64 65 2e 0a 0a 20 20 20 20 20 20 entNode...
83c0: 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 44 6f 63 * tests/domDoc
83d0: 2e 74 65 73 74 0a 20 20 20 20 20 20 20 20 2a 20 .test. *
83e0: 64 6f 63 2f 64 6f 6d 44 6f 63 2e 2a 0a 20 20 20 doc/domDoc.*.
83f0: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
8400: 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 om.c. * g
8410: 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a eneric/tcldom.c:
8420: 20 41 64 64 65 64 20 6d 65 74 68 6f 64 73 20 6e Added methods n
8430: 6f 64 65 54 79 70 65 2c 20 67 65 74 45 6c 65 6d odeType, getElem
8440: 65 6e 74 42 79 49 64 2c 0a 20 20 20 20 20 20 20 entById,.
8450: 20 20 20 66 69 72 73 74 43 68 69 6c 64 2c 20 6c firstChild, l
8460: 61 73 74 43 68 69 6c 64 2c 20 61 70 70 65 6e 64 astChild, append
8470: 43 68 69 6c 64 2c 20 72 65 6d 6f 76 65 43 68 69 Child, removeChi
8480: 6c 64 2c 0a 20 20 20 20 20 20 20 20 20 20 68 61 ld,. ha
8490: 73 43 68 69 6c 64 4e 6f 64 65 73 2c 20 63 68 69 sChildNodes, chi
84a0: 6c 64 4e 6f 64 65 73 2c 20 6f 77 6e 65 72 44 6f ldNodes, ownerDo
84b0: 63 75 6d 65 6e 74 2c 20 69 6e 73 65 72 74 42 65 cument, insertBe
84c0: 66 6f 72 65 2c 0a 20 20 20 20 20 20 20 20 20 20 fore,.
84d0: 72 65 70 6c 61 63 65 43 68 69 6c 64 2c 20 61 70 replaceChild, ap
84e0: 70 65 6e 64 46 72 6f 6d 4c 69 73 74 2c 20 61 70 pendFromList, ap
84f0: 70 65 6e 64 58 4d 4c 2c 20 73 65 6c 65 63 74 4e pendXML, selectN
8500: 6f 64 65 73 2c 0a 20 20 20 20 20 20 20 20 20 20 odes,.
8510: 62 61 73 65 55 52 49 2c 20 61 70 70 65 6e 64 46 baseURI, appendF
8520: 72 6f 6d 53 63 72 69 70 74 20 61 6e 64 20 69 6e romScript and in
8530: 73 65 72 74 42 65 66 6f 72 65 46 72 6f 6d 53 63 sertBeforeFromSc
8540: 72 69 70 74 20 74 6f 20 64 6f 6d 0a 20 20 20 20 ript to dom.
8550: 20 20 20 20 20 20 64 6f 63 73 2e 20 42 65 73 69 docs. Besi
8560: 64 65 20 6f 74 68 65 72 20 74 68 69 6e 67 73 2c de other things,
8570: 20 74 68 69 73 20 61 6c 6c 6f 77 73 20 6d 75 63 this allows muc
8580: 68 20 65 61 73 69 65 72 20 68 61 6e 64 6c 69 6e h easier handlin
8590: 67 0a 20 20 20 20 20 20 20 20 20 20 6f 66 20 74 g. of t
85a0: 6f 70 20 6c 65 76 65 6c 20 6e 6f 64 65 73 2e 20 op level nodes.
85b0: 54 68 65 20 72 65 73 75 6c 74 20 74 72 65 65 20 The result tree
85c0: 6d 61 79 20 6e 6f 74 20 62 65 20 61 6e 20 58 4d may not be an XM
85d0: 4c 0a 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 L. docu
85e0: 6d 65 6e 74 2c 20 62 75 74 20 61 20 67 65 6e 65 ment, but a gene
85f0: 72 61 6c 20 70 61 72 73 65 64 20 65 6e 74 69 74 ral parsed entit
8600: 79 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 y... * te
8610: 73 74 73 2f 64 6f 6d 4e 6f 64 65 2e 74 65 73 74 sts/domNode.test
8620: 20 20 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 . * doc
8630: 2f 64 6f 6d 4e 6f 64 65 2e 2a 0a 20 20 20 20 20 /domNode.*.
8640: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c * generic/tcl
8650: 64 6f 6d 2e 63 3a 20 49 6d 70 72 6f 76 65 64 20 dom.c: Improved
8660: 73 70 65 65 64 20 6f 66 20 74 68 65 20 67 65 74 speed of the get
8670: 41 74 74 72 69 62 75 74 65 0a 20 20 20 20 20 20 Attribute.
8680: 20 20 20 20 73 68 6f 72 74 63 75 74 20 27 40 61 shortcut '@a
8690: 74 74 6e 61 6d 65 27 20 28 61 6e 64 2c 20 6e 6f ttname' (and, no
86a0: 74 20 73 6f 20 6e 6f 74 61 62 6c 65 2c 20 6f 66 t so notable, of
86b0: 20 74 63 6c 20 63 6f 64 65 64 0a 20 20 20 20 20 tcl coded.
86c0: 20 20 20 20 20 6d 65 74 68 6f 64 73 20 6f 66 20 methods of
86d0: 74 68 65 20 64 6f 6d 2c 20 64 6f 6d 44 6f 63 20 the dom, domDoc
86e0: 61 6e 64 20 64 6f 6d 4e 6f 64 65 20 63 6d 64 73 and domNode cmds
86f0: 29 2e 20 43 6f 72 72 65 63 74 65 64 20 74 79 70 ). Corrected typ
8700: 6f 0a 20 20 20 20 20 20 20 20 20 20 69 6e 20 64 o. in d
8710: 6f 6d 4e 6f 64 65 20 75 73 61 67 65 20 6d 73 67 omNode usage msg
8720: 20 66 6f 72 20 67 65 74 45 6c 65 6d 65 6e 74 42 for getElementB
8730: 79 49 44 2e 20 49 6d 70 72 6f 76 65 64 20 65 72 yID. Improved er
8740: 72 6f 72 20 6d 73 67 0a 20 20 20 20 20 20 20 20 ror msg.
8750: 20 20 66 6f 72 20 67 65 74 41 74 74 72 69 62 75 for getAttribu
8760: 74 65 2c 20 69 66 20 61 74 74 72 69 62 75 74 65 te, if attribute
8770: 20 69 73 20 6e 6f 74 20 66 6f 75 6e 64 2e 20 43 is not found. C
8780: 68 61 6e 67 65 64 0a 20 20 20 20 20 20 20 20 20 hanged.
8790: 20 62 65 68 61 76 69 6f 72 20 6f 66 20 67 65 74 behavior of get
87a0: 45 6c 65 6d 65 6e 74 42 79 49 44 3a 20 69 66 20 ElementByID: if
87b0: 6e 6f 20 65 6c 65 6d 65 6e 74 20 77 69 74 68 20 no element with
87c0: 74 68 65 20 67 69 76 65 6e 20 69 64 0a 20 20 20 the given id.
87d0: 20 20 20 20 20 20 20 69 73 20 66 6f 75 6e 64 2c is found,
87e0: 20 72 65 74 75 72 6e 73 20 6e 6f 77 20 74 68 65 returns now the
87f0: 20 65 6d 70 74 79 20 73 74 72 69 6e 67 2c 20 6e empty string, n
8800: 6f 74 20 61 20 54 43 4c 5f 45 52 52 4f 52 0a 20 ot a TCL_ERROR.
8810: 20 20 20 20 20 20 20 20 20 28 63 6c 6f 73 65 72 (closer
8820: 20 74 6f 20 44 4f 4d 20 72 65 63 2c 20 67 65 74 to DOM rec, get
8830: 45 6c 65 6d 65 6e 74 42 79 49 44 20 6e 65 76 65 ElementByID neve
8840: 72 20 72 61 69 73 65 20 61 6e 0a 20 20 20 20 20 r raise an.
8850: 20 20 20 20 20 65 78 63 65 70 74 69 6f 6e 29 2e exception).
8860: 20 42 75 67 20 66 69 78 3a 20 6e 6f 64 65 4e 61 Bug fix: nodeNa
8870: 6d 65 20 6e 6f 77 20 72 65 74 75 72 6e 73 20 74 me now returns t
8880: 68 65 20 70 65 72 20 44 4f 4d 20 72 65 63 0a 20 he per DOM rec.
8890: 20 20 20 20 20 20 20 20 20 63 6f 72 72 65 63 74 correct
88a0: 20 76 61 6c 75 65 73 20 66 6f 72 20 63 6f 6d 6d values for comm
88b0: 65 6e 74 20 61 6e 64 20 63 64 61 74 61 20 73 65 ent and cdata se
88c0: 63 74 69 6f 6e 20 6e 6f 64 65 73 20 28 77 65 72 ction nodes (wer
88d0: 65 20 61 73 0a 20 20 20 20 20 20 20 20 20 20 79 e as. y
88e0: 65 74 20 72 65 70 6f 72 74 65 64 20 61 73 20 69 et reported as i
88f0: 66 20 74 68 65 79 20 77 68 65 72 65 20 74 65 78 f they where tex
8900: 74 20 6e 6f 64 65 73 29 2e 0a 0a 20 20 20 20 20 t nodes)...
8910: 20 20 20 2a 20 74 65 73 74 73 2f 65 6e 74 69 74 * tests/entit
8920: 79 2e 74 65 73 74 20 20 0a 20 20 20 20 20 20 20 y.test .
8930: 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 65 78 * generic/tclex
8940: 70 61 74 2e 63 3a 20 42 65 74 74 65 72 20 65 72 pat.c: Better er
8950: 72 6f 72 20 6d 73 67 20 69 6e 20 63 61 73 65 20 ror msg in case
8960: 6f 66 20 27 66 69 6c 65 6e 61 6d 65 27 0a 20 20 of 'filename'.
8970: 20 20 20 20 20 20 20 20 61 6e 64 20 6e 6f 74 20 and not
8980: 76 61 6c 69 64 20 66 69 6c 65 20 6e 61 6d 65 2e valid file name.
8990: 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 .. * test
89a0: 73 2f 78 70 61 74 68 2e 74 65 73 74 3a 20 44 6f s/xpath.test: Do
89b0: 63 75 6d 65 6e 74 65 64 20 62 65 68 61 76 69 6f cumented behavio
89c0: 75 72 20 69 6e 20 63 61 73 65 20 6f 66 20 75 73 ur in case of us
89d0: 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 28 73 ing. (s
89e0: 65 6e 73 65 6c 65 73 73 2c 20 77 72 6f 6e 67 29 enseless, wrong)
89f0: 20 27 78 73 6c 74 20 76 61 72 69 61 62 6c 65 27 'xslt variable'
8a00: 20 69 6e 20 73 65 6c 65 63 74 4e 6f 64 65 20 65 in selectNode e
8a10: 78 70 72 73 2e 0a 0a 20 20 20 20 20 20 20 20 2a xprs... *
8a20: 20 74 65 73 74 73 2f 78 73 6c 74 2e 74 65 73 74 tests/xslt.test
8a30: 3a 20 4d 6f 72 65 20 74 65 73 74 73 20 66 6f 72 : More tests for
8a40: 20 73 63 72 69 70 74 20 65 72 72 6f 72 73 20 69 script errors i
8a50: 6e 20 65 78 74 65 72 6e 61 6c 0a 20 20 20 20 20 n external.
8a60: 20 20 20 20 20 65 6e 74 69 74 79 20 68 61 6e 64 entity hand
8a70: 6c 65 72 20 6f 72 20 65 72 72 6f 72 73 20 69 6e ler or errors in
8a80: 20 74 68 65 20 72 65 71 75 65 73 74 65 64 20 65 the requested e
8a90: 78 74 65 72 6e 61 6c 0a 20 20 20 20 20 20 20 20 xternal.
8aa0: 20 20 65 6e 74 69 74 69 65 73 2e 0a 20 20 0a 32 entities.. .2
8ab0: 30 30 34 2d 30 37 2d 31 39 20 20 52 6f 6c 66 20 004-07-19 Rolf
8ac0: 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
8ad0: 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
8ae0: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 * generic/domx
8af0: 73 6c 74 2e 63 3a 20 42 65 74 74 65 72 20 65 72 slt.c: Better er
8b00: 72 6f 72 20 6d 73 67 20 69 6e 20 63 61 73 65 20 ror msg in case
8b10: 6f 66 20 58 4d 4c 20 70 61 72 73 69 6e 67 0a 20 of XML parsing.
8b20: 20 20 20 20 20 20 20 20 20 65 72 72 6f 72 73 20 errors
8b30: 69 6e 20 65 78 74 65 72 6e 61 6c 20 65 6e 74 69 in external enti
8b40: 74 69 65 73 2e 0a 0a 20 20 20 20 20 20 20 20 2a ties... *
8b50: 20 67 65 6e 65 72 69 63 2f 6e 6f 64 65 63 6d 64 generic/nodecmd
8b60: 2e 63 3a 20 42 75 67 20 66 69 78 3a 20 43 68 65 .c: Bug fix: Che
8b70: 63 6b 2c 20 69 66 20 72 65 66 6e 6f 64 65 20 67 ck, if refnode g
8b80: 69 76 65 6e 20 74 6f 0a 20 20 20 20 20 20 20 20 iven to.
8b90: 20 20 69 6e 73 65 72 74 42 65 66 6f 72 65 46 72 insertBeforeFr
8ba0: 6f 6d 53 63 72 69 70 74 20 69 73 20 76 61 6c 69 omScript is vali
8bb0: 64 2e 20 20 20 0a 20 20 20 20 0a 32 30 30 34 2d d. . .2004-
8bc0: 30 37 2d 31 33 20 20 52 6f 6c 66 20 41 64 65 20 07-13 Rolf Ade
8bd0: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
8be0: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
8bf0: 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e generic/domxslt.
8c00: 63 3a 20 45 6e 73 75 72 65 2c 20 74 68 61 74 20 c: Ensure, that
8c10: 74 68 65 20 66 69 72 73 74 20 65 6c 65 6d 65 6e the first elemen
8c20: 74 20 6e 6f 64 65 20 6f 66 0a 20 20 20 20 20 20 t node of.
8c30: 20 20 20 20 74 68 65 20 72 65 73 75 6c 74 20 74 the result t
8c40: 72 65 65 20 69 73 20 74 68 65 20 64 6f 63 75 6d ree is the docum
8c50: 65 6e 74 45 6c 65 6d 65 6e 74 20 6f 66 20 74 68 entElement of th
8c60: 65 20 67 65 6e 65 72 61 74 65 64 0a 20 20 20 20 e generated.
8c70: 20 20 20 20 20 20 64 6f 63 75 6d 65 6e 74 2e 20 document.
8c80: 20 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 .. * tes
8c90: 74 73 2f 78 6d 6c 73 69 6d 70 6c 65 2e 74 65 73 ts/xmlsimple.tes
8ca0: 74 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 t. * gene
8cb0: 72 69 63 2f 78 6d 6c 73 69 6d 70 6c 65 2e 63 3a ric/xmlsimple.c:
8cc0: 20 45 6d 70 74 79 20 43 44 41 54 41 20 73 65 63 Empty CDATA sec
8cd0: 74 69 6f 6e 73 20 73 68 6f 75 6c 64 20 6e 6f 74 tions should not
8ce0: 20 63 72 65 61 74 65 0a 20 20 20 20 20 20 20 20 create.
8cf0: 20 20 61 20 6e 6f 64 65 2e 0a 20 20 0a 32 30 30 a node.. .200
8d00: 34 2d 30 37 2d 30 38 20 20 52 6f 6c 66 20 41 64 4-07-08 Rolf Ad
8d10: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
8d20: 61 6e 2e 64 65 3e 0a 20 20 20 20 20 20 20 20 0a an.de>. .
8d30: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
8d40: 63 2f 74 64 6f 6d 69 6e 69 74 2e 63 3a 20 54 65 c/tdominit.c: Te
8d50: 73 74 2c 20 69 66 20 61 20 6e 6f 6e 2d 6d 74 20 st, if a non-mt
8d60: 74 44 4f 4d 20 69 73 20 74 72 69 65 64 20 74 6f tDOM is tried to
8d70: 20 6c 6f 61 64 0a 20 20 20 20 20 20 20 20 20 20 load.
8d80: 69 6e 74 6f 20 61 20 6d 74 20 74 63 6c 73 68 2e into a mt tclsh.
8d90: 0a 0a 32 30 30 34 2d 30 35 2d 32 36 20 20 52 6f ..2004-05-26 Ro
8da0: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
8db0: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
8dc0: 20 20 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 2e 2a * doc/dom.*
8dd0: 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 . * tests
8de0: 2f 64 6f 6d 2e 74 65 73 74 0a 20 20 20 20 20 20 /dom.test.
8df0: 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 4e 6f 64 * tests/domNod
8e00: 65 2e 74 65 73 74 0a 20 20 20 20 20 20 20 20 2a e.test. *
8e10: 20 74 65 73 74 73 2f 74 64 6f 6d 63 6d 64 2e 74 tests/tdomcmd.t
8e20: 65 73 74 0a 20 20 20 20 20 20 20 20 2a 20 67 65 est. * ge
8e30: 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 neric/tcldom.c.
8e40: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
8e50: 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a /dom.c. *
8e60: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 0a 20 generic/dom.h.
8e70: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
8e80: 2f 6e 6f 64 65 63 6d 64 2e 68 0a 20 20 20 20 20 /nodecmd.h.
8e90: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 6e 6f 64 * generic/nod
8ea0: 65 63 6d 64 2e 63 3a 20 41 64 64 65 64 20 69 73 ecmd.c: Added is
8eb0: 50 49 4e 61 6d 65 2c 20 69 73 43 6f 6d 6d 65 6e PIName, isCommen
8ec0: 74 2c 20 69 73 43 44 41 54 41 20 61 6e 64 0a 20 t, isCDATA and.
8ed0: 20 20 20 20 20 20 20 20 20 69 73 50 49 56 61 6c isPIVal
8ee0: 75 65 20 6d 65 74 68 6f 64 20 74 6f 20 74 68 65 ue method to the
8ef0: 20 64 6f 6d 20 63 6f 6d 6d 61 6e 64 2e 20 43 72 dom command. Cr
8f00: 65 61 74 65 64 20 6e 65 77 20 67 6c 6f 62 61 6c eated new global
8f10: 0a 20 20 20 20 20 20 20 20 20 20 28 74 68 72 65 . (thre
8f20: 61 64 20 77 69 64 65 29 20 66 6c 61 67 73 20 66 ad wide) flags f
8f30: 6f 72 20 6e 61 6d 65 20 61 6e 64 20 76 61 6c 75 or name and valu
8f40: 65 20 63 68 65 63 6b 73 20 28 4e 61 6d 65 73 20 e checks (Names
8f50: 61 6e 64 20 46 51 0a 20 20 20 20 20 20 20 20 20 and FQ.
8f60: 20 4e 61 6d 65 73 20 28 65 6c 65 6d 65 6e 74 2c Names (element,
8f70: 20 61 74 74 72 69 62 75 74 65 20 61 6e 64 20 70 attribute and p
8f80: 72 6f 63 65 73 73 69 6e 67 20 69 6e 73 74 72 75 rocessing instru
8f90: 63 74 69 6f 6e 20 6e 61 6d 65 73 29 2c 0a 20 20 ction names),.
8fa0: 20 20 20 20 20 20 20 20 74 65 78 74 20 6e 6f 64 text nod
8fb0: 65 73 2c 20 63 6f 6d 6d 65 6e 74 73 2c 20 43 44 es, comments, CD
8fc0: 41 54 41 20 73 65 63 74 69 6f 6e 73 20 61 6e 64 ATA sections and
8fd0: 20 70 72 6f 63 65 73 73 69 6e 67 0a 20 20 20 20 processing.
8fe0: 20 20 20 20 20 20 69 6e 73 74 72 75 63 74 69 6f instructio
8ff0: 6e 20 76 61 6c 75 65 73 29 2e 20 4e 65 77 20 6d n values). New m
9000: 65 74 68 6f 64 73 20 73 65 74 4e 61 6d 65 43 68 ethods setNameCh
9010: 65 63 6b 20 61 6e 64 0a 20 20 20 20 20 20 20 20 eck and.
9020: 20 20 73 65 74 54 65 78 74 43 68 65 63 6b 20 74 setTextCheck t
9030: 6f 20 63 6f 6e 74 72 6f 6c 20 74 68 69 73 20 66 o control this f
9040: 6c 61 67 73 2e 20 0a 0a 20 20 20 20 20 20 20 20 lags. ..
9050: 2a 20 67 65 6e 65 72 69 63 2f 6e 6f 64 65 63 6d * generic/nodecm
9060: 64 2e 63 3a 20 42 75 67 20 66 69 78 20 69 6e 20 d.c: Bug fix in
9070: 63 61 73 65 20 6f 66 20 0a 20 20 20 20 20 20 20 case of .
9080: 20 20 20 61 70 70 65 6e 64 46 72 6f 6d 53 63 72 appendFromScr
9090: 69 70 74 20 73 63 72 69 70 74 2e 0a 0a 20 20 20 ipt script...
90a0: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
90b0: 6f 6d 78 73 6c 74 2e 63 3a 20 55 73 65 73 20 74 omxslt.c: Uses t
90c0: 68 65 20 6e 65 77 20 64 6f 6d 49 73 43 6f 6d 6d he new domIsComm
90d0: 65 6e 74 2c 20 64 6f 6d 49 73 50 49 4e 41 4d 45 ent, domIsPINAME
90e0: 0a 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 64 . and d
90f0: 6f 6d 49 73 50 49 56 61 6c 75 65 20 41 50 49 20 omIsPIValue API
9100: 66 75 6e 63 74 69 6f 6e 73 20 6f 66 20 64 6f 6d functions of dom
9110: 2e 63 2e 20 49 6d 70 72 6f 76 65 64 0a 20 20 20 .c. Improved.
9120: 20 20 20 20 20 20 20 78 73 6c 3a 70 72 6f 63 65 xsl:proce
9130: 73 73 69 6e 67 2d 69 6e 73 74 72 75 63 74 69 6f ssing-instructio
9140: 6e 20 70 72 6f 63 65 73 73 69 6e 67 20 28 6e 6f n processing (no
9150: 77 20 69 6e 73 74 61 6e 74 69 61 74 69 6e 67 20 w instantiating
9160: 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 63 6f the. co
9170: 6e 74 65 6e 74 29 2e 0a 0a 20 20 20 20 20 20 20 ntent)...
9180: 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 * generic/domxp
9190: 61 74 68 2e 63 3a 20 4d 69 6e 6f 72 20 65 64 69 ath.c: Minor edi
91a0: 74 6f 72 69 61 6c 20 63 68 61 6e 67 65 73 2e 0a torial changes..
91b0: 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 . * tests
91c0: 2f 64 6f 6d 43 6d 64 2e 74 65 73 74 3a 20 44 65 /domCmd.test: De
91d0: 6c 65 74 65 64 20 74 68 69 73 20 66 69 6c 65 2c leted this file,
91e0: 20 6d 6f 76 65 64 20 74 68 65 20 74 65 73 74 73 moved the tests
91f0: 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 74 68 to. th
9200: 65 20 6e 65 77 20 64 6f 6d 2e 74 65 73 74 20 6f e new dom.test o
9210: 72 20 64 6f 6d 44 6f 63 2e 74 65 73 74 2e 0a 0a r domDoc.test...
9220: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
9230: 64 6f 6d 2e 74 65 73 74 3a 20 4d 6f 76 65 64 20 dom.test: Moved
9240: 74 68 65 20 74 65 73 74 73 20 66 72 6f 6d 20 74 the tests from t
9250: 68 69 73 20 66 69 6c 65 20 74 6f 20 74 68 65 20 his file to the
9260: 6e 65 77 0a 20 20 20 20 20 20 20 20 20 20 64 6f new. do
9270: 6d 4e 6f 64 65 2e 74 65 73 74 20 61 6e 64 20 63 mNode.test and c
9280: 6f 6c 6c 65 63 74 65 64 20 64 6f 6d 20 63 6f 6d ollected dom com
9290: 6d 61 6e 64 20 74 65 73 74 73 20 68 65 72 65 2e mand tests here.
92a0: 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 .. * test
92b0: 73 2f 64 6f 6d 44 6f 63 2e 74 65 73 74 0a 20 20 s/domDoc.test.
92c0: 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f * tests/do
92d0: 6d 4e 6f 64 65 2e 74 65 73 74 3a 20 43 72 65 61 mNode.test: Crea
92e0: 74 65 64 20 74 68 69 73 20 66 69 6c 65 73 2c 20 ted this files,
92f0: 74 65 73 74 73 20 66 72 6f 6d 20 64 6f 6d 2e 74 tests from dom.t
9300: 65 73 74 0a 20 20 20 20 20 20 20 20 20 20 61 6e est. an
9310: 64 20 64 6f 6d 43 6d 64 2e 74 65 73 74 2e 20 20 d domCmd.test.
9320: 0a 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f .. * doc/
9330: 65 78 70 61 74 2e 2a 20 20 0a 20 20 20 20 20 20 expat.* .
9340: 20 20 2a 20 74 65 73 74 73 2f 78 70 61 74 68 2e * tests/xpath.
9350: 74 65 73 74 0a 20 20 20 20 20 20 20 20 2a 20 74 test. * t
9360: 65 73 74 73 2f 78 73 6c 74 2e 74 65 73 74 3a 20 ests/xslt.test:
9370: 4d 69 6e 6f 72 20 63 68 61 6e 67 65 73 2e 0a 20 Minor changes..
9380: 20 0a 32 30 30 34 2d 30 35 2d 31 31 20 20 52 6f .2004-05-11 Ro
9390: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
93a0: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
93b0: 20 20 20 20 20 2a 20 61 70 70 73 2f 78 73 6c 74 * apps/xslt
93c0: 2e 74 63 6c 3a 20 46 69 78 65 64 20 74 68 65 20 .tcl: Fixed the
93d0: 74 65 73 74 20 66 6f 72 20 72 75 6e 6e 69 6e 67 test for running
93e0: 20 69 6e 20 61 20 73 6f 75 72 63 65 20 74 72 65 in a source tre
93f0: 65 0a 20 20 20 20 20 20 20 20 20 20 77 69 74 68 e. with
9400: 20 74 63 6c 64 6f 6d 73 68 2e 20 28 64 6f 68 21 tcldomsh. (doh!
9410: 29 0a 0a 32 30 30 34 2d 30 35 2d 30 38 20 20 52 )..2004-05-08 R
9420: 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 olf Ade <rolf@p
9430: 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 ointsman.de>..
9440: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
9450: 78 6d 6c 73 69 6d 70 6c 65 2e 63 3a 20 52 65 6d xmlsimple.c: Rem
9460: 6f 76 65 64 20 73 75 70 65 72 66 6c 75 6f 75 73 oved superfluous
9470: 20 61 72 67 20 62 61 73 65 55 52 49 20 66 72 6f arg baseURI fro
9480: 6d 0a 20 20 20 20 20 20 20 20 20 20 58 4d 4c 5f m. XML_
9490: 53 69 6d 70 6c 65 50 61 72 73 65 28 29 2e 0a 0a SimpleParse()...
94a0: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
94b0: 63 2f 64 6f 6d 68 74 6d 6c 2e 63 0a 20 20 20 20 c/domhtml.c.
94c0: 20 20 20 20 2a 20 74 65 73 74 73 2f 68 74 6d 6c * tests/html
94d0: 72 65 61 64 65 72 2e 74 65 73 74 3a 20 46 69 78 reader.test: Fix
94e0: 65 64 20 68 74 6d 6c 2d 32 2e 31 20 61 6e 64 20 ed html-2.1 and
94f0: 68 74 6d 6c 2d 32 2e 32 2e 20 28 54 68 69 73 0a html-2.2. (This.
9500: 20 20 20 20 20 20 20 20 20 20 68 74 6d 6c 20 72 html r
9510: 65 61 64 65 72 20 69 73 20 63 72 75 73 74 79 20 eader is crusty
9520: 73 74 75 66 66 2e 2e 2e 29 0a 0a 32 30 30 34 2d stuff...)..2004-
9530: 30 33 2d 32 36 20 20 52 6f 6c 66 20 41 64 65 20 03-26 Rolf Ade
9540: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
9550: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
9560: 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 generic/domxpath
9570: 2e 63 3a 20 46 69 78 20 6f 66 20 74 68 65 20 74 .c: Fix of the t
9580: 65 6d 70 6c 61 74 65 20 70 72 69 6f 72 69 74 79 emplate priority
9590: 20 63 61 6c 63 75 6c 61 74 69 6f 6e 0a 20 20 20 calculation.
95a0: 20 20 20 20 20 20 20 61 6e 64 20 63 6c 65 61 72 and clear
95b0: 69 6e 67 20 6f 75 74 20 6f 66 20 78 70 61 74 68 ing out of xpath
95c0: 47 65 74 50 72 69 6f 28 29 2e 0a 0a 32 30 30 34 GetPrio()...2004
95d0: 2d 30 33 2d 31 34 20 20 52 6f 6c 66 20 41 64 65 -03-14 Rolf Ade
95e0: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
95f0: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
9600: 20 67 65 6e 65 72 69 63 2f 78 6d 6c 73 69 6d 70 generic/xmlsimp
9610: 6c 65 2e 63 3a 20 46 69 78 65 64 20 61 20 66 65 le.c: Fixed a fe
9620: 77 20 73 69 6d 70 6c 65 20 70 61 72 73 65 72 20 w simple parser
9630: 73 65 67 20 66 61 75 6c 74 73 20 69 6e 0a 20 20 seg faults in.
9640: 20 20 20 20 20 20 20 20 63 61 73 65 20 6f 66 20 case of
9650: 6e 6f 74 2d 77 66 20 69 6e 70 75 74 2e 20 53 65 not-wf input. Se
9660: 65 20 78 6d 6c 63 6f 6e 66 2f 78 6d 6c 74 65 73 e xmlconf/xmltes
9670: 74 2f 6e 6f 74 2d 77 66 2f 73 61 2f 30 32 32 2e t/not-wf/sa/022.
9680: 78 6d 6c 2c 0a 20 20 20 20 20 20 20 20 20 20 78 xml,. x
9690: 6d 6c 63 6f 6e 66 2f 78 6d 6c 74 65 73 74 2f 6e mlconf/xmltest/n
96a0: 6f 74 2d 77 66 2f 73 61 2f 30 34 32 2e 78 6d 6c ot-wf/sa/042.xml
96b0: 20 66 6f 72 20 65 78 61 6d 70 6c 65 73 2e 0a 0a for examples...
96c0: 32 30 30 33 2d 31 32 2d 33 30 20 20 52 6f 6c 66 2003-12-30 Rolf
96d0: 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e Ade <rolf@poin
96e0: 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 tsman.de>..
96f0: 20 20 20 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e * Makefile.in
9700: 0a 20 20 20 20 20 20 20 20 2a 20 65 78 74 65 6e . * exten
9710: 73 69 6f 6e 73 2f 74 64 6f 6d 68 74 6d 6c 2f 70 sions/tdomhtml/p
9720: 6b 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e 0a 20 kgIndex.tcl.in.
9730: 20 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 * extensi
9740: 6f 6e 73 2f 74 6e 63 2f 4d 61 6b 65 66 69 6c 65 ons/tnc/Makefile
9750: 2e 69 6e 3a 20 44 6f 68 21 20 55 6e 64 6f 20 74 .in: Doh! Undo t
9760: 68 65 20 6c 61 73 74 20 63 68 61 6e 67 65 73 3b he last changes;
9770: 20 49 0a 20 20 20 20 20 20 20 20 20 20 66 69 78 I. fix
9780: 65 64 20 74 68 69 73 20 61 6c 72 65 61 64 79 20 ed this already
9790: 32 30 30 33 2d 31 30 2d 31 32 2e 0a 0a 20 20 20 2003-10-12...
97a0: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
97b0: 6f 6d 2e 63 3a 20 52 65 6d 6f 76 65 64 20 73 75 om.c: Removed su
97c0: 70 65 72 66 6c 75 6f 75 73 20 63 6f 6d 6d 61 20 perfluous comma
97d0: 66 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 20 20 from the.
97e0: 20 20 20 74 64 6f 6d 4d 65 74 68 6f 64 20 65 6e tdomMethod en
97f0: 75 6d 2c 20 77 68 69 63 68 20 62 6f 74 68 65 72 um, which bother
9800: 65 64 20 74 68 65 20 41 49 58 20 78 6c 63 20 63 ed the AIX xlc c
9810: 6f 6d 70 69 6c 65 72 2e 0a 0a 20 20 20 20 20 20 ompiler...
9820: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 * generic/domx
9830: 70 61 74 68 2e 63 3a 20 45 64 69 74 6f 72 69 61 path.c: Editoria
9840: 6c 20 63 68 61 6e 67 65 3a 20 52 65 6d 6f 76 65 l change: Remove
9850: 64 20 73 6f 6d 65 0a 20 20 20 20 20 20 20 20 20 d some.
9860: 20 73 75 70 65 72 66 6c 75 6f 75 73 20 63 61 73 superfluous cas
9870: 74 73 20 74 6f 20 28 63 68 61 72 2a 29 20 66 72 ts to (char*) fr
9880: 6f 6d 20 74 64 6f 6d 73 74 72 64 75 70 20 72 65 om tdomstrdup re
9890: 73 75 6c 74 20 2d 20 69 74 73 0a 20 20 20 20 20 sult - its.
98a0: 20 20 20 20 20 64 65 66 69 6e 65 64 20 74 6f 20 defined to
98b0: 72 65 74 75 72 6e 20 63 68 61 72 2a 2e 0a 20 20 return char*..
98c0: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
98d0: 69 63 2f 64 6f 6d 78 70 61 74 68 2e 68 0a 20 20 ic/domxpath.h.
98e0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
98f0: 64 6f 6d 78 70 61 74 68 2e 63 0a 20 20 20 20 20 domxpath.c.
9900: 20 20 20 2a 20 74 65 73 74 73 2f 78 73 6c 74 2e * tests/xslt.
9910: 74 65 73 74 0a 20 20 20 20 20 20 20 20 2a 20 67 test. * g
9920: 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 eneric/domxslt.c
9930: 3a 20 49 6d 70 6c 65 6d 65 6e 74 65 64 20 74 68 : Implemented th
9940: 65 20 73 70 65 63 69 61 6c 20 63 6f 6e 73 74 72 e special constr
9950: 61 69 6e 74 73 20 6f 6e 0a 20 20 20 20 20 20 20 aints on.
9960: 20 20 20 63 65 72 74 61 69 6e 20 78 70 61 74 68 certain xpath
9970: 20 70 61 74 74 65 72 6e 2f 65 78 70 72 20 28 6e pattern/expr (n
9980: 6f 20 63 75 72 72 65 6e 74 28 29 20 66 75 6e 63 o current() func
9990: 20 69 6e 20 70 61 74 74 65 72 6e 2c 20 6e 6f 0a in pattern, no.
99a0: 20 20 20 20 20 20 20 20 20 20 76 61 72 20 72 65 var re
99b0: 66 65 72 65 6e 63 65 73 20 69 6e 20 74 65 6d 70 ferences in temp
99c0: 6c 61 74 65 20 61 6e 64 20 6b 65 79 20 6d 61 74 late and key mat
99d0: 63 68 20 70 61 74 74 65 72 6e 20 61 6e 64 20 6b ch pattern and k
99e0: 65 79 20 75 73 65 0a 20 20 20 20 20 20 20 20 20 ey use.
99f0: 20 65 78 70 72 2c 20 6e 6f 20 6b 65 79 28 29 20 expr, no key()
9a00: 66 75 6e 63 20 69 6e 20 6b 65 79 20 6d 61 74 63 func in key matc
9a10: 68 20 70 61 74 74 65 72 6e 20 61 6e 64 20 75 73 h pattern and us
9a20: 65 20 65 78 70 72 2e 29 0a 0a 32 30 30 33 2d 31 e expr.)..2003-1
9a30: 32 2d 32 34 20 20 52 6f 6c 66 20 41 64 65 20 20 2-24 Rolf Ade
9a40: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
9a50: 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 4d de>.. * M
9a60: 61 6b 65 66 69 6c 65 2e 69 6e 0a 20 20 20 20 20 akefile.in.
9a70: 20 20 20 2a 20 77 69 6e 2f 70 6b 67 49 6e 64 65 * win/pkgInde
9a80: 78 2e 74 63 6c 3a 20 20 20 20 20 0a 20 20 20 20 x.tcl: .
9a90: 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 * extensions
9aa0: 2f 74 6e 63 2f 70 6b 67 49 6e 64 65 78 2e 74 63 /tnc/pkgIndex.tc
9ab0: 6c 2e 69 6e 0a 20 20 20 20 20 20 20 20 2a 20 65 l.in. * e
9ac0: 78 74 65 6e 73 69 6f 6e 73 2f 74 64 6f 6d 68 74 xtensions/tdomht
9ad0: 6d 6c 2f 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e ml/pkgIndex.tcl.
9ae0: 69 6e 0a 20 20 20 20 20 20 20 20 2a 20 65 78 74 in. * ext
9af0: 65 6e 73 69 6f 6e 73 2f 65 78 61 6d 70 6c 65 2f ensions/example/
9b00: 70 6b 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e 3a pkgIndex.tcl.in:
9b10: 20 42 75 67 20 66 69 78 3a 20 50 72 6f 74 65 63 Bug fix: Protec
9b20: 74 20 61 67 61 69 6e 73 74 0a 20 20 20 20 20 20 t against.
9b30: 20 20 20 20 73 70 61 63 65 73 20 69 6e 20 74 68 spaces in th
9b40: 65 20 70 61 74 68 20 74 6f 20 74 68 65 20 70 61 e path to the pa
9b50: 63 6b 61 67 65 2e 0a 0a 32 30 30 33 2d 31 32 2d ckage...2003-12-
9b60: 32 30 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 20 Rolf Ade <r
9b70: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
9b80: 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 77 69 6e >.. * win
9b90: 2f 70 6b 67 49 6e 64 65 78 2e 74 63 6c 3a 20 41 /pkgIndex.tcl: A
9ba0: 6c 73 6f 20 75 70 64 61 74 65 64 20 74 6f 20 6e lso updated to n
9bb0: 65 77 20 76 65 72 73 69 6f 6e 20 6e 72 20 30 2e ew version nr 0.
9bc0: 38 2e 30 2e 0a 20 20 20 20 0a 32 30 30 33 2d 31 8.0.. .2003-1
9bd0: 32 2d 31 37 20 20 52 6f 6c 66 20 41 64 65 20 20 2-17 Rolf Ade
9be0: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
9bf0: 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 64 de>.. * d
9c00: 6f 63 2f 64 6f 6d 4e 6f 64 65 2e 2a 0a 20 20 20 oc/domNode.*.
9c10: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 * generic/t
9c20: 63 6c 64 6f 6d 2e 63 3a 20 41 64 64 65 64 20 62 cldom.c: Added b
9c30: 61 73 65 55 52 49 20 6d 65 74 68 6f 64 2c 20 77 aseURI method, w
9c40: 68 69 63 68 20 72 65 74 75 72 6e 73 20 74 68 65 hich returns the
9c50: 0a 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65 . curre
9c60: 6e 74 20 62 61 73 65 20 55 52 49 20 61 6e 64 20 nt base URI and
9c70: 68 61 73 20 61 6e 20 6f 70 74 69 6f 6e 61 6c 20 has an optional
9c80: 61 72 67 75 6d 65 6e 74 20 74 6f 20 73 65 74 20 argument to set
9c90: 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 62 61 the. ba
9ca0: 73 65 20 55 52 49 2e 20 28 54 68 65 20 67 65 74 se URI. (The get
9cb0: 42 61 73 65 55 52 49 20 69 73 20 64 65 70 72 65 BaseURI is depre
9cc0: 63 61 74 65 64 2e 29 0a 0a 32 30 30 33 2d 31 32 cated.)..2003-12
9cd0: 2d 31 35 20 20 52 6f 6c 66 20 41 64 65 20 20 3c -15 Rolf Ade <
9ce0: 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 rolf@pointsman.d
9cf0: 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 e>.. * ge
9d00: 6e 65 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 neric/dom.c.
9d10: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
9d20: 6d 78 73 6c 74 2e 63 3a 20 4d 6f 72 65 20 66 69 mxslt.c: More fi
9d30: 78 65 73 20 74 6f 20 65 6e 73 75 72 65 20 6e 73 xes to ensure ns
9d40: 20 69 6e 74 65 67 72 69 74 79 20 6f 66 20 78 73 integrity of xs
9d50: 6c 74 0a 20 20 20 20 20 20 20 20 20 20 72 65 73 lt. res
9d60: 75 6c 74 20 74 72 65 65 73 2e 0a 0a 32 30 30 33 ult trees...2003
9d70: 2d 31 32 2d 31 34 20 20 52 6f 6c 66 20 41 64 65 -12-14 Rolf Ade
9d80: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
9d90: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
9da0: 20 74 65 73 74 73 2f 61 74 74 72 69 62 75 74 65 tests/attribute
9db0: 2e 74 65 78 74 3a 20 4d 61 64 65 20 74 65 73 74 .text: Made test
9dc0: 20 72 65 73 75 6c 74 73 20 69 6e 64 65 70 65 6e results indepen
9dd0: 64 65 6e 74 20 66 72 6f 6d 20 74 68 65 0a 20 20 dent from the.
9de0: 20 20 20 20 20 20 20 20 28 75 6e 64 65 66 69 6e (undefin
9df0: 65 64 29 20 6f 72 64 65 72 20 6f 66 20 5b 61 72 ed) order of [ar
9e00: 72 61 79 20 67 65 74 5d 2e 0a 0a 20 20 20 20 20 ray get]...
9e10: 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 2e 74 * tests/dom.t
9e20: 65 73 74 3a 20 42 75 69 6c 64 20 65 78 70 65 63 est: Build expec
9e30: 74 65 64 20 72 65 73 75 6c 74 20 6f 66 20 73 6f ted result of so
9e40: 6d 65 20 74 65 73 74 73 20 77 69 74 68 0a 20 20 me tests with.
9e50: 20 20 20 20 20 20 20 20 5b 6c 69 73 74 5d 2c 20 [list],
9e60: 69 6e 73 74 65 61 64 20 6f 66 20 70 72 6f 76 69 instead of provi
9e70: 64 69 6e 67 20 61 20 73 74 72 69 6e 67 20 72 65 ding a string re
9e80: 70 2e 20 54 68 69 73 20 68 69 64 65 73 20 74 68 p. This hides th
9e90: 65 0a 20 20 20 20 20 20 20 20 20 20 63 68 61 6e e. chan
9ea0: 67 65 73 20 69 6e 20 6c 69 73 74 20 73 74 72 69 ges in list stri
9eb0: 6e 67 20 72 65 70 20 62 79 20 54 49 50 20 31 34 ng rep by TIP 14
9ec0: 38 2c 20 73 6f 20 74 68 61 74 20 74 68 65 20 74 8, so that the t
9ed0: 65 73 74 73 0a 20 20 20 20 20 20 20 20 20 20 77 ests. w
9ee0: 6f 72 6b 20 62 6f 74 68 20 77 69 74 68 20 70 72 ork both with pr
9ef0: 65 2d 20 61 6e 64 20 70 6f 73 74 20 54 49 50 20 e- and post TIP
9f00: 31 34 38 20 74 63 6c 2e 0a 0a 32 30 30 33 2d 31 148 tcl...2003-1
9f10: 32 2d 31 31 20 20 52 6f 6c 66 20 41 64 65 20 20 2-11 Rolf Ade
9f20: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
9f30: 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 de>.. * t
9f40: 65 73 74 73 2f 78 73 6c 74 2e 74 65 73 74 0a 20 ests/xslt.test.
9f50: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
9f60: 2f 64 6f 6d 78 70 61 74 68 2e 63 3a 20 42 75 67 /domxpath.c: Bug
9f70: 20 66 69 78 3a 20 64 6f 75 62 6c 65 20 6d 65 6d fix: double mem
9f80: 20 66 72 65 65 20 69 6e 20 63 61 73 65 20 6f 66 free in case of
9f90: 0a 20 20 20 20 20 20 20 20 20 20 70 61 74 74 65 . patte
9fa0: 72 6e 20 77 2f 20 46 51 20 65 6c 65 6d 65 6e 74 rn w/ FQ element
9fb0: 20 77 69 74 68 20 70 6f 73 69 74 69 6f 6e 61 6c with positional
9fc0: 20 64 65 70 65 6e 64 65 6e 74 20 70 72 65 64 69 dependent predi
9fd0: 63 61 74 65 2e 0a 0a 20 20 20 20 20 20 20 20 2a cate... *
9fe0: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 0a 20 generic/dom.c.
9ff0: 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 * tests/d
a000: 6f 6d 43 6d 64 2e 74 65 73 74 0a 20 20 20 20 20 omCmd.test.
a010: 20 20 20 2a 20 74 65 73 74 73 2f 70 63 64 61 74 * tests/pcdat
a020: 61 2e 74 65 73 74 0a 20 20 20 20 20 20 20 20 2a a.test. *
a030: 20 74 65 73 74 73 2f 74 64 6f 6d 63 6d 64 2e 74 tests/tdomcmd.t
a040: 65 73 74 0a 20 20 20 20 20 20 20 20 2a 20 67 65 est. * ge
a050: 6e 65 72 69 63 2f 74 63 6c 65 78 70 61 74 2e 63 neric/tclexpat.c
a060: 3a 20 42 75 67 20 66 69 78 3a 20 44 6f 6e 27 74 : Bug fix: Don't
a070: 20 71 75 61 73 68 20 77 68 69 74 65 20 73 70 61 quash white spa
a080: 63 65 20 6f 66 20 6e 6f 6e 0a 20 20 20 20 20 20 ce of non.
a090: 20 20 20 20 77 68 69 74 65 20 73 70 61 63 65 20 white space
a0a0: 6f 6e 6c 79 20 63 6f 6e 74 65 6e 74 20 69 6e 20 only content in
a0b0: 74 72 69 6d 20 6d 6f 64 65 2e 0a 0a 32 30 30 33 trim mode...2003
a0c0: 2d 31 32 2d 30 39 20 20 52 6f 6c 66 20 41 64 65 -12-09 Rolf Ade
a0d0: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
a0e0: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
a0f0: 20 6c 69 62 2f 74 64 6f 6d 2e 74 63 6c 3a 20 49 lib/tdom.tcl: I
a100: 6d 70 72 6f 76 65 64 20 72 65 67 65 78 70 20 74 mproved regexp t
a110: 6f 20 65 78 74 72 61 63 74 20 65 6e 63 6f 64 69 o extract encodi
a120: 6e 67 2e 20 43 6f 72 72 65 63 74 65 64 0a 20 20 ng. Corrected.
a130: 20 20 20 20 20 20 20 20 74 79 70 6f 2e 20 20 20 typo.
a140: 20 20 20 20 20 0a 20 20 20 20 0a 20 20 20 20 20 . .
a150: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
a160: 78 73 6c 74 2e 63 0a 20 20 20 20 20 20 20 20 2a xslt.c. *
a170: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 generic/domxpat
a180: 68 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 h.c. * ge
a190: 6e 65 72 69 63 2f 64 6f 6d 2e 63 3a 20 42 75 67 neric/dom.c: Bug
a1a0: 20 66 69 78 20 69 6e 20 6e 61 6d 65 73 70 61 63 fix in namespac
a1b0: 65 20 68 61 6e 64 6c 69 6e 67 3a 20 63 6f 70 79 e handling: copy
a1c0: 2d 6f 66 20 66 72 6f 6d 0a 20 20 20 20 20 20 20 -of from.
a1d0: 20 20 20 72 65 73 75 6c 74 20 74 72 65 65 20 66 result tree f
a1e0: 72 61 67 6d 65 6e 74 73 20 63 6f 75 6c 64 20 6d ragments could m
a1f0: 65 73 73 20 75 70 20 6e 73 20 68 61 6e 64 6c 69 ess up ns handli
a200: 6e 67 2c 20 69 66 20 61 0a 20 20 20 20 20 20 20 ng, if a.
a210: 20 20 20 64 65 66 61 75 6c 74 20 6e 61 6d 65 73 default names
a220: 70 61 63 65 20 69 73 20 61 6c 72 65 61 64 79 20 pace is already
a230: 69 6e 20 73 63 6f 70 65 20 69 6e 20 74 68 65 20 in scope in the
a240: 72 65 73 75 6c 74 20 74 72 65 65 2e 0a 0a 32 30 result tree...20
a250: 30 33 2d 31 32 2d 30 38 20 20 52 6f 6c 66 20 41 03-12-08 Rolf A
a260: 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 de <rolf@points
a270: 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 man.de>..
a280: 20 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e * win/makefile.
a290: 76 63 0a 20 20 20 20 20 20 20 20 2a 20 77 69 6e vc. * win
a2a0: 2f 6d 61 6b 65 66 69 6c 65 38 30 35 2e 76 63 3a /makefile805.vc:
a2b0: 20 41 6c 73 6f 20 75 70 64 61 74 65 64 20 74 6f Also updated to
a2c0: 20 76 65 72 73 6f 6e 20 6e 72 2e 20 30 2e 38 2e verson nr. 0.8.
a2d0: 30 2e 0a 0a 32 30 30 33 2d 31 31 2d 32 38 20 20 0...2003-11-28
a2e0: 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 Rolf Ade <rolf@
a2f0: 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 pointsman.de>..
a300: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
a310: 2f 74 63 6c 64 6f 6d 2e 63 3a 20 53 77 69 74 63 /tcldom.c: Switc
a320: 68 65 64 20 62 61 63 6b 20 74 6f 20 54 63 6c 5f hed back to Tcl_
a330: 50 61 6e 69 63 28 29 20 69 6e 20 6f 6e 65 20 63 Panic() in one c
a340: 61 73 65 2c 0a 20 20 20 20 20 20 20 20 20 20 74 ase,. t
a350: 6f 20 6d 61 6b 65 20 4d 54 20 62 75 69 6c 64 73 o make MT builds
a360: 20 77 6f 72 6b 2e 0a 0a 20 20 20 20 20 20 20 20 work...
a370: 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c * generic/domxsl
a380: 74 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 t.c. * ge
a390: 6e 65 72 69 63 2f 64 6f 6d 2e 63 3a 20 57 69 74 neric/dom.c: Wit
a3a0: 68 20 4d 54 20 74 44 4f 4d 2c 20 61 20 64 6f 6d h MT tDOM, a dom
a3b0: 44 6f 63 20 65 78 74 52 65 66 48 61 6e 64 6c 65 Doc extRefHandle
a3c0: 72 0a 20 20 20 20 20 20 20 20 20 20 73 63 72 69 r. scri
a3d0: 70 74 20 6d 61 79 20 62 65 20 75 73 65 64 20 77 pt may be used w
a3e0: 69 74 68 69 6e 20 61 6e 6f 74 68 65 72 20 74 68 ithin another th
a3f0: 72 65 61 64 2e 0a 0a 32 30 30 33 2d 31 31 2d 32 read...2003-11-2
a400: 37 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 7 Rolf Ade <ro
a410: 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e lf@pointsman.de>
a420: 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 .. * gene
a430: 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 0a 20 20 ric/domxslt.c.
a440: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
a450: 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 dom.c. *
a460: 74 65 73 74 73 2f 78 73 6c 74 2e 74 65 73 74 73 tests/xslt.tests
a470: 3a 20 41 6e 6f 74 68 65 72 20 66 69 78 2c 20 74 : Another fix, t
a480: 6f 20 65 6e 73 75 72 65 20 6e 61 6d 65 73 70 61 o ensure namespa
a490: 63 65 20 69 6e 74 65 67 72 69 74 79 0a 20 20 20 ce integrity.
a4a0: 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 72 65 of the re
a4b0: 73 75 6c 74 20 64 6f 63 2e 0a 0a 32 30 30 33 2d sult doc...2003-
a4c0: 31 31 2d 32 36 20 20 52 6f 6c 66 20 41 64 65 20 11-26 Rolf Ade
a4d0: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
a4e0: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
a4f0: 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e generic/domxslt.
a500: 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 c. * test
a510: 73 2f 78 73 6c 74 2e 74 65 73 74 3a 20 46 69 78 s/xslt.test: Fix
a520: 2c 20 74 6f 20 65 6e 73 75 72 65 20 6e 61 6d 65 , to ensure name
a530: 73 70 61 63 65 20 69 6e 74 65 67 72 69 74 79 20 space integrity
a540: 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 of the.
a550: 20 72 65 73 75 6c 74 20 64 6f 63 2e 20 46 69 78 result doc. Fix
a560: 65 64 20 70 61 72 65 6e 74 4e 6f 64 65 20 6f 66 ed parentNode of
a570: 20 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 documentElement
a580: 20 61 6e 64 20 73 69 62 6c 69 6e 67 73 0a 20 20 and siblings.
a590: 20 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 72 of the r
a5a0: 65 73 75 6c 74 20 74 72 65 65 2e 0a 0a 32 30 30 esult tree...200
a5b0: 33 2d 31 31 2d 32 34 20 20 52 6f 6c 66 20 41 64 3-11-24 Rolf Ad
a5c0: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
a5d0: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
a5e0: 2a 20 74 65 73 74 73 2f 74 64 6f 6d 63 6d 64 2e * tests/tdomcmd.
a5f0: 74 65 73 74 3a 20 41 64 64 65 64 20 74 68 69 73 test: Added this
a600: 20 66 69 6c 65 2e 0a 0a 20 20 20 20 20 20 20 20 file...
a610: 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 0a * generic/dom.c.
a620: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
a630: 64 6f 6d 2e 74 65 73 74 3a 20 44 6f 6e 27 74 20 dom.test: Don't
a640: 69 6e 63 6c 75 64 65 20 50 49 73 20 69 6e 73 69 include PIs insi
a650: 64 65 20 74 68 65 20 69 6e 74 65 72 6e 61 6c 20 de the internal
a660: 73 75 62 73 65 74 0a 20 20 20 20 20 20 20 20 20 subset.
a670: 20 69 6e 74 6f 20 74 68 65 20 74 72 65 65 2e 0a into the tree..
a680: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
a690: 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 ic/tcldom.c.
a6a0: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
a6b0: 6d 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 m.h. * ge
a6c0: 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 0a neric/domxslt.c.
a6d0: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
a6e0: 78 73 6c 74 2e 74 65 73 74 0a 20 20 20 20 20 20 xslt.test.
a6f0: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e * generic/dom.
a700: 63 3a 20 41 64 64 65 64 20 64 6f 6d 44 6f 63 20 c: Added domDoc
a710: 6d 65 74 68 6f 64 73 20 6f 6d 69 74 2d 78 6d 6c methods omit-xml
a720: 2d 64 65 63 6c 61 72 61 74 69 6f 6e 2c 0a 20 20 -declaration,.
a730: 20 20 20 20 20 20 20 20 69 6e 64 65 6e 74 2c 20 indent,
a740: 73 74 61 6e 64 61 6c 6f 6e 65 2c 20 65 6e 63 6f standalone, enco
a750: 64 69 6e 67 20 61 6e 64 20 6d 65 64 69 61 54 79 ding and mediaTy
a760: 70 65 2e 0a 20 20 20 20 20 20 20 20 20 20 0a 20 pe.. .
a770: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
a780: 2f 74 63 6c 65 78 70 61 74 2e 63 0a 20 20 20 20 /tclexpat.c.
a790: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 * generic/tc
a7a0: 6c 65 78 70 61 74 2e 68 20 20 0a 20 20 20 20 20 lexpat.h .
a7b0: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
a7c0: 2e 63 3a 20 43 68 61 6e 67 65 64 20 70 61 72 73 .c: Changed pars
a7d0: 65 72 4f 62 6a 20 62 65 68 61 76 69 6f 72 3a 20 erObj behavior:
a7e0: 70 61 72 73 65 72 20 64 6f 6e 27 74 20 6e 65 65 parser don't nee
a7f0: 64 0a 20 20 20 20 20 20 20 20 20 20 61 20 72 65 d. a re
a800: 73 65 74 20 63 61 6c 6c 20 61 66 74 65 72 20 61 set call after a
a810: 20 66 69 6e 61 6c 20 70 61 72 73 65 20 6f 72 20 final parse or
a820: 70 61 72 73 69 6e 67 20 65 72 72 6f 72 2e 0a 20 parsing error..
a830: 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 .
a840: 20 20 2a 20 74 65 73 74 73 2f 78 73 6c 74 2e 74 * tests/xslt.t
a850: 65 73 74 20 20 0a 20 20 20 20 20 20 20 20 2a 20 est . *
a860: 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e generic/domxslt.
a870: 63 3a 20 42 75 67 20 66 69 78 3a 20 73 65 67 20 c: Bug fix: seg
a880: 66 61 75 6c 74 20 66 6f 72 20 64 6f 63 75 6d 65 fault for docume
a890: 6e 74 28 27 27 29 20 77 69 74 68 0a 20 20 20 20 nt('') with.
a8a0: 20 20 20 20 20 20 73 74 79 6c 65 73 68 65 65 74 stylesheet
a8b0: 20 74 72 65 65 20 77 69 74 68 20 65 6d 70 74 79 tree with empty
a8c0: 20 62 61 73 65 55 52 49 2e 20 4d 69 6e 6f 72 0a baseURI. Minor.
a8d0: 20 20 20 20 20 20 20 20 20 20 6f 70 74 69 6d 69 optimi
a8e0: 7a 61 74 69 6f 6e 73 2e 20 46 69 78 65 64 20 69 zations. Fixed i
a8f0: 6e 76 61 6c 69 64 20 6d 65 6d 6f 72 79 20 72 65 nvalid memory re
a900: 61 64 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 ad... * g
a910: 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a eneric/tcldom.c.
a920: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
a930: 64 6f 6d 2e 74 65 73 74 3a 20 28 50 72 6f 62 61 dom.test: (Proba
a940: 62 6c 79 29 20 74 65 6d 70 6f 72 61 72 69 6c 79 bly) temporarily
a950: 20 64 69 73 61 62 6c 65 64 0a 20 20 20 20 20 20 disabled.
a960: 20 20 20 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c automaticall
a970: 79 20 63 6c 65 61 6e 20 75 70 20 6f 66 20 6e 6f y clean up of no
a980: 64 65 4f 62 6a 43 6d 64 73 2c 20 74 6f 20 77 6f deObjCmds, to wo
a990: 72 6b 20 61 72 6f 75 6e 64 20 62 75 67 3a 0a 20 rk around bug:.
a9a0: 20 20 20 20 20 20 20 20 20 53 74 6f 72 69 6e 67 Storing
a9b0: 20 74 68 65 20 73 61 6d 65 20 6e 6f 64 65 20 69 the same node i
a9c0: 6e 20 64 69 66 66 65 72 65 6e 74 20 65 76 61 6c n different eval
a9d0: 75 61 74 69 6f 6e 20 63 6f 6e 74 65 78 74 73 20 uation contexts
a9e0: 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 74 with. t
a9f0: 68 65 20 6f 70 74 69 6f 6e 61 6c 20 6f 62 6a 56 he optional objV
aa00: 61 72 20 61 72 67 75 6d 65 6e 74 20 28 61 73 20 ar argument (as
aa10: 69 6e 20 5b 24 64 6f 63 20 64 6f 63 75 6d 65 6e in [$doc documen
aa20: 74 45 6c 65 6d 65 6e 74 0a 20 20 20 20 20 20 20 tElement.
aa30: 20 20 20 72 6f 6f 74 5d 29 20 61 74 20 74 68 65 root]) at the
aa40: 20 73 61 6d 65 20 74 69 6d 65 20 64 69 64 20 6e same time did n
aa50: 6f 74 20 77 6f 72 6b 2e 0a 0a 20 20 20 20 20 20 ot work...
aa60: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 * generic/domx
aa70: 70 61 74 68 2e 63 3a 20 46 69 78 65 64 20 61 20 path.c: Fixed a
aa80: 6d 65 6d 20 6c 65 61 6b 20 77 69 74 68 20 73 6f mem leak with so
aa90: 6d 65 20 73 75 6d 28 29 20 63 61 6c 6c 73 0a 20 me sum() calls.
aaa0: 20 20 20 20 20 20 20 20 20 77 69 74 68 20 4e 61 with Na
aab0: 4e 20 72 65 73 75 6c 74 2e 20 46 69 78 65 64 20 N result. Fixed
aac0: 69 6e 76 61 6c 69 64 20 6d 65 6d 6f 72 79 20 72 invalid memory r
aad0: 65 61 64 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 ead... *
aae0: 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 generic/tcldom.c
aaf0: 3a 20 46 69 78 65 64 20 6d 65 6d 20 6c 65 61 6b : Fixed mem leak
ab00: 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 with.
ab10: 2d 65 78 74 65 72 6e 61 6c 65 6e 74 69 74 79 63 -externalentityc
ab20: 6f 6d 6d 61 6e 64 2e 20 46 69 78 65 64 20 6d 65 ommand. Fixed me
ab30: 6d 20 6c 65 61 6b 20 77 69 74 68 20 70 61 72 73 m leak with pars
ab40: 69 6e 67 20 78 6d 6c 0a 20 20 20 20 20 20 20 20 ing xml.
ab50: 20 20 64 6f 63 75 6d 65 6e 74 20 77 69 74 68 20 document with
ab60: 65 78 74 65 72 6e 61 6c 20 65 6e 74 69 74 79 20 external entity
ab70: 61 6e 64 20 70 61 72 73 69 6e 67 20 65 72 72 6f and parsing erro
ab80: 72 20 69 6e 20 61 6e 0a 20 20 20 20 20 20 20 20 r in an.
ab90: 20 20 65 78 74 65 72 6e 61 6c 20 65 6e 74 69 74 external entit
aba0: 79 2e 20 4d 69 6e 6f 72 20 63 6f 64 65 20 63 6c y. Minor code cl
abb0: 65 61 6e 20 75 70 2e 20 0a 20 20 20 20 20 20 20 ean up. .
abc0: 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 74 65 . * te
abd0: 73 74 73 2f 70 61 72 73 65 72 2e 74 65 73 74 3a sts/parser.test:
abe0: 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e . * gen
abf0: 65 72 69 63 2f 74 63 6c 65 78 70 61 74 2e 63 3a eric/tclexpat.c:
ac00: 20 46 69 78 65 64 20 6d 65 6d 6f 72 79 20 70 72 Fixed memory pr
ac10: 6f 62 6c 65 6d 2c 20 69 66 20 68 61 6e 64 6c 65 oblem, if handle
ac20: 72 20 73 63 72 69 70 74 0a 20 20 20 20 20 20 20 r script.
ac30: 20 20 20 72 65 74 75 72 6e 20 54 43 4c 5f 45 52 return TCL_ER
ac40: 52 4f 52 2e 20 4d 61 64 65 20 74 68 65 20 63 67 ROR. Made the cg
ac50: 65 74 20 6d 65 74 68 6f 64 20 77 6f 72 6b 20 66 et method work f
ac60: 6f 72 20 74 68 65 20 70 61 72 73 65 72 0a 20 20 or the parser.
ac70: 20 20 20 20 20 20 20 20 72 65 6c 61 74 65 64 20 related
ac80: 6f 70 74 69 6f 6e 73 2c 20 65 76 65 6e 20 69 66 options, even if
ac90: 20 74 68 65 72 65 20 61 72 65 20 6e 6f 20 68 61 there are no ha
aca0: 6e 64 6c 65 72 20 73 63 72 69 70 74 73 20 73 65 ndler scripts se
acb0: 74 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 t... * ge
acc0: 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 20 20 neric/tcldom.c
acd0: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
ace0: 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 ic/dom.c.
acf0: 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 65 78 * generic/tclex
ad00: 70 61 74 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 pat.c. *
ad10: 67 65 6e 65 72 69 63 2f 64 6f 6d 6c 6f 63 6b 2e generic/domlock.
ad20: 63 3a 20 41 6c 77 61 79 73 20 75 73 65 20 64 6f c: Always use do
ad30: 6d 50 61 6e 69 63 20 61 73 20 70 61 6e 69 63 20 mPanic as panic
ad40: 66 75 6e 63 74 69 6f 6e 2e 20 20 0a 0a 32 30 30 function. ..200
ad50: 33 2d 31 31 2d 32 30 20 20 52 6f 6c 66 20 41 64 3-11-20 Rolf Ad
ad60: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
ad70: 61 6e 2e 64 65 3e 0a 20 20 20 20 20 20 20 20 20 an.de>.
ad80: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
ad90: 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 3a 20 42 75 ic/domxslt.c: Bu
ada0: 67 20 66 69 78 3a 20 53 65 74 74 69 6e 67 20 61 g fix: Setting a
adb0: 20 74 6f 70 2d 6c 65 76 65 6c 20 78 73 6c 74 20 top-level xslt
adc0: 70 61 72 61 6d 0a 20 20 20 20 20 20 20 20 20 20 param.
add0: 77 69 74 68 20 2d 70 61 72 61 6d 65 74 65 72 73 with -parameters
ade0: 20 61 6e 64 20 75 73 69 6e 67 20 74 68 69 73 20 and using this
adf0: 70 61 72 61 6d 20 66 6f 72 20 73 65 74 74 69 6e param for settin
ae00: 67 20 61 6e 6f 74 68 65 72 0a 20 20 20 20 20 20 g another.
ae10: 20 20 20 20 74 6f 70 20 6c 65 76 65 6c 20 76 61 top level va
ae20: 72 20 63 6f 75 6c 64 20 65 6e 64 20 69 6e 20 73 r could end in s
ae30: 65 67 20 66 61 75 6c 64 2e 0a 0a 32 30 30 33 2d eg fauld...2003-
ae40: 31 31 2d 31 30 20 20 52 6f 6c 66 20 41 64 65 20 11-10 Rolf Ade
ae50: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
ae60: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
ae70: 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 generic/tcldom.c
ae80: 3a 20 52 65 70 6c 61 63 65 64 20 61 20 43 2b 2b : Replaced a C++
ae90: 20 73 74 79 6c 65 20 63 6f 6d 6d 65 6e 74 20 77 style comment w
aea0: 69 74 68 20 61 20 43 0a 20 20 20 20 20 20 20 20 ith a C.
aeb0: 20 20 73 74 79 6c 65 20 63 6f 6d 6d 65 6e 74 2e style comment.
aec0: 0a 20 20 20 20 0a 32 30 30 33 2d 31 31 2d 30 32 . .2003-11-02
aed0: 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c Rolf Ade <rol
aee0: 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a f@pointsman.de>.
aef0: 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 . * tests
af00: 2f 78 70 61 74 68 2e 74 65 73 74 3a 20 41 64 64 /xpath.test: Add
af10: 65 64 20 61 20 66 65 77 20 74 65 73 74 73 20 72 ed a few tests r
af20: 65 6c 61 74 65 64 20 74 6f 20 64 65 63 6c 61 72 elated to declar
af30: 61 74 69 6f 6e 73 0a 20 20 20 20 20 20 20 20 20 ations.
af40: 20 74 6f 20 63 68 61 70 74 65 72 20 34 2e 32 20 to chapter 4.2
af50: 61 6e 64 20 34 2e 34 20 69 6e 20 74 68 65 20 65 and 4.4 in the e
af60: 72 72 61 74 61 20 74 6f 20 74 68 65 20 58 50 61 rrata to the XPa
af70: 74 68 20 72 65 63 2e 0a 0a 20 20 20 20 20 20 20 th rec...
af80: 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 * generic/domxp
af90: 61 74 68 2e 68 3a 20 46 69 78 65 64 20 6d 65 6d ath.h: Fixed mem
afa0: 6f 72 79 20 6c 65 61 6b 2c 20 69 66 20 66 6c 6f ory leak, if flo
afb0: 6f 72 20 6f 72 20 63 65 69 6c 69 6e 67 0a 20 20 or or ceiling.
afc0: 20 20 20 20 20 20 20 20 61 72 65 20 63 61 6c 6c are call
afd0: 65 64 20 77 69 74 68 20 6e 6f 6e 2d 6e 75 6d 62 ed with non-numb
afe0: 65 72 73 2e 0a 0a 32 30 30 33 2d 31 31 2d 30 31 ers...2003-11-01
aff0: 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c Rolf Ade <rol
b000: 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a f@pointsman.de>.
b010: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
b020: 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 3a 20 4d 69 ic/domxslt.c: Mi
b030: 6e 6f 72 20 62 75 67 20 66 69 78 3a 20 53 70 65 nor bug fix: Spe
b040: 63 69 61 6c 20 68 61 6e 64 6c 69 6e 67 20 69 73 cial handling is
b050: 0a 20 20 20 20 20 20 20 20 20 20 6e 65 65 64 65 . neede
b060: 64 2c 20 69 66 20 78 73 6c 3a 63 6f 70 79 2d 6f d, if xsl:copy-o
b070: 66 20 69 73 20 75 73 65 64 2c 20 74 6f 20 63 6f f is used, to co
b080: 70 79 20 6e 61 6d 65 73 70 61 63 65 20 6e 6f 64 py namespace nod
b090: 65 73 2e 0a 0a 32 30 30 33 2d 31 30 2d 32 36 20 es...2003-10-26
b0a0: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
b0b0: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 20 @pointsman.de>.
b0c0: 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 .
b0d0: 2a 20 61 70 70 73 2f 78 73 6c 74 2e 74 63 6c 3a * apps/xslt.tcl:
b0e0: 20 52 65 6d 6f 76 65 64 20 6e 6f 74 20 6e 65 65 Removed not nee
b0f0: 64 65 64 20 63 6f 64 65 2e 0a 0a 20 20 20 20 20 ded code...
b100: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
b110: 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 .c. * tes
b120: 74 73 2f 64 6f 6d 2e 74 65 73 74 3a 20 42 75 67 ts/dom.test: Bug
b130: 20 66 69 78 3a 20 55 6e 64 65 72 20 73 6f 6d 65 fix: Under some
b140: 20 63 69 72 63 75 6d 73 74 61 6e 63 65 73 20 69 circumstances i
b150: 74 20 77 61 73 0a 20 20 20 20 20 20 20 20 20 20 t was.
b160: 70 6f 73 73 69 62 6c 65 2c 20 74 68 61 74 20 61 possible, that a
b170: 6e 20 55 52 49 20 63 68 61 6e 67 65 20 66 6f 72 n URI change for
b180: 20 61 20 73 75 62 74 72 65 65 20 77 61 73 20 6e a subtree was n
b190: 6f 74 20 73 74 6f 72 65 64 20 69 6e 0a 20 20 20 ot stored in.
b1a0: 20 20 20 20 20 20 20 74 68 65 20 74 72 65 65 20 the tree
b1b0: 28 72 65 73 75 6c 74 69 6e 67 20 69 6e 20 77 72 (resulting in wr
b1c0: 6f 6e 67 20 62 61 73 65 20 55 52 49 20 66 6f 72 ong base URI for
b1d0: 20 74 68 61 74 20 6e 6f 64 65 73 29 2e 0a 0a 20 that nodes)...
b1e0: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
b1f0: 2f 64 6f 6d 78 70 61 74 68 2e 63 3a 20 6e 75 6d /domxpath.c: num
b200: 62 65 72 28 29 20 62 75 67 20 66 69 78 3a 20 4e ber() bug fix: N
b210: 6f 77 20 77 6f 72 6b 73 20 61 63 63 6f 72 64 69 ow works accordi
b220: 6e 67 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 ng to.
b230: 74 68 65 20 58 50 61 74 68 20 72 65 63 20 75 6e the XPath rec un
b240: 64 65 72 73 74 61 6e 64 69 6e 67 20 6f 66 20 61 derstanding of a
b250: 20 4e 75 6d 62 65 72 2c 20 6e 6f 74 20 77 69 74 Number, not wit
b260: 68 20 74 68 65 20 6c 69 62 63 0a 20 20 20 20 20 h the libc.
b270: 20 20 20 20 20 75 6e 64 65 72 73 74 61 6e 64 69 understandi
b280: 6e 67 20 6f 66 20 61 20 64 6f 75 62 6c 65 2e 0a ng of a double..
b290: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
b2a0: 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 0a 20 20 ic/domxpath.c.
b2b0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
b2c0: 64 6f 6d 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 dom.h. *
b2d0: 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 64 6f 6d 78 generic/dom.domx
b2e0: 73 6c 74 2e 63 3a 20 47 6c 6f 62 61 6c 69 7a 65 slt.c: Globalize
b2f0: 64 20 74 68 65 20 6d 61 63 72 6f 20 49 53 5f 58 d the macro IS_X
b300: 4d 4c 5f 57 48 49 54 45 53 50 41 43 45 2e 0a 0a ML_WHITESPACE...
b310: 32 30 30 33 2d 31 30 2d 32 34 20 20 52 6f 6c 66 2003-10-24 Rolf
b320: 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e Ade <rolf@poin
b330: 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 tsman.de>..
b340: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
b350: 78 73 6c 74 2e 63 3a 20 42 75 67 20 66 69 78 20 xslt.c: Bug fix
b360: 66 6f 72 20 64 6f 63 75 6d 65 6e 74 28 29 20 66 for document() f
b370: 75 6e 63 2c 20 69 66 20 63 61 6c 6c 65 64 0a 20 unc, if called.
b380: 20 20 20 20 20 20 20 20 20 77 69 74 68 20 32 20 with 2
b390: 61 72 67 73 20 61 6e 64 20 66 69 72 73 74 20 61 args and first a
b3a0: 72 67 20 65 76 61 6c 75 61 74 65 73 20 74 6f 20 rg evaluates to
b3b0: 74 68 65 20 65 6d 70 74 79 0a 20 20 20 20 20 20 the empty.
b3c0: 20 20 20 20 73 74 72 69 6e 67 2e 20 49 6d 70 72 string. Impr
b3d0: 6f 76 65 64 20 65 72 72 6f 72 20 72 65 70 6f 72 oved error repor
b3e0: 74 69 6e 67 2c 20 69 66 20 61 6e 20 58 53 4c 54 ting, if an XSLT
b3f0: 20 76 61 72 69 61 62 6c 65 20 69 73 0a 20 20 20 variable is.
b400: 20 20 20 20 20 20 20 74 72 69 65 64 20 74 6f 20 tried to
b410: 72 65 73 65 74 2c 20 61 6c 74 68 6f 75 67 68 20 reset, although
b420: 74 68 65 72 65 20 69 73 20 61 6c 72 65 61 64 79 there is already
b430: 20 73 75 63 68 20 61 20 76 61 72 69 61 62 6c 65 such a variable
b440: 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 73 63 in. sc
b450: 6f 70 65 3a 20 6e 6f 77 20 74 68 65 20 6e 61 6d ope: now the nam
b460: 65 20 6f 66 20 74 68 65 20 76 61 72 20 69 73 20 e of the var is
b470: 61 6c 73 6f 20 72 65 70 6f 72 74 65 64 20 69 6e also reported in
b480: 20 74 68 65 20 65 72 72 6f 72 0a 20 20 20 20 20 the error.
b490: 20 20 20 20 20 6d 73 67 2e 0a 0a 20 20 20 20 20 msg...
b4a0: 20 20 20 2a 20 61 70 70 73 2f 78 73 6c 74 2e 74 * apps/xslt.t
b4b0: 63 6c 3a 20 55 70 64 61 74 65 64 20 74 6f 20 75 cl: Updated to u
b4c0: 73 65 20 74 68 65 20 6e 65 77 20 61 73 54 65 78 se the new asTex
b4d0: 74 20 6f 70 74 69 6f 6e 2e 0a 0a 32 30 30 33 2d t option...2003-
b4e0: 31 30 2d 32 33 20 20 52 6f 6c 66 20 41 64 65 20 10-23 Rolf Ade
b4f0: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
b500: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
b510: 65 78 70 61 74 2f 2a 0a 20 20 20 20 20 20 20 20 expat/*.
b520: 2a 20 43 48 41 4e 47 45 53 3a 20 55 70 64 61 74 * CHANGES: Updat
b530: 65 20 74 6f 20 65 78 70 61 74 20 31 2e 39 35 2e e to expat 1.95.
b540: 37 2e 0a 20 20 20 20 0a 32 30 30 33 2d 31 30 2d 7.. .2003-10-
b550: 32 32 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 22 Rolf Ade <r
b560: 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
b570: 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e >.. * gen
b580: 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 0a eric/domxpath.c.
b590: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
b5a0: 78 70 61 74 68 2e 74 65 73 74 3a 20 42 75 67 20 xpath.test: Bug
b5b0: 66 69 78 20 69 6e 20 74 68 65 20 78 70 61 74 68 fix in the xpath
b5c0: 20 6c 65 78 65 72 3a 20 49 6e 20 61 20 75 6e 69 lexer: In a uni
b5d0: 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 65 78 70 on. exp
b5e0: 72 2c 20 61 20 4e 43 4e 61 6d 65 20 74 65 73 74 r, a NCName test
b5f0: 20 77 69 74 68 20 61 20 6e 61 6d 65 20 65 71 75 with a name equ
b600: 61 6c 20 74 6f 20 61 6e 20 6f 70 65 72 61 74 6f al to an operato
b610: 72 20 77 61 73 0a 20 20 20 20 20 20 20 20 20 20 r was.
b620: 77 72 6f 6e 67 6c 79 20 69 6e 74 65 72 70 72 65 wrongly interpre
b630: 74 65 64 20 61 73 20 6f 70 65 72 61 74 6f 72 2e ted as operator.
b640: 0a 20 20 20 20 0a 32 30 30 33 2d 31 30 2d 32 31 . .2003-10-21
b650: 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c Rolf Ade <rol
b660: 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a f@pointsman.de>.
b670: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
b680: 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 3a 20 46 69 ic/domxslt.c: Fi
b690: 78 65 64 20 62 75 67 20 77 69 74 68 20 63 75 72 xed bug with cur
b6a0: 72 65 6e 74 28 29 2c 20 69 66 20 69 74 20 69 73 rent(), if it is
b6b0: 20 75 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 used.
b6c0: 69 6e 20 74 68 65 20 73 65 6c 65 63 74 20 65 78 in the select ex
b6d0: 70 72 20 6f 66 20 61 6e 20 78 73 6c 3a 73 6f 72 pr of an xsl:sor
b6e0: 74 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 t... * ge
b6f0: 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 neric/domxpath.c
b700: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
b710: 69 63 2f 64 6f 6d 78 70 61 74 68 2e 68 0a 20 20 ic/domxpath.h.
b720: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
b730: 64 6f 6d 78 73 6c 74 2e 63 3a 20 43 68 61 6e 67 domxslt.c: Chang
b740: 65 64 20 68 61 6e 64 6c 69 6e 67 20 6f 66 20 6b ed handling of k
b750: 65 79 20 6e 6f 64 65 20 73 65 74 73 2e 20 49 74 ey node sets. It
b760: 27 73 20 61 0a 20 20 20 20 20 20 20 20 20 20 73 's a. s
b770: 6f 6d 65 77 68 61 74 20 66 6f 63 75 73 65 64 20 omewhat focused
b780: 6f 70 74 69 6d 69 7a 61 74 69 6f 6e 2c 20 66 6f optimization, fo
b790: 72 20 74 68 65 20 70 72 69 63 65 20 6f 66 20 61 r the price of a
b7a0: 20 76 65 72 79 20 73 6d 61 6c 6c 0a 20 20 20 20 very small.
b7b0: 20 20 20 20 20 20 6f 76 65 72 61 6c 6c 20 63 6f overall co
b7c0: 73 74 2e 20 49 27 76 65 20 64 6f 6e 65 20 69 74 st. I've done it
b7d0: 20 61 6e 79 77 61 79 2c 20 62 65 63 61 75 73 65 anyway, because
b7e0: 20 69 74 27 73 20 61 20 76 65 72 79 0a 20 20 20 it's a very.
b7f0: 20 20 20 20 20 20 20 6e 6f 74 61 62 6c 65 20 73 notable s
b800: 70 65 65 64 20 75 70 20 66 6f 72 20 61 6e 20 69 peed up for an i
b810: 6d 70 6f 72 74 61 6e 74 20 78 73 6c 74 20 70 61 mportant xslt pa
b820: 74 74 65 72 6e 20 28 74 68 65 20 73 6f 0a 20 20 ttern (the so.
b830: 20 20 20 20 20 20 20 20 63 61 6c 6c 65 64 20 4d called M
b840: 75 65 6e 63 68 69 61 6e 20 4d 65 74 68 6f 64 20 uenchian Method
b850: 66 6f 72 20 67 72 6f 75 70 69 6e 67 29 2e 20 0a for grouping). .
b860: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
b870: 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 52 65 6d ic/tcldom.c: Rem
b880: 6f 76 65 64 20 74 77 6f 20 75 6e 75 73 65 64 20 oved two unused
b890: 76 61 72 69 61 62 6c 65 73 2e 0a 0a 32 30 30 33 variables...2003
b8a0: 2d 31 30 2d 31 37 20 20 52 6f 6c 66 20 41 64 65 -10-17 Rolf Ade
b8b0: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
b8c0: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
b8d0: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 3a 20 generic/dom.c:
b8e0: 46 69 78 65 64 20 64 6f 6d 20 70 61 72 73 65 20 Fixed dom parse
b8f0: 2d 63 68 61 6e 6e 65 6c 20 6f 70 74 69 6f 6e 2c -channel option,
b900: 20 77 68 69 63 68 20 67 6f 74 0a 20 20 20 20 20 which got.
b910: 20 20 20 20 20 61 63 63 69 64 65 6e 74 61 6c 6c accidentall
b920: 79 20 62 72 6f 6b 65 6e 2c 20 64 75 65 20 74 6f y broken, due to
b930: 20 74 68 65 20 6c 61 74 65 6c 79 20 73 77 69 74 the lately swit
b940: 63 68 20 66 72 6f 6d 0a 20 20 20 20 20 20 20 20 ch from.
b950: 20 20 54 63 6c 5f 47 65 74 53 74 72 69 6e 67 46 Tcl_GetStringF
b960: 72 6f 6d 4f 62 6a 28 29 20 74 6f 20 54 63 6c 5f romObj() to Tcl_
b970: 47 65 74 53 74 72 69 6e 67 28 29 2e 0a 0a 20 20 GetString()...
b980: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
b990: 74 63 6c 64 6f 6d 2e 63 3a 20 41 64 64 65 64 20 tcldom.c: Added
b9a0: 61 67 61 69 6e 20 73 6f 6d 65 20 72 65 63 65 6e again some recen
b9b0: 74 6c 79 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 tly implemented
b9c0: 6d 65 74 68 6f 64 73 20 74 6f 0a 20 20 20 20 20 methods to.
b9d0: 20 20 20 20 20 64 6f 6d 4f 62 6a 5f 75 73 61 67 domObj_usag
b9e0: 65 20 61 6e 64 20 6e 6f 64 65 5f 75 73 61 67 65 e and node_usage
b9f0: 2c 20 77 68 69 63 68 20 67 6f 74 20 61 63 63 69 , which got acci
ba00: 64 65 6e 74 61 6c 6c 79 20 72 65 6d 6f 76 65 64 dentally removed
ba10: 0a 20 20 20 20 20 20 20 20 20 20 62 79 20 74 68 . by th
ba20: 65 20 6c 61 74 65 6c 79 20 65 64 69 74 6f 72 69 e lately editori
ba30: 61 6c 20 63 68 61 6e 67 65 73 2e 0a 0a 32 30 30 al changes...200
ba40: 33 2d 31 30 2d 31 36 20 20 5a 6f 72 61 6e 20 56 3-10-16 Zoran V
ba50: 61 73 69 6c 6a 65 76 69 63 20 20 3c 7a 76 40 61 asiljevic <zv@a
ba60: 72 63 68 69 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 rchiware.com>...
ba70: 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d * generic/tcldom
ba80: 2e 63 3a 20 61 64 64 65 64 20 22 64 6f 6d 20 64 .c: added "dom d
ba90: 65 74 61 63 68 44 6f 63 75 6d 65 6e 74 22 20 63 etachDocument" c
baa0: 6f 6d 6d 61 6e 64 0a 09 20 20 74 6f 20 6d 61 74 ommand.. to mat
bab0: 63 68 20 74 68 65 20 61 6c 72 65 61 64 79 20 70 ch the already p
bac0: 72 65 73 65 6e 74 20 22 64 6f 6d 20 61 74 74 61 resent "dom atta
bad0: 63 68 44 6f 63 75 6d 65 6e 74 22 2e 0a 09 20 20 chDocument"...
bae0: 54 68 69 73 20 69 73 20 75 73 65 64 20 6f 6e 6c This is used onl
baf0: 79 20 66 6f 72 20 74 68 72 65 61 64 65 64 20 74 y for threaded t
bb00: 64 6f 6d 20 62 75 69 6c 64 73 2e 0a 0a 09 2a 20 dom builds....*
bb10: 67 65 6e 65 72 69 63 2f 64 6f 6d 6c 6f 63 6b 2e generic/domlock.
bb20: 63 3a 20 63 68 61 6e 67 65 64 20 6c 6f 63 6b 20 c: changed lock
bb30: 63 61 63 68 69 6e 67 20 74 6f 20 61 63 63 6f 6d caching to accom
bb40: 6d 6f 64 61 74 65 20 66 6f 72 0a 09 20 20 73 69 modate for.. si
bb50: 74 75 61 74 69 6f 6e 20 77 69 74 68 20 68 75 67 tuation with hug
bb60: 65 20 6e 75 6d 62 65 72 20 6f 66 20 63 72 65 61 e number of crea
bb70: 74 65 64 20 64 6f 63 75 6d 6e 65 6e 74 73 0a 09 ted documnents..
bb80: 0a 09 20 20 41 6c 73 6f 2c 20 61 64 64 65 64 20 .. Also, added
bb90: 6e 65 77 20 22 64 6f 6d 44 6f 63 22 20 63 6f 6d new "domDoc" com
bba0: 6d 61 6e 64 20 61 73 20 61 20 66 69 72 73 74 2d mand as a first-
bbb0: 63 6c 61 73 73 20 74 64 6f 6d 20 63 69 74 69 7a class tdom citiz
bbc0: 65 6e 2c 0a 09 20 20 61 6e 61 6c 6f 67 6f 75 73 en,.. analogous
bbd0: 20 74 6f 20 74 68 65 20 61 6c 72 65 61 64 79 20 to the already
bbe0: 65 78 69 73 74 69 6e 67 20 22 64 6f 6d 4e 6f 64 existing "domNod
bbf0: 65 22 2e 20 49 74 20 6f 70 65 72 61 74 65 73 20 e". It operates
bc00: 6f 6e 20 74 68 65 0a 09 20 20 64 6f 63 75 6d 65 on the.. docume
bc10: 6e 74 20 74 6f 6b 65 6e 2e 0a 0a 09 20 20 41 74 nt token.... At
bc20: 74 65 6d 70 74 20 68 61 73 20 62 65 65 6e 20 6d tempt has been m
bc30: 61 64 65 20 74 6f 20 73 74 61 72 74 20 74 6f 20 ade to start to
bc40: 66 6f 6c 6c 6f 77 20 54 63 6c 2d 73 74 79 6c 65 follow Tcl-style
bc50: 2d 67 75 69 64 65 0a 09 20 20 62 75 74 20 77 65 -guide.. but we
bc60: 20 73 74 69 6c 6c 20 68 61 76 65 20 61 20 77 61 still have a wa
bc70: 79 20 74 6f 20 67 6f 2e 20 54 68 65 20 66 69 72 y to go. The fir
bc80: 73 74 20 74 68 69 6e 67 20 69 73 20 74 6f 20 74 st thing is to t
bc90: 72 79 0a 09 20 20 74 6f 20 66 6f 72 63 65 20 74 ry.. to force t
bca0: 68 65 20 37 38 2d 63 68 61 72 73 20 6d 61 72 67 he 78-chars marg
bcb0: 69 6e 20 77 68 65 72 65 20 70 6f 73 73 69 62 6c in where possibl
bcc0: 65 2f 66 65 61 73 69 62 6c 65 2e 0a 09 20 20 54 e/feasible... T
bcd0: 68 65 72 65 66 6f 72 65 2c 20 6d 61 6e 79 20 6f herefore, many o
bce0: 66 20 74 68 65 20 73 6f 75 72 63 65 20 66 69 6c f the source fil
bcf0: 65 73 20 68 61 76 65 20 62 65 65 6e 20 63 6f 73 es have been cos
bd00: 6d 65 74 69 63 61 6c 6c 79 0a 09 20 20 74 6f 75 metically.. tou
bd10: 63 68 65 64 2c 20 77 69 74 68 6f 75 74 20 63 6f ched, without co
bd20: 64 65 20 6f 72 20 66 75 6e 63 74 69 6f 6e 61 6c de or functional
bd30: 69 74 79 20 63 68 61 6e 67 65 73 2e 0a 0a 32 30 ity changes...20
bd40: 30 33 2d 31 30 2d 31 32 20 20 52 6f 6c 66 20 41 03-10-12 Rolf A
bd50: 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 de <rolf@points
bd60: 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 man.de>..
bd70: 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 * generic/domxp
bd80: 61 74 68 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 ath.c. *
bd90: 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e generic/domxslt.
bda0: 63 3a 20 52 65 6d 6f 76 65 64 20 6e 6f 74 20 75 c: Removed not u
bdb0: 73 65 64 20 76 61 72 73 2e 0a 0a 20 20 20 20 20 sed vars...
bdc0: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
bdd0: 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e .c. * gen
bde0: 65 72 69 63 2f 64 6f 6d 2e 68 0a 20 20 20 20 20 eric/dom.h.
bdf0: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
be00: 68 74 6d 6c 2e 63 0a 20 20 20 20 20 20 20 20 2a html.c. *
be10: 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e generic/tcldom.
be20: 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 c. * gene
be30: 72 69 63 2f 74 63 6c 65 78 70 61 74 2e 63 0a 20 ric/tclexpat.c.
be40: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
be50: 2f 74 63 6c 65 78 70 61 74 2e 68 0a 20 20 20 20 /tclexpat.h.
be60: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 78 6d * generic/xm
be70: 6c 73 69 6d 70 6c 65 2e 63 3a 20 4d 65 72 67 65 lsimple.c: Merge
be80: 64 20 64 6f 6d 43 72 65 61 74 65 45 6d 70 74 79 d domCreateEmpty
be90: 44 6f 63 28 29 20 61 6e 64 0a 20 20 20 20 20 20 Doc() and.
bea0: 20 20 20 20 64 6f 6d 43 72 65 61 74 65 44 6f 63 domCreateDoc
beb0: 28 29 2c 20 6e 6f 77 20 74 68 65 72 65 20 69 73 (), now there is
bec0: 20 6f 6e 6c 79 20 6f 6e 65 20 41 50 49 20 70 72 only one API pr
bed0: 6f 63 3a 0a 20 20 20 20 20 20 20 20 20 20 64 6f oc:. do
bee0: 6d 43 72 65 61 74 65 44 6f 63 28 29 2e 0a 0a 32 mCreateDoc()...2
bef0: 30 30 33 2d 31 30 2d 31 30 20 20 52 6f 6c 66 20 003-10-10 Rolf
bf00: 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
bf10: 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
bf20: 20 20 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 0a * Makefile.in.
bf30: 20 20 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 * extens
bf40: 69 6f 6e 73 2f 74 64 6f 6d 68 74 6d 6c 2f 70 6b ions/tdomhtml/pk
bf50: 67 49 6e 64 65 78 2e 74 63 6c 2e 69 6e 0a 20 20 gIndex.tcl.in.
bf60: 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f * extensio
bf70: 6e 73 2f 74 6e 63 2f 4d 61 6b 65 66 69 6c 65 2e ns/tnc/Makefile.
bf80: 69 6e 3a 20 46 69 78 65 64 20 70 6b 67 49 6e 64 in: Fixed pkgInd
bf90: 65 78 2e 74 63 6c 20 70 72 6f 62 6c 65 6d 2c 20 ex.tcl problem,
bfa0: 69 66 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 if. the
bfb0: 20 70 61 74 68 20 74 6f 20 74 68 65 20 70 61 63 path to the pac
bfc0: 6b 61 67 65 73 20 63 6f 6e 74 61 69 6e 73 20 61 kages contains a
bfd0: 20 73 70 61 63 65 2e 0a 0a 20 20 20 20 20 20 20 space...
bfe0: 20 2a 20 64 6f 63 2f 64 6f 6d 44 6f 63 2e 2a 0a * doc/domDoc.*.
bff0: 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f 64 6f * doc/do
c000: 6d 4e 6f 64 65 2e 2a 0a 20 20 20 20 20 20 20 20 mNode.*.
c010: 2a 20 43 48 41 4e 47 45 53 20 20 0a 20 20 20 20 * CHANGES .
c020: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
c030: 6d 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 m.h. * ge
c040: 6e 65 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 neric/dom.c.
c050: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 * generic/tc
c060: 6c 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a ldom.c. *
c070: 20 74 65 73 74 73 2f 64 6f 6d 43 6d 64 2e 74 65 tests/domCmd.te
c080: 73 74 3a 20 41 64 64 65 64 20 69 6d 70 6c 65 6d st: Added implem
c090: 65 6e 74 61 74 69 6f 6e 20 66 6f 72 20 6e 65 77 entation for new
c0a0: 20 6d 65 74 68 6f 64 0a 20 20 20 20 20 20 20 20 method.
c0b0: 20 20 6e 6f 72 6d 61 6c 69 7a 65 20 28 61 6e 64 normalize (and
c0c0: 20 61 73 20 61 20 62 79 2d 70 72 6f 64 75 63 74 as a by-product
c0d0: 20 61 20 43 20 69 6d 70 6c 65 6d 65 6e 74 61 74 a C implementat
c0e0: 69 6f 6e 20 66 6f 72 20 74 68 65 0a 20 20 20 20 ion for the.
c0f0: 20 20 20 20 20 20 6d 65 74 68 6f 64 20 61 70 70 method app
c100: 65 6e 64 44 61 74 61 29 2e 0a 0a 32 30 30 33 2d endData)...2003-
c110: 31 30 2d 30 39 20 20 52 6f 6c 66 20 41 64 65 20 10-09 Rolf Ade
c120: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
c130: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
c140: 74 65 73 74 73 2f 64 6f 6d 43 6d 64 2e 74 65 73 tests/domCmd.tes
c150: 74 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 t . *
c160: 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 generic/tcldom.c
c170: 3a 20 4d 61 64 65 20 63 6f 64 65 20 72 6f 62 75 : Made code robu
c180: 73 74 20 61 67 61 69 6e 73 74 20 72 65 6e 61 6d st against renam
c190: 69 6e 67 20 6f 66 0a 20 20 20 20 20 20 20 20 20 ing of.
c1a0: 20 64 6f 6d 44 6f 63 20 63 6d 64 73 20 28 77 65 domDoc cmds (we
c1b0: 6c 6c 2c 20 75 6e 6c 69 6b 65 6c 79 2c 20 6e 6f ll, unlikely, no
c1c0: 74 20 74 6f 20 73 61 79 20 76 65 72 79 20 75 6e t to say very un
c1d0: 6c 69 6b 65 6c 79 2c 20 62 75 74 0a 20 20 20 20 likely, but.
c1e0: 20 20 20 20 20 20 61 74 20 6c 65 61 73 74 20 69 at least i
c1f0: 74 20 61 6c 73 6f 20 73 69 6d 70 6c 69 66 69 65 t also simplifie
c200: 64 20 63 6f 64 65 20 61 6e 64 20 72 65 64 75 63 d code and reduc
c210: 65 73 20 6f 62 6a 20 73 69 7a 65 20 62 79 20 61 es obj size by a
c220: 0a 20 20 20 20 20 20 20 20 20 20 66 65 77 20 62 . few b
c230: 79 74 65 73 29 2e 20 43 68 61 6e 67 65 64 20 73 ytes). Changed s
c240: 68 61 72 65 64 44 6f 63 73 20 68 61 73 68 20 74 haredDocs hash t
c250: 61 62 6c 65 20 28 6f 6e 6c 79 20 4d 54 20 62 75 able (only MT bu
c260: 69 6c 64 29 0a 20 20 20 20 20 20 20 20 20 20 66 ild). f
c270: 72 6f 6d 20 54 43 4c 5f 53 54 52 49 4e 47 5f 4b rom TCL_STRING_K
c280: 45 59 53 20 74 6f 20 54 43 4c 5f 4f 4e 45 5f 57 EYS to TCL_ONE_W
c290: 4f 52 44 5f 4b 45 59 53 2e 0a 0a 32 30 30 33 2d ORD_KEYS...2003-
c2a0: 31 30 2d 30 38 20 20 52 6f 6c 66 20 41 64 65 20 10-08 Rolf Ade
c2b0: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
c2c0: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
c2d0: 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 generic/tcldom.c
c2e0: 3a 20 46 69 78 65 64 20 74 68 65 20 70 72 65 6c : Fixed the prel
c2f0: 69 6d 69 6e 61 72 79 20 28 61 6e 64 20 4d 54 20 iminary (and MT
c300: 6f 6e 6c 79 29 20 6d 65 74 68 6f 64 0a 20 20 20 only) method.
c310: 20 20 20 20 20 20 20 72 65 6e 75 6d 62 65 72 2e renumber.
c320: 0a 0a 32 30 30 33 2d 31 30 2d 30 37 20 20 52 6f ..2003-10-07 Ro
c330: 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
c340: 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
c350: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 6e * generic/n
c360: 6f 64 65 63 6d 64 2e 63 0a 20 20 20 20 20 20 20 odecmd.c.
c370: 20 2a 20 67 65 6e 65 72 69 63 2f 6e 6f 64 65 63 * generic/nodec
c380: 6d 64 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 md.h. * g
c390: 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a eneric/tcldom.c.
c3a0: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
c3b0: 64 6f 6d 2e 74 65 73 74 0a 20 20 20 20 20 20 20 dom.test.
c3c0: 20 2a 20 64 6f 63 2f 64 6f 6d 4e 6f 64 65 2e 2a * doc/domNode.*
c3d0: 0a 20 20 20 20 20 20 20 20 2a 20 43 48 41 4e 47 . * CHANG
c3e0: 45 53 3a 20 41 64 64 65 64 20 6e 65 77 20 6d 65 ES: Added new me
c3f0: 74 68 6f 64 20 69 6e 73 65 72 74 42 65 66 6f 72 thod insertBefor
c400: 65 46 72 6f 6d 53 63 72 69 70 74 20 74 6f 0a 20 eFromScript to.
c410: 20 20 20 20 20 20 20 20 20 64 6f 6d 4e 6f 64 65 domNode
c420: 73 2e 20 42 75 67 20 66 69 78 65 73 20 66 6f 72 s. Bug fixes for
c430: 20 61 70 70 65 6e 64 46 72 6f 6d 53 63 72 69 70 appendFromScrip
c440: 74 3a 20 49 6e 20 63 61 73 65 20 6f 66 20 65 72 t: In case of er
c450: 72 6f 72 0a 20 20 20 20 20 20 20 20 20 20 69 6e ror. in
c460: 20 74 68 65 20 73 63 72 69 70 74 2c 20 74 68 65 the script, the
c470: 20 74 72 65 65 20 77 69 6c 6c 20 6e 6f 74 20 62 tree will not b
c480: 65 20 61 6c 74 65 72 65 64 2e 20 54 68 65 0a 20 e altered. The.
c490: 20 20 20 20 20 20 20 20 20 61 70 70 65 6e 64 46 appendF
c4a0: 72 6f 6d 53 63 72 69 70 74 20 6d 61 79 20 6f 6e romScript may on
c4b0: 6c 79 20 62 65 20 75 73 65 64 20 66 6f 72 20 45 ly be used for E
c4c0: 4c 45 4d 45 4e 54 5f 4e 4f 44 45 73 2e 0a 0a 32 LEMENT_NODEs...2
c4d0: 30 30 33 2d 31 30 2d 30 34 20 20 52 6f 6c 66 20 003-10-04 Rolf
c4e0: 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
c4f0: 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
c500: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 * generic/domx
c510: 70 61 74 68 2e 68 3a 20 52 65 6d 6f 76 65 64 20 path.h: Removed
c520: 70 72 6f 74 6f 74 79 70 65 73 20 6f 66 20 66 75 prototypes of fu
c530: 6e 63 74 69 6f 6e 73 2c 20 77 68 69 63 68 0a 20 nctions, which.
c540: 20 20 20 20 20 20 20 20 20 61 72 65 20 6e 6f 74 are not
c550: 20 69 6d 70 6c 65 6d 65 6e 74 65 64 2e 20 45 64 implemented. Ed
c560: 69 74 6f 72 69 61 6c 20 63 68 61 6e 67 65 73 2e itorial changes.
c570: 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 .. * gene
c580: 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 68 0a 20 ric/domxpath.h.
c590: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
c5a0: 2f 64 6f 6d 78 70 61 74 68 2e 63 0a 20 20 20 20 /domxpath.c.
c5b0: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
c5c0: 6d 78 73 6c 74 2e 63 0a 20 20 20 20 20 20 20 20 mxslt.c.
c5d0: 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d * generic/tcldom
c5e0: 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 .c. * tes
c5f0: 74 73 2f 64 6f 6d 2e 74 65 73 74 0a 20 20 20 20 ts/dom.test.
c600: 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 43 * tests/domC
c610: 6d 64 2e 74 65 73 74 0a 20 20 20 20 20 20 20 20 md.test.
c620: 2a 20 43 48 41 4e 47 45 53 0a 20 20 20 20 20 20 * CHANGES.
c630: 20 20 2a 20 64 6f 63 2f 64 6f 6d 44 6f 63 2e 2a * doc/domDoc.*
c640: 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f 64 . * doc/d
c650: 6f 6d 4e 6f 64 65 2e 2a 3a 20 41 64 64 65 64 20 omNode.*: Added
c660: 6e 65 77 20 6d 65 74 68 6f 64 20 27 61 73 54 65 new method 'asTe
c670: 78 74 27 20 74 6f 20 64 6f 6d 44 6f 63 73 20 61 xt' to domDocs a
c680: 6e 64 0a 20 20 20 20 20 20 20 20 20 20 64 6f 6d nd. dom
c690: 4e 6f 64 65 73 2e 20 52 65 6e 61 6d 65 64 20 78 Nodes. Renamed x
c6a0: 70 61 74 68 47 65 74 54 65 78 74 56 61 6c 75 65 pathGetTextValue
c6b0: 28 29 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 () to.
c6c0: 78 70 61 74 68 47 65 74 53 74 72 69 6e 67 56 61 xpathGetStringVa
c6d0: 6c 75 65 28 29 2c 20 74 6f 20 62 65 20 6d 6f 72 lue(), to be mor
c6e0: 65 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 e according to t
c6f0: 68 65 20 76 6f 63 61 62 75 6c 61 72 0a 20 20 20 he vocabular.
c700: 20 20 20 20 20 20 20 6f 66 20 74 68 65 20 58 50 of the XP
c710: 61 74 68 20 72 65 63 2e 0a 0a 32 30 30 33 2d 31 ath rec...2003-1
c720: 30 2d 30 31 20 20 52 6f 6c 66 20 41 64 65 20 20 0-01 Rolf Ade
c730: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
c740: 64 65 3e 0a 20 20 20 20 20 20 20 20 0a 20 20 20 de>. .
c750: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
c760: 6f 6d 2e 63 3a 20 52 65 6d 6f 76 65 64 20 75 6e om.c: Removed un
c770: 6e 65 63 65 73 73 61 72 79 20 63 68 65 63 6b 20 necessary check
c780: 6f 66 20 0a 20 20 20 20 20 20 20 20 20 20 64 6f of . do
c790: 6d 4d 6f 64 75 6c 65 49 73 49 6e 69 74 69 61 6c mModuleIsInitial
c7a0: 69 7a 65 64 20 69 6e 20 64 6f 6d 52 65 61 64 44 ized in domReadD
c7b0: 6f 63 75 6d 65 6e 74 28 29 2e 20 43 6f 72 72 65 ocument(). Corre
c7c0: 63 74 65 64 20 74 79 70 6f 0a 20 20 20 20 20 20 cted typo.
c7d0: 20 20 20 20 69 6e 20 61 20 63 6f 6d 6d 65 6e 74 in a comment
c7e0: 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e ... * gen
c7f0: 65 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 eric/dom.c.
c800: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
c810: 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e .h. * gen
c820: 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 0a eric/domxpath.c.
c830: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
c840: 63 2f 64 6f 6d 78 73 6c 74 2e 63 0a 20 20 20 20 c/domxslt.c.
c850: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 * generic/tc
c860: 6c 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a ldom.c. *
c870: 20 74 65 73 74 73 2f 64 6f 6d 2e 74 65 73 74 3a tests/dom.test:
c880: 20 52 65 77 6f 72 6b 65 64 20 75 73 61 67 65 20 Reworked usage
c890: 6f 66 20 6e 6f 64 65 4e 75 6d 62 65 72 2e 20 49 of nodeNumber. I
c8a0: 74 20 69 73 20 6e 6f 77 20 75 73 65 64 0a 20 20 t is now used.
c8b0: 20 20 20 20 20 20 20 20 6f 6e 6c 79 20 69 6e 20 only in
c8c0: 6f 6e 65 20 70 6c 61 63 65 2c 20 74 68 65 20 6e one place, the n
c8d0: 65 77 20 64 6f 6d 50 72 65 63 65 64 65 73 20 66 ew domPrecedes f
c8e0: 75 6e 63 74 69 6f 6e 2e 20 41 6c 73 6f 20 69 6e unction. Also in
c8f0: 0a 20 20 20 20 20 20 20 20 20 20 64 6f 6d 50 72 . domPr
c900: 65 63 65 64 65 73 20 69 73 20 61 20 66 61 6c 6c ecedes is a fall
c910: 2d 62 61 63 6b 20 6d 65 63 68 61 6e 69 73 6d 2c -back mechanism,
c920: 20 77 68 69 63 68 20 69 73 20 75 73 65 64 20 69 which is used i
c930: 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 f the.
c940: 64 6f 63 75 6d 65 6e 74 20 68 61 73 20 61 6e 20 document has an
c950: 69 6e 76 61 6c 69 64 20 6e 6f 64 65 20 6e 75 6d invalid node num
c960: 62 65 72 69 6e 67 2e 20 52 65 6d 6f 76 65 64 20 bering. Removed
c970: 74 68 65 20 66 6f 72 63 65 64 0a 20 20 20 20 20 the forced.
c980: 20 20 20 20 20 72 65 2d 6e 75 6d 62 65 72 69 6e re-numberin
c990: 67 20 69 6e 20 63 61 73 65 20 6f 66 20 69 6e 76 g in case of inv
c9a0: 61 6c 69 64 20 6e 6f 64 65 20 6e 75 6d 62 65 72 alid node number
c9b0: 69 6e 67 20 6f 66 20 74 68 65 20 64 6f 63 0a 20 ing of the doc.
c9c0: 20 20 20 20 20 20 20 20 20 66 6f 72 20 65 76 65 for eve
c9d0: 72 79 20 73 69 6e 67 6c 65 20 73 65 6c 65 63 74 ry single select
c9e0: 4e 6f 64 65 73 2e 20 41 64 64 65 64 20 70 72 65 Nodes. Added pre
c9f0: 6c 69 6d 69 6e 61 72 79 20 6d 65 74 68 6f 64 0a liminary method.
ca00: 20 20 20 20 20 20 20 20 20 20 72 65 6e 75 6d 62 renumb
ca10: 65 72 20 66 6f 72 20 4d 54 2d 65 6e 61 62 6c 65 er for MT-enable
ca20: 64 20 62 75 69 6c 64 73 2e 20 43 61 72 65 66 75 d builds. Carefu
ca30: 6c 6c 79 20 72 65 76 69 65 77 65 64 20 65 76 65 lly reviewed eve
ca40: 72 79 0a 20 20 20 20 20 20 20 20 20 20 72 73 41 ry. rsA
ca50: 64 64 4e 6f 64 65 20 75 73 61 67 65 20 69 6e 20 ddNode usage in
ca60: 64 6f 6d 78 70 61 74 68 2e 63 2e 20 53 6f 6d 65 domxpath.c. Some
ca70: 20 6d 69 6e 6f 72 20 65 64 69 74 6f 72 69 61 6c minor editorial
ca80: 0a 20 20 20 20 20 20 20 20 20 20 63 68 61 6e 67 . chang
ca90: 65 73 2e 0a 0a 32 30 30 33 2d 30 39 2d 32 38 20 es...2003-09-28
caa0: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
cab0: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
cac0: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
cad0: 63 2f 74 63 6c 65 78 70 61 74 2e 63 3a 20 52 65 c/tclexpat.c: Re
cae0: 6d 6f 76 65 64 20 74 77 6f 20 75 6e 75 73 65 64 moved two unused
caf0: 20 76 61 72 73 2e 0a 0a 20 20 20 20 20 20 20 20 vars...
cb00: 2a 20 74 65 73 74 73 2f 64 6f 6d 6e 61 6d 65 73 * tests/domnames
cb10: 70 61 63 65 2e 74 65 73 74 0a 20 20 20 20 20 20 pace.test.
cb20: 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e * generic/dom.
cb30: 68 3a 20 43 68 61 6e 67 65 64 20 74 79 70 65 20 h: Changed type
cb40: 6f 66 20 64 6f 6d 4e 61 6d 65 53 70 61 63 65 49 of domNameSpaceI
cb50: 6e 64 65 78 2c 20 64 6f 6d 4e 6f 64 65 46 6c 61 ndex, domNodeFla
cb60: 67 73 2c 0a 20 20 20 20 20 20 20 20 20 20 64 6f gs,. do
cb70: 6d 41 74 74 72 46 6c 61 67 73 2c 20 64 6f 6d 44 mAttrFlags, domD
cb80: 6f 63 46 6c 61 67 73 20 61 6e 64 20 69 6e 66 6f ocFlags and info
cb90: 20 69 6e 20 64 6f 6d 2a 4e 6f 64 65 20 73 74 72 in dom*Node str
cba0: 75 63 74 73 20 66 72 6f 6d 0a 20 20 20 20 20 20 ucts from.
cbb0: 20 20 20 20 69 6e 74 20 74 6f 20 75 6e 73 69 67 int to unsig
cbc0: 6e 65 64 20 69 6e 74 2e 20 54 68 69 73 20 66 69 ned int. This fi
cbd0: 78 65 73 20 62 75 67 20 77 69 74 68 20 64 6f 63 xes bug with doc
cbe0: 73 20 77 69 74 68 20 6d 6f 72 65 20 74 68 61 6e s with more than
cbf0: 0a 20 20 20 20 20 20 20 20 20 20 31 32 38 20 64 . 128 d
cc00: 69 66 66 65 72 65 6e 74 20 6e 61 6d 65 73 70 61 ifferent namespa
cc10: 63 65 73 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 ces... *
cc20: 74 65 73 74 73 2f 78 70 61 74 68 2e 74 65 73 74 tests/xpath.test
cc30: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
cc40: 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 3a 20 42 ic/domxpath.c: B
cc50: 75 67 20 66 69 78 3a 20 70 72 65 63 65 64 69 6e ug fix: precedin
cc60: 67 2d 73 69 62 6c 69 6e 67 20 61 78 65 73 20 63 g-sibling axes c
cc70: 6f 75 6c 64 0a 20 20 20 20 20 20 20 20 20 20 67 ould. g
cc80: 69 76 65 20 77 72 6f 6e 67 20 72 65 73 75 6c 74 ive wrong result
cc90: 73 20 69 6e 20 63 61 73 65 20 74 68 65 20 63 6f s in case the co
cca0: 6e 74 65 78 74 20 6e 6f 64 65 20 69 73 20 61 20 ntext node is a
ccb0: 63 68 69 6c 64 20 6f 66 0a 20 20 20 20 20 20 20 child of.
ccc0: 20 20 20 72 6f 6f 74 4e 6f 64 65 20 28 65 2e 67 rootNode (e.g
ccd0: 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 45 6c 65 the documentEle
cce0: 6d 65 6e 74 29 2e 0a 0a 20 20 20 20 20 20 20 20 ment)...
ccf0: 2a 20 74 65 73 74 73 2f 64 6f 6d 2e 74 65 73 74 * tests/dom.test
cd00: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
cd10: 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 ic/tcldom.c.
cd20: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
cd30: 6d 2e 63 3a 20 42 75 67 20 66 69 78 20 66 6f 72 m.c: Bug fix for
cd40: 20 72 65 70 6c 61 63 65 43 68 69 6c 64 3a 20 49 replaceChild: I
cd50: 66 20 74 68 65 20 6e 6f 64 65 20 74 6f 0a 20 20 f the node to.
cd60: 20 20 20 20 20 20 20 20 72 65 70 6c 61 63 65 20 replace
cd70: 77 61 73 20 77 72 6f 6e 67 2c 20 74 68 65 20 64 was wrong, the d
cd80: 6f 63 20 67 6f 74 20 6d 61 6e 67 6c 65 64 2e 20 oc got mangled.
cd90: 42 75 67 20 66 69 78 20 66 6f 72 0a 20 20 20 20 Bug fix for.
cda0: 20 20 20 20 20 20 61 70 70 65 6e 64 43 68 69 6c appendChil
cdb0: 64 2c 20 72 65 70 6c 61 63 65 43 68 69 6c 64 3a d, replaceChild:
cdc0: 20 74 68 65 20 6e 65 77 20 6e 6f 64 65 20 63 6f the new node co
cdd0: 75 6c 64 20 6e 6f 74 20 62 65 20 61 0a 20 20 20 uld not be a.
cde0: 20 20 20 20 20 20 20 73 69 62 6c 69 6e 67 20 6f sibling o
cdf0: 72 20 63 68 69 6c 64 20 6f 66 20 6e 6f 64 65 2e r child of node.
ce00: 20 53 70 65 65 64 20 69 6d 70 72 6f 76 6d 65 6e Speed improvmen
ce10: 74 20 69 6e 20 73 6f 6d 65 20 63 61 73 65 73 20 t in some cases
ce20: 66 6f 72 0a 20 20 20 20 20 20 20 20 20 20 72 65 for. re
ce30: 6d 6f 76 65 43 68 69 6c 64 2c 20 72 65 70 6c 61 moveChild, repla
ce40: 63 65 43 68 69 6c 64 2c 20 61 70 70 65 6e 64 43 ceChild, appendC
ce50: 68 69 6c 64 2e 0a 0a 32 30 30 33 2d 30 39 2d 32 hild...2003-09-2
ce60: 32 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 2 Rolf Ade <ro
ce70: 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e lf@pointsman.de>
ce80: 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 .. * test
ce90: 73 2f 64 6f 6d 2e 74 65 73 74 0a 20 20 20 20 20 s/dom.test.
cea0: 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 4e 6f 64 65 * doc/domNode
ceb0: 2e 2a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e .*. * gen
cec0: 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 20 eric/tcldom.c.
ced0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
cee0: 64 6f 6d 2e 63 3a 20 52 65 77 6f 72 6b 65 64 20 dom.c: Reworked
cef0: 69 6e 73 65 72 74 42 65 66 6f 72 65 3a 20 42 75 insertBefore: Bu
cf00: 67 20 66 69 78 3a 20 49 66 20 74 68 65 0a 20 20 g fix: If the.
cf10: 20 20 20 20 20 20 20 20 72 65 66 4e 6f 64 65 20 refNode
cf20: 77 61 73 20 69 6e 76 61 6c 69 64 2c 20 74 68 65 was invalid, the
cf30: 20 69 6e 76 6f 6c 76 65 64 20 64 6f 63 75 6d 65 involved docume
cf40: 6e 74 73 20 67 6f 74 20 6d 61 6e 67 6c 65 64 2e nts got mangled.
cf50: 20 42 75 67 0a 20 20 20 20 20 20 20 20 20 20 66 Bug. f
cf60: 69 78 3a 20 44 65 61 64 20 6c 6f 6f 70 2c 20 69 ix: Dead loop, i
cf70: 66 20 74 68 65 20 6e 6f 64 65 20 74 6f 20 69 6e f the node to in
cf80: 73 65 72 74 20 77 61 73 20 74 68 65 20 6e 6f 64 sert was the nod
cf90: 65 0a 20 20 20 20 20 20 20 20 20 20 69 74 73 65 e. itse
cfa0: 6c 66 2e 20 42 75 67 20 66 69 78 3a 20 74 68 65 lf. Bug fix: the
cfb0: 20 72 6f 6f 74 4e 6f 64 65 20 6f 66 20 6e 6f 64 rootNode of nod
cfc0: 65 27 73 20 64 6f 63 75 6d 65 6e 74 20 63 6f 75 e's document cou
cfd0: 6c 64 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 ld be.
cfe0: 75 73 65 64 20 61 73 20 6e 6f 64 65 20 74 6f 20 used as node to
cff0: 69 6e 73 65 72 74 2e 20 42 75 67 20 66 69 78 3a insert. Bug fix:
d000: 20 49 74 20 77 61 73 20 6e 6f 74 20 70 6f 73 73 It was not poss
d010: 69 62 6c 65 2c 20 74 6f 0a 20 20 20 20 20 20 20 ible, to.
d020: 20 20 20 69 6e 73 65 72 74 20 61 20 6e 6f 64 65 insert a node
d030: 20 62 65 66 6f 72 65 20 72 65 66 4e 6f 64 65 2c before refNode,
d040: 20 77 68 69 63 68 20 77 61 73 20 61 6c 72 65 61 which was alrea
d050: 64 79 20 61 20 63 68 69 6c 64 72 65 6e 0a 20 20 dy a children.
d060: 20 20 20 20 20 20 20 20 6f 66 20 6e 6f 64 65 2e of node.
d070: 20 42 75 67 20 66 69 78 3a 20 49 74 20 77 61 73 Bug fix: It was
d080: 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 2c 20 74 not possible, t
d090: 6f 20 69 6e 73 65 72 74 20 61 20 73 69 62 6c 69 o insert a sibli
d0a0: 6e 67 0a 20 20 20 20 20 20 20 20 20 20 6f 66 20 ng. of
d0b0: 6e 6f 64 65 2e 20 46 65 61 74 75 72 65 20 65 6e node. Feature en
d0c0: 68 61 6e 63 65 6d 65 6e 74 3a 20 49 66 20 74 68 hancement: If th
d0d0: 65 20 72 65 66 6e 6f 64 65 20 69 73 20 74 68 65 e refnode is the
d0e0: 20 65 6d 70 74 79 0a 20 20 20 20 20 20 20 20 20 empty.
d0f0: 20 73 74 72 69 6e 67 2c 20 74 68 65 20 6e 65 77 string, the new
d100: 4e 6f 64 65 20 69 73 20 69 6e 73 65 72 74 65 64 Node is inserted
d110: 20 61 74 20 74 68 65 20 65 6e 64 20 6f 66 20 74 at the end of t
d120: 68 65 20 63 68 69 6c 64 72 65 6e 0a 20 20 20 20 he children.
d130: 20 20 20 20 20 20 6c 69 73 74 20 6f 66 20 6e 6f list of no
d140: 64 65 2e 20 4f 70 74 69 6d 69 7a 61 74 69 6f 6e de. Optimization
d150: 3a 20 41 76 65 72 61 67 65 20 73 70 65 65 64 20 : Average speed
d160: 77 61 73 20 4f 28 6e 2f 32 29 20 28 6e 3a 0a 20 was O(n/2) (n:.
d170: 20 20 20 20 20 20 20 20 20 6e 75 6d 62 65 72 20 number
d180: 6f 66 20 63 68 69 6c 64 73 20 6f 66 20 6e 6f 64 of childs of nod
d190: 65 29 20 69 6e 20 63 61 73 65 20 74 68 65 20 6e e) in case the n
d1a0: 6f 64 65 20 74 6f 20 69 6e 73 65 72 74 20 77 61 ode to insert wa
d1b0: 73 20 6f 75 74 0a 20 20 20 20 20 20 20 20 20 20 s out.
d1c0: 6f 66 20 74 68 65 20 74 72 65 65 2c 20 61 6e 64 of the tree, and
d1d0: 20 30 28 28 6e 2b 6d 29 2f 32 29 20 28 6d 3a 20 0((n+m)/2) (m:
d1e0: 6e 75 6d 62 65 72 20 6f 66 20 6e 6f 64 65 73 20 number of nodes
d1f0: 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 in the.
d200: 20 66 72 61 67 6d 65 6e 74 73 20 6c 69 73 74 29 fragments list)
d210: 20 69 6e 20 63 61 73 65 20 74 68 65 20 6e 6f 64 in case the nod
d220: 65 20 74 6f 20 69 6e 73 65 72 74 20 77 61 73 20 e to insert was
d230: 6f 75 74 20 6f 66 20 74 68 65 0a 20 20 20 20 20 out of the.
d240: 20 20 20 20 20 66 72 61 67 6d 65 6e 74 73 20 6c fragments l
d250: 69 73 74 2e 20 4e 6f 77 20 69 74 73 20 4f 28 31 ist. Now its O(1
d260: 29 2e 20 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 ). .. * t
d270: 65 73 74 73 2f 64 6f 6d 2e 74 65 73 74 3a 20 52 ests/dom.test: R
d280: 65 6d 6f 76 65 64 20 27 6b 6e 6f 77 6e 42 75 67 emoved 'knownBug
d290: 27 20 63 6f 6e 73 74 72 61 69 6e 74 20 66 72 6f ' constraint fro
d2a0: 6d 20 74 77 6f 0a 20 20 20 20 20 20 20 20 20 20 m two.
d2b0: 74 65 73 74 73 2c 20 77 68 69 63 68 20 64 6f 63 tests, which doc
d2c0: 75 6d 65 6e 74 65 64 20 6b 6e 6f 77 6e 20 62 75 umented known bu
d2d0: 67 73 2c 20 74 68 61 74 20 61 72 65 20 66 69 78 gs, that are fix
d2e0: 65 64 20 69 6e 20 74 68 65 0a 20 20 20 20 20 20 ed in the.
d2f0: 20 20 20 20 6d 65 61 6e 74 69 6d 65 2e 0a 0a 32 meantime...2
d300: 30 30 33 2d 30 39 2d 31 37 20 20 52 6f 6c 66 20 003-09-17 Rolf
d310: 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
d320: 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
d330: 20 20 2a 20 74 65 73 74 73 2f 63 64 61 74 61 2c * tests/cdata,
d340: 74 65 73 74 0a 20 20 20 20 20 20 20 20 2a 20 74 test. * t
d350: 65 73 74 73 2f 65 6c 65 6d 65 6e 74 2e 74 65 73 ests/element.tes
d360: 74 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 t. * test
d370: 73 2f 70 61 72 73 65 72 2e 74 65 73 74 3a 20 41 s/parser.test: A
d380: 64 64 65 64 20 61 20 66 65 77 20 74 65 73 74 73 dded a few tests
d390: 20 72 65 6c 61 74 65 64 20 74 6f 20 74 68 65 20 related to the
d3a0: 6e 65 77 0a 20 20 20 20 20 20 20 20 20 20 66 6c new. fl
d3b0: 65 78 69 62 69 6c 69 74 79 20 6f 66 20 74 68 65 exibility of the
d3c0: 20 2d 65 6c 65 6d 65 6e 74 73 74 61 72 74 63 6f -elementstartco
d3d0: 6d 6d 61 6e 64 2c 20 2d 65 6c 65 6d 65 6e 74 65 mmand, -elemente
d3e0: 6e 64 63 6f 6d 6d 61 6e 64 0a 20 20 20 20 20 20 ndcommand.
d3f0: 20 20 20 20 61 6e 64 20 2d 63 68 61 72 61 63 74 and -charact
d400: 65 72 64 61 74 61 63 6f 6d 6d 61 6e 64 20 73 63 erdatacommand sc
d410: 72 69 70 74 73 2e 0a 20 20 20 20 20 20 20 20 20 ripts..
d420: 20 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f . * doc/
d430: 65 78 70 61 74 2e 2a 3a 20 41 64 64 65 64 20 64 expat.*: Added d
d440: 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 66 6f 72 ocumentation for
d450: 20 74 68 65 20 6e 6f 77 20 69 6d 70 6c 65 6d 65 the now impleme
d460: 6e 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 63 nted. c
d470: 67 65 74 20 6d 65 74 68 6f 64 2e 20 41 64 64 65 get method. Adde
d480: 64 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 d information ab
d490: 6f 75 74 20 74 68 65 20 64 65 66 61 75 6c 74 20 out the default
d4a0: 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 20 20 for the.
d4b0: 20 20 2d 70 61 72 61 6d 65 6e 74 69 74 79 70 61 -paramentitypa
d4c0: 72 73 69 6e 67 20 6f 70 74 69 6f 6e 2e 0a 20 20 rsing option..
d4d0: 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
d4e0: 69 63 2f 74 63 6c 65 78 70 61 74 2e 63 0a 20 20 ic/tclexpat.c.
d4f0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
d500: 74 63 6c 65 78 70 61 74 2e 68 3a 20 45 6e 68 61 tclexpat.h: Enha
d510: 6e 63 65 64 20 74 68 65 20 6e 65 77 20 63 67 65 nced the new cge
d520: 74 20 6d 65 74 68 6f 64 20 6f 66 0a 20 20 20 20 t method of.
d530: 20 20 20 20 20 20 70 61 72 73 65 72 4f 62 6a 73 parserObjs
d540: 20 74 6f 20 61 6c 73 6f 20 72 65 70 6f 72 74 20 to also report
d550: 74 68 65 20 73 74 61 74 65 20 6f 66 20 2d 6e 6f the state of -no
d560: 65 78 70 61 6e 64 2c 0a 20 20 20 20 20 20 20 20 expand,.
d570: 20 20 2d 75 73 65 46 6f 72 65 69 67 6e 44 54 44 -useForeignDTD
d580: 2c 20 2d 70 61 72 61 6d 65 6e 74 69 74 79 70 61 , -paramentitypa
d590: 72 73 69 6e 67 20 28 74 68 6f 73 65 20 62 79 20 rsing (those by
d5a0: 64 6f 69 6e 67 20 74 68 65 0a 20 20 20 20 20 20 doing the.
d5b0: 20 20 20 20 62 6f 6f 6b 6b 65 65 70 69 6e 67 20 bookkeeping
d5c0: 77 69 74 68 20 61 6e 20 65 6e 68 61 6e 63 65 64 with an enhanced
d5d0: 20 54 63 6c 47 65 6e 45 78 70 61 74 49 6e 66 6f TclGenExpatInfo
d5e0: 20 73 74 72 75 63 74 2c 20 62 65 63 61 75 73 65 struct, because
d5f0: 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 65 . the e
d600: 78 70 61 74 20 70 61 72 73 65 72 20 64 6f 20 6e xpat parser do n
d610: 6f 74 20 70 72 6f 69 76 65 64 20 61 6e 20 41 50 ot proived an AP
d620: 49 20 74 6f 20 72 65 71 75 65 73 74 20 74 68 69 I to request thi
d630: 73 0a 20 20 20 20 20 20 20 20 20 20 73 65 74 74 s. sett
d640: 69 6e 67 73 29 20 61 6e 64 20 2d 6e 61 6d 65 73 ings) and -names
d650: 70 61 63 65 2e 20 49 6d 70 72 6f 76 65 64 20 61 pace. Improved a
d660: 72 67 75 6d 65 6e 74 20 63 68 65 63 6b 20 6f 66 rgument check of
d670: 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 70 the. p
d680: 61 72 73 65 72 20 6f 62 6a 20 6d 65 74 68 6f 64 arser obj method
d690: 20 63 61 6c 6c 73 2e 20 4f 70 74 69 6d 69 7a 61 calls. Optimiza
d6a0: 74 69 6f 6e 20 66 6f 72 20 63 61 6c 6c 69 6e 67 tion for calling
d6b0: 20 68 61 6e 64 6c 65 72 0a 20 20 20 20 20 20 20 handler.
d6c0: 20 20 20 73 63 72 69 70 74 73 2e 0a 0a 32 30 30 scripts...200
d6d0: 33 2d 30 39 2d 31 36 20 20 5a 6f 72 61 6e 20 56 3-09-16 Zoran V
d6e0: 61 73 69 6c 6a 65 76 69 63 20 20 3c 7a 6f 72 61 asiljevic <zora
d6f0: 6e 40 61 72 63 68 69 77 61 72 65 2e 63 6f 6d 3e n@archiware.com>
d700: 0a 0a 09 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e ...* Makefile.in
d710: 3a 20 61 64 64 65 64 20 53 48 4c 49 42 5f 43 46 : added SHLIB_CF
d720: 4c 41 47 53 20 74 6f 20 73 65 74 20 6f 66 20 63 LAGS to set of c
d730: 6f 6d 70 69 6c 65 72 0a 09 20 20 73 77 69 74 63 ompiler.. switc
d740: 68 65 73 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 hes in order to
d750: 73 69 6c 65 6e 63 65 20 74 68 65 20 70 69 63 6b silence the pick
d760: 79 20 6c 69 6e 6b 65 72 2e 0a 0a 32 30 30 33 2d y linker...2003-
d770: 30 39 2d 31 34 20 20 52 6f 6c 66 20 41 64 65 20 09-14 Rolf Ade
d780: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
d790: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
d7a0: 6c 69 62 2f 74 64 6f 6d 2e 74 63 6c 3a 20 46 69 lib/tdom.tcl: Fi
d7b0: 78 65 64 20 73 63 72 69 70 74 69 6e 67 20 62 75 xed scripting bu
d7c0: 67 73 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 gs in.
d7d0: 3a 3a 64 6f 6d 3a 3a 64 6f 6d 44 6f 63 3a 3a 69 ::dom::domDoc::i
d7e0: 6d 70 6f 72 74 4e 6f 64 65 20 61 6e 64 20 3a 3a mportNode and ::
d7f0: 64 6f 6d 3a 3a 64 6f 6d 4e 6f 64 65 3a 3a 6c 65 dom::domNode::le
d800: 6e 67 74 68 20 20 20 20 0a 0a 20 20 20 20 20 20 ngth ..
d810: 20 20 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a * Makefile.in:
d820: 20 64 69 73 74 20 74 61 72 67 65 74 3a 20 44 6f dist target: Do
d830: 6e 27 74 20 69 6e 63 6c 75 64 65 20 43 56 53 20 n't include CVS
d840: 64 69 72 73 20 61 6e 64 20 68 69 64 64 65 6e 0a dirs and hidden.
d850: 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 73 20 files
d860: 69 6e 74 6f 20 74 68 65 20 64 69 73 74 72 69 62 into the distrib
d870: 75 74 69 6f 6e 20 66 69 6c 65 2e 0a 20 20 20 20 ution file..
d880: 20 20 20 20 20 20 0a 32 30 30 33 2d 30 39 2d 31 .2003-09-1
d890: 34 20 20 5a 6f 72 61 6e 20 56 61 73 69 6c 6a 65 4 Zoran Vasilje
d8a0: 76 69 63 20 20 3c 7a 6f 72 61 6e 40 61 72 63 68 vic <zoran@arch
d8b0: 69 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 4d iware.com>...* M
d8c0: 61 6b 65 66 69 6c 65 2e 69 6e 0a 09 2a 20 63 6f akefile.in..* co
d8d0: 6e 66 69 67 75 72 65 0a 09 2a 20 63 6f 6e 66 69 nfigure..* confi
d8e0: 67 75 72 65 2e 69 6e 3a 20 6d 61 64 65 20 6d 6f gure.in: made mo
d8f0: 72 65 20 54 45 41 2d 32 20 63 6f 6d 70 61 74 69 re TEA-2 compati
d900: 62 6c 65 20 62 79 20 6d 6f 76 69 6e 67 20 74 68 ble by moving th
d910: 65 0a 09 20 20 74 63 6c 64 6f 6d 73 68 20 74 61 e.. tcldomsh ta
d920: 72 67 65 74 20 6f 75 74 2e 20 41 6c 73 6f 2c 20 rget out. Also,
d930: 68 6f 6e 6f 75 72 20 74 68 65 20 4d 41 54 48 5f honour the MATH_
d940: 4c 49 42 53 20 61 73 0a 09 20 20 63 61 6c 63 75 LIBS as.. calcu
d950: 6c 61 74 65 64 20 62 79 20 74 68 65 20 74 63 6c lated by the tcl
d960: 2e 6d 34 20 69 6e 73 74 65 61 64 20 6f 66 20 70 .m4 instead of p
d970: 6c 75 6d 62 69 6e 67 20 6f 75 72 20 6f 77 6e 2e lumbing our own.
d980: 0a 09 20 20 41 6c 73 6f 2c 20 66 69 78 65 64 20 .. Also, fixed
d990: 22 6d 61 6b 65 20 64 69 73 74 22 20 74 6f 20 70 "make dist" to p
d9a0: 72 6f 64 75 63 65 20 64 69 73 74 72 69 62 75 74 roduce distribut
d9b0: 69 6f 6e 20 66 69 6c 65 2e 0a 0a 09 2a 20 74 63 ion file....* tc
d9c0: 6c 63 6f 6e 66 69 67 2f 43 68 61 6e 67 65 4c 6f lconfig/ChangeLo
d9d0: 67 0a 09 2a 20 74 63 6c 63 6f 6e 66 69 67 2f 74 g..* tclconfig/t
d9e0: 63 6c 2e 6d 34 3a 20 69 6d 70 6f 72 74 65 64 20 cl.m4: imported
d9f0: 66 72 65 73 68 20 6e 65 77 20 76 65 72 73 69 6f fresh new versio
da00: 6e 73 20 66 72 6f 6d 20 53 46 0a 0a 09 2a 20 75 ns from SF...* u
da10: 6e 69 78 2f 43 4f 4e 46 49 47 3a 20 63 6c 65 61 nix/CONFIG: clea
da20: 6e 75 70 0a 09 2a 20 6d 61 63 6f 73 78 2f 52 45 nup..* macosx/RE
da30: 41 44 4d 45 3a 20 63 6c 65 61 6e 75 70 0a 0a 32 ADME: cleanup..2
da40: 30 30 33 2d 30 39 2d 31 34 20 20 52 6f 6c 66 20 003-09-14 Rolf
da50: 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
da60: 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
da70: 20 20 4d 65 72 67 65 64 20 66 69 78 65 73 20 66 Merged fixes f
da80: 72 6f 6d 20 30 2e 37 2e 38 20 69 6e 74 6f 20 48 rom 0.7.8 into H
da90: 45 41 44 2e 20 54 68 69 73 20 69 6e 63 6c 75 64 EAD. This includ
daa0: 65 73 3a 0a 0a 20 20 20 20 20 20 20 20 32 30 30 es:.. 200
dab0: 33 2d 30 38 2d 30 36 20 20 5a 6f 72 61 6e 20 56 3-08-06 Zoran V
dac0: 61 73 69 6c 6a 65 76 69 63 20 20 3c 7a 6f 72 61 asiljevic <zora
dad0: 6e 40 61 72 63 68 69 77 61 72 65 2e 63 6f 6d 3e n@archiware.com>
dae0: 0a 0a 20 20 20 20 20 20 20 20 09 2a 20 67 65 6e .. .* gen
daf0: 65 72 69 63 2f 6e 6f 64 65 63 6d 64 2e 63 3a 20 eric/nodecmd.c:
db00: 72 65 6d 6f 76 65 64 20 6f 70 74 69 6d 69 7a 65 removed optimize
db10: 64 20 64 6f 6d 41 70 70 65 6e 64 43 68 69 6c 64 d domAppendChild
db20: 31 0a 20 20 20 20 20 20 20 20 09 20 20 69 6e 20 1. . in
db30: 66 61 76 6f 75 72 20 6f 66 20 67 65 6e 65 72 69 favour of generi
db40: 63 20 64 6f 6d 41 70 70 65 6e 64 43 68 69 6c 64 c domAppendChild
db50: 20 73 69 6e 63 65 20 66 6f 72 6d 65 72 20 77 61 since former wa
db60: 73 0a 20 20 20 20 20 20 20 20 09 20 20 74 72 61 s. . tra
db70: 73 68 69 6e 67 20 6d 65 6d 6f 72 79 20 69 6e 20 shing memory in
db80: 63 65 72 74 61 69 6e 20 73 69 74 75 61 74 69 6f certain situatio
db90: 6e 73 2e 0a 0a 20 20 20 20 20 20 20 20 32 30 30 ns... 200
dba0: 33 2d 30 38 2d 30 36 20 20 52 6f 6c 66 20 41 64 3-08-06 Rolf Ad
dbb0: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
dbc0: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
dbd0: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
dbe0: 61 6c 6c 2e 74 63 6c 0a 20 20 20 20 20 20 20 20 all.tcl.
dbf0: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
dc00: 64 6f 6d 43 6d 64 2e 74 65 73 74 3a 20 41 64 64 domCmd.test: Add
dc10: 65 64 20 63 6f 6e 74 72 61 69 6e 74 20 6e 65 65 ed contraint nee
dc20: 64 5f 75 72 69 2c 20 73 6f 20 74 68 61 74 0a 20 d_uri, so that.
dc30: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
dc40: 20 74 68 65 20 66 65 77 20 74 65 73 74 73 2c 20 the few tests,
dc50: 77 68 69 63 68 20 6e 65 65 64 73 20 74 68 65 20 which needs the
dc60: 74 63 6c 6c 69 62 20 75 72 69 20 70 61 63 6b 61 tcllib uri packa
dc70: 67 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 ge.
dc80: 20 20 20 20 20 61 72 65 20 73 6b 69 70 70 65 64 are skipped
dc90: 2c 20 69 66 20 74 68 65 20 75 72 69 20 70 61 63 , if the uri pac
dca0: 6b 61 67 65 20 69 73 6e 27 74 20 70 72 65 73 65 kage isn't prese
dcb0: 6e 74 2e 0a 0a 20 20 20 20 20 20 20 20 32 30 30 nt... 200
dcc0: 33 2d 30 37 2d 30 36 20 20 52 6f 6c 66 20 41 64 3-07-06 Rolf Ad
dcd0: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
dce0: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
dcf0: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
dd00: 63 2f 74 63 6c 65 78 70 61 74 2e 63 3a 20 46 69 c/tclexpat.c: Fi
dd10: 78 65 64 20 62 75 67 20 69 6e 20 74 68 65 20 73 xed bug in the s
dd20: 75 62 74 72 65 65 20 73 6b 69 70 70 69 6e 67 0a ubtree skipping.
dd30: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
dd40: 20 20 66 65 61 74 75 72 65 20 6f 66 20 65 76 65 feature of eve
dd50: 6e 74 20 68 61 6e 64 6c 65 72 73 2e 20 53 68 6f nt handlers. Sho
dd60: 75 6c 64 20 62 65 20 6d 65 72 67 65 64 20 77 69 uld be merged wi
dd70: 74 68 20 48 45 41 44 2e 0a 0a 20 20 20 20 20 20 th HEAD...
dd80: 20 20 20 20 20 20 20 20 20 20 2a 20 6c 69 62 2f * lib/
dd90: 74 64 6f 6d 2e 74 63 6c 3a 20 46 69 78 65 64 20 tdom.tcl: Fixed
dda0: 65 72 72 6f 72 20 72 65 70 6f 72 74 69 6e 67 20 error reporting
ddb0: 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 in.
ddc0: 20 20 20 20 20 74 44 4f 4d 3a 3a 65 78 74 52 65 tDOM::extRe
ddd0: 66 48 61 6e 64 6c 65 72 2e 0a 0a 20 20 20 20 20 fHandler...
dde0: 20 20 20 32 30 30 33 2d 30 37 2d 30 33 20 20 5a 2003-07-03 Z
ddf0: 6f 72 61 6e 20 56 61 73 69 6c 6a 65 76 69 63 20 oran Vasiljevic
de00: 20 3c 7a 6f 72 61 6e 40 61 72 63 68 69 77 61 72 <zoran@archiwar
de10: 65 2e 63 6f 6d 3e 0a 0a 20 20 20 20 20 20 20 20 e.com>..
de20: 09 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 6c 6f .* generic/domlo
de30: 63 6b 2e 63 3a 20 66 69 78 65 64 20 64 6f 75 62 ck.c: fixed doub
de40: 6c 65 20 6d 75 74 65 78 20 75 6e 6c 6f 63 6b 2e le mutex unlock.
de50: 0a 0a 20 20 20 20 20 20 20 20 09 2a 20 67 65 6e .. .* gen
de60: 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 61 eric/tcldom.c: a
de70: 6c 6c 6f 77 73 20 73 61 6d 65 20 74 68 72 65 61 llows same threa
de80: 64 20 74 6f 20 69 73 73 75 65 20 73 65 76 65 72 d to issue sever
de90: 61 6c 0a 20 20 20 20 20 20 20 20 09 20 20 22 61 al. . "a
dea0: 74 74 61 63 68 44 6f 63 75 6d 65 6e 74 22 20 63 ttachDocument" c
deb0: 6f 6d 6d 61 6e 64 73 20 74 6f 20 61 72 74 69 66 ommands to artif
dec0: 69 63 69 61 6c 6c 79 20 62 75 6d 70 20 74 68 65 icially bump the
ded0: 20 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 .
dee0: 20 20 20 20 64 6f 63 75 6d 65 6e 74 20 72 65 66 document ref
def0: 63 6f 75 6e 74 20 74 68 75 73 20 6d 61 6b 69 6e count thus makin
df00: 67 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 20 73 g the document s
df10: 74 69 63 6b 79 2e 0a 20 20 20 20 20 20 20 20 09 ticky.. .
df20: 20 20 0a 20 20 20 20 20 20 20 20 09 20 20 41 6c . . Al
df30: 73 6f 2c 20 66 69 78 65 64 20 76 61 72 69 61 62 so, fixed variab
df40: 6c 65 20 74 72 61 63 69 6e 67 20 69 73 73 75 65 le tracing issue
df50: 73 20 77 68 65 6e 20 74 65 61 72 69 6e 67 20 64 s when tearing d
df60: 6f 77 6e 20 74 68 65 0a 20 20 20 20 20 20 20 20 own the.
df70: 09 20 20 64 6f 6d 20 64 6f 63 75 6d 65 6e 74 2e . dom document.
df80: 20 4e 6f 77 2c 20 61 6c 6c 20 6e 6f 64 65 20 6f Now, all node o
df90: 62 6a 65 63 74 20 63 6f 6d 6d 61 6e 64 20 76 61 bject command va
dfa0: 72 69 61 62 6c 65 73 20 61 72 65 0a 20 20 20 20 riables are.
dfb0: 20 20 20 20 09 20 20 61 75 74 6f 6d 61 74 69 63 . automatic
dfc0: 61 6c 6c 79 20 75 6e 74 72 61 63 65 64 2e 20 54 ally untraced. T
dfd0: 68 69 73 20 70 72 65 76 65 6e 74 73 20 6d 65 6d his prevents mem
dfe0: 6f 72 79 20 74 72 61 73 68 69 6e 67 20 77 68 65 ory trashing whe
dff0: 6e 0a 20 20 20 20 20 20 20 20 09 20 20 73 75 63 n. . suc
e000: 68 20 76 61 72 69 61 62 6c 65 73 20 61 72 65 20 h variables are
e010: 75 6e 73 65 74 20 62 79 20 75 73 65 72 20 6f 72 unset by user or
e020: 20 62 79 20 54 63 6c 2e 0a 0a 0a 32 30 30 33 2d by Tcl....2003-
e030: 30 39 2d 31 34 20 20 52 6f 6c 66 20 41 64 65 20 09-14 Rolf Ade
e040: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
e050: 2e 64 65 3e 0a 20 20 20 20 20 20 20 20 0a 20 20 .de>. .
e060: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
e070: 74 63 6c 65 78 70 61 74 2e 63 3a 20 41 64 64 65 tclexpat.c: Adde
e080: 64 20 63 67 65 74 20 6d 65 74 68 6f 64 20 69 6d d cget method im
e090: 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 66 6f 72 plementation for
e0a0: 20 61 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 70 all. p
e0b0: 61 72 73 65 72 20 6f 70 74 69 6f 6e 73 20 77 69 arser options wi
e0c0: 74 68 20 74 68 65 20 65 78 63 65 70 74 69 6f 6e th the exception
e0d0: 73 20 6f 66 20 2d 6e 61 6d 65 73 70 61 63 65 2c s of -namespace,
e0e0: 0a 20 20 20 20 20 20 20 20 20 20 2d 75 73 65 46 . -useF
e0f0: 6f 72 65 69 67 6e 44 54 44 20 61 6e 64 20 2d 70 oreignDTD and -p
e100: 61 72 61 6d 65 6e 74 69 74 79 70 61 72 73 69 6e aramentityparsin
e110: 67 2e 20 52 65 76 61 6d 70 65 64 20 62 65 68 69 g. Revamped behi
e120: 6e 64 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 nd the.
e130: 20 73 63 65 6e 65 20 63 6f 64 65 20 66 6f 72 20 scene code for
e140: 68 61 6e 64 6c 69 6e 67 20 6f 66 20 74 68 65 20 handling of the
e150: 2d 65 6c 65 6d 65 6e 74 73 74 61 72 74 63 6f 6d -elementstartcom
e160: 6d 61 6e 64 2c 0a 20 20 20 20 20 20 20 20 20 2d mand,. -
e170: 65 6c 65 6d 65 6e 74 65 6e 64 63 6f 6d 6d 61 6e elementendcomman
e180: 64 20 61 6e 64 20 2d 63 68 61 72 61 63 74 65 72 d and -character
e190: 64 61 74 61 63 6f 6d 6d 61 6e 64 20 6f 70 74 69 datacommand opti
e1a0: 6f 6e 73 2e 20 55 70 20 74 6f 0a 20 20 20 20 20 ons. Up to.
e1b0: 20 20 20 20 20 6e 6f 77 2c 20 74 68 65 20 61 72 now, the ar
e1c0: 67 75 6d 65 6e 74 73 20 74 6f 20 74 68 69 73 20 guments to this
e1d0: 6f 70 74 69 6f 6e 73 20 6d 75 73 74 20 68 61 76 options must hav
e1e0: 65 20 62 65 65 6e 20 74 68 65 20 6e 61 6d 65 0a e been the name.
e1f0: 20 20 20 20 20 20 20 20 20 20 6f 66 20 61 6e 20 of an
e200: 61 6c 72 65 61 64 79 20 64 65 66 69 6e 65 64 20 already defined
e210: 74 63 6c 20 70 72 6f 63 2e 20 54 68 69 73 20 61 tcl proc. This a
e220: 6c 6c 6f 77 65 64 20 61 20 73 70 65 63 69 61 6c llowed a special
e230: 20 68 69 67 68 0a 20 20 20 20 20 20 20 20 20 20 high.
e240: 70 65 72 66 6f 72 6d 61 6e 63 65 20 63 61 6c 6c performance call
e250: 69 6e 67 20 6f 66 20 74 68 61 74 20 70 72 6f 63 ing of that proc
e260: 73 2e 20 54 68 65 20 6e 65 77 20 63 6f 64 65 20 s. The new code
e270: 62 65 68 61 76 65 73 0a 20 20 20 20 20 20 20 20 behaves.
e280: 20 20 65 78 61 63 74 6c 79 20 74 68 65 20 73 61 exactly the sa
e290: 6d 65 20 77 61 79 20 66 6f 72 20 65 76 65 72 79 me way for every
e2a0: 20 73 63 72 69 70 74 2c 20 77 68 69 63 68 20 77 script, which w
e2b0: 6f 72 6b 65 64 20 77 69 74 68 0a 20 20 20 20 20 orked with.
e2c0: 20 20 20 20 20 70 72 65 76 69 6f 75 73 20 76 65 previous ve
e2d0: 72 73 69 6f 6e 73 2e 20 41 64 64 69 74 69 6f 6e rsions. Addition
e2e0: 61 6c 6c 79 20 69 74 20 61 6c 6c 6f 77 73 2c 20 ally it allows,
e2f0: 74 6f 20 73 70 65 63 69 66 79 20 61 20 6e 6f 74 to specify a not
e300: 0a 20 20 20 20 20 20 20 20 20 20 61 6c 72 65 61 . alrea
e310: 64 79 20 64 65 66 69 6e 65 64 20 74 63 6c 20 70 dy defined tcl p
e320: 72 6f 63 20 61 6e 64 2c 20 70 72 6f 62 61 62 6c roc and, probabl
e330: 79 20 6d 6f 72 65 20 69 6d 70 6f 72 74 61 6e 74 y more important
e340: 2c 0a 20 20 20 20 20 20 20 20 20 20 61 6c 6c 6f ,. allo
e350: 77 73 20 27 61 72 62 69 74 72 61 72 79 27 20 74 ws 'arbitrary' t
e360: 63 6c 20 73 63 72 69 70 74 73 20 61 73 20 61 72 cl scripts as ar
e370: 67 75 6d 65 6e 74 20 74 6f 20 74 68 61 74 0a 20 gument to that.
e380: 20 20 20 20 20 20 20 20 20 6f 70 74 69 6f 6e 73 options
e390: 2e 20 41 6c 6c 20 69 6e 20 74 68 69 73 20 63 68 . All in this ch
e3a0: 65 63 6b 69 6e 20 69 6e 20 74 68 65 20 77 6f 72 eckin in the wor
e3b0: 6b 20 6f 66 20 48 61 72 72 79 20 4d 6f 72 65 61 k of Harry Morea
e3c0: 75 0a 20 20 20 20 20 20 20 20 20 20 28 68 6d 6f u. (hmo
e3d0: 72 65 61 75 40 6f 6e 6c 69 6e 65 2e 69 65 29 2e reau@online.ie).
e3e0: 20 4d 61 6e 79 20 74 68 61 6e 6b 73 20 66 6f 72 Many thanks for
e3f0: 20 74 68 69 73 20 63 6f 6e 74 72 69 62 75 74 69 this contributi
e400: 6f 6e 2e 0a 0a 32 30 30 33 2d 30 36 2d 31 33 20 on...2003-06-13
e410: 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
e420: 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
e430: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
e440: 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 41 64 64 65 c/tcldom.c: Adde
e450: 64 20 61 6e 20 61 72 67 75 6d 65 6e 74 20 63 68 d an argument ch
e460: 65 63 6b 20 66 6f 72 20 58 53 4c 54 43 6d 64 73 eck for XSLTCmds
e470: 2e 0a 0a 32 30 30 33 2d 30 36 2d 31 31 20 20 52 ...2003-06-11 R
e480: 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 olf Ade <rolf@p
e490: 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 ointsman.de>..
e4a0: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
e4b0: 64 6f 6d 78 73 6c 74 2e 63 3a 20 46 69 78 65 64 domxslt.c: Fixed
e4c0: 20 61 20 62 75 67 20 69 6e 20 78 73 6c 3a 6e 75 a bug in xsl:nu
e4d0: 6d 62 65 72 2e 20 49 66 20 74 68 65 72 65 20 69 mber. If there i
e4e0: 73 20 6e 6f 0a 20 20 20 20 20 20 20 20 20 20 27 s no. '
e4f0: 63 6f 75 6e 74 27 20 61 74 74 72 69 62 75 74 65 count' attribute
e500: 20 67 69 76 65 6e 20 74 6f 20 78 73 6c 3a 6e 75 given to xsl:nu
e510: 6d 62 65 72 2c 20 69 74 20 6d 75 73 74 20 64 65 mber, it must de
e520: 66 61 75 6c 74 20 74 6f 0a 20 20 20 20 20 20 20 fault to.
e530: 20 20 20 74 68 65 20 70 61 74 74 65 72 6e 20 74 the pattern t
e540: 68 61 74 20 6d 61 74 63 68 65 73 20 61 6e 79 20 hat matches any
e550: 6e 6f 64 65 20 77 69 74 68 20 74 68 65 20 73 61 node with the sa
e560: 6d 65 20 6e 6f 64 65 20 74 79 70 65 20 61 73 0a me node type as.
e570: 20 20 20 20 20 20 20 20 20 20 74 68 65 20 63 75 the cu
e580: 72 72 65 6e 74 20 6e 6f 64 65 20 61 6e 64 2c 20 rrent node and,
e590: 69 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 6e if the current n
e5a0: 6f 64 65 20 68 61 73 20 61 6e 0a 20 20 20 20 20 ode has an.
e5b0: 20 20 20 20 20 65 78 70 61 6e 64 65 64 2d 6e 61 expanded-na
e5c0: 6d 65 2c 20 77 69 74 68 20 74 68 65 20 73 61 6d me, with the sam
e5d0: 65 20 65 78 70 61 6e 64 65 64 2d 6e 61 6d 65 20 e expanded-name
e5e0: 61 73 20 74 68 65 20 63 75 72 72 65 6e 74 0a 20 as the current.
e5f0: 20 20 20 20 20 20 20 20 20 6e 6f 64 65 2e 20 42 node. B
e600: 75 74 20 69 6e 20 63 61 73 65 20 6f 66 20 50 52 ut in case of PR
e610: 4f 43 45 53 53 49 4e 47 5f 49 4e 53 54 52 55 43 OCESSING_INSTRUC
e620: 54 49 4f 4e 5f 4e 4f 44 45 73 20 61 73 20 74 68 TION_NODEs as th
e630: 65 0a 20 20 20 20 20 20 20 20 20 20 63 75 72 72 e. curr
e640: 65 6e 74 20 6e 6f 64 65 20 61 6e 64 20 6e 6f 20 ent node and no
e650: 27 63 6f 75 6e 74 27 20 61 74 74 72 69 62 75 74 'count' attribut
e660: 65 2c 20 69 74 20 63 6f 75 6e 74 65 64 20 61 6c e, it counted al
e670: 6c 20 70 69 27 73 0a 20 20 20 20 20 20 20 20 20 l pi's.
e680: 20 72 65 67 61 72 64 6c 65 73 73 20 6f 66 20 74 regardless of t
e690: 68 65 20 6e 61 6d 65 2e 20 4e 6f 77 2c 20 74 68 he name. Now, th
e6a0: 65 20 6e 61 6d 65 20 69 73 20 72 65 73 70 65 63 e name is respec
e6b0: 74 65 64 2c 20 61 73 20 69 74 0a 20 20 20 20 20 ted, as it.
e6c0: 20 20 20 20 20 73 68 6f 75 6c 64 20 62 65 2e 0a should be..
e6d0: 20 20 20 20 0a 32 30 30 33 2d 30 36 2d 31 31 20 .2003-06-11
e6e0: 20 5a 6f 72 61 6e 20 56 61 73 69 6c 6a 65 76 69 Zoran Vasiljevi
e6f0: 63 20 20 3c 7a 6f 72 61 6e 40 61 72 63 68 69 77 c <zoran@archiw
e700: 61 72 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 67 65 6e are.com>...* gen
e710: 65 72 69 63 2f 64 6f 6d 6c 6f 63 6b 2e 63 3a 20 eric/domlock.c:
e720: 66 69 78 65 64 20 64 6f 75 62 6c 65 20 6d 75 74 fixed double mut
e730: 65 78 20 75 6e 6c 6f 63 6b 2e 0a 0a 32 30 30 33 ex unlock...2003
e740: 2d 30 35 2d 31 39 20 20 52 6f 6c 66 20 41 64 65 -05-19 Rolf Ade
e750: 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
e760: 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
e770: 20 64 6f 63 2f 64 6f 6d 2e 2a 3a 20 43 6f 72 72 doc/dom.*: Corr
e780: 65 63 74 65 64 20 74 68 65 20 64 6f 63 75 6d 65 ected the docume
e790: 6e 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 0a 20 ntation of the.
e7a0: 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 44 createD
e7b0: 6f 63 75 6d 65 6e 74 4e 53 20 6d 65 74 68 6f 64 ocumentNS method
e7c0: 3a 20 74 68 65 20 61 72 67 73 20 75 72 69 20 61 : the args uri a
e7d0: 6e 64 20 64 6f 63 45 6c 65 6d 65 6e 74 4e 61 6d nd docElementNam
e7e0: 65 0a 20 20 20 20 20 20 20 20 20 20 77 65 72 65 e. were
e7f0: 20 64 6f 63 75 6d 65 6e 74 65 64 20 69 6e 20 74 documented in t
e800: 68 65 20 77 72 6f 6e 67 20 6f 72 64 65 72 20 28 he wrong order (
e810: 72 65 70 6f 72 74 65 64 20 62 79 20 56 69 63 6f reported by Vico
e820: 0a 20 20 20 20 20 20 20 20 20 20 4b 6c 75 6d 70 . Klump
e830: 29 2e 20 4d 69 6e 6f 72 20 6d 61 72 6b 75 70 20 ). Minor markup
e840: 63 68 61 6e 67 65 73 2e 0a 0a 32 30 30 33 2d 30 changes...2003-0
e850: 35 2d 31 36 20 20 5a 6f 72 61 6e 20 56 61 73 69 5-16 Zoran Vasi
e860: 6c 6a 65 76 69 63 20 20 3c 7a 6f 72 61 6e 40 61 ljevic <zoran@a
e870: 72 63 68 69 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 rchiware.com>...
e880: 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 20 * generic/dom.h
e890: 0a 09 2a 20 67 65 6e 65 72 69 63 2f 74 64 6f 6d ..* generic/tdom
e8a0: 2e 64 65 63 6c 73 0a 09 2a 20 67 65 6e 65 72 69 .decls..* generi
e8b0: 63 2f 74 64 6f 6d 44 65 63 6c 73 2e 68 0a 09 2a c/tdomDecls.h..*
e8c0: 20 67 65 6e 65 72 69 63 2f 74 64 6f 6d 53 74 75 generic/tdomStu
e8d0: 62 49 6e 69 74 2e 63 20 0a 09 2a 20 67 65 6e 65 bInit.c ..* gene
e8e0: 72 69 63 2f 74 64 6f 6d 53 74 75 62 4c 69 62 2e ric/tdomStubLib.
e8f0: 63 20 0a 09 2a 20 67 65 6e 65 72 69 63 2f 74 64 c ..* generic/td
e900: 6f 6d 69 6e 69 74 2e 63 3a 20 66 69 78 65 64 20 ominit.c: fixed
e910: 73 6f 20 69 74 20 63 6f 6d 70 69 6c 65 73 20 63 so it compiles c
e920: 6c 65 61 6e 6c 79 20 77 68 65 6e 20 0a 09 20 20 leanly when ..
e930: 2d 4e 53 5f 41 4f 4c 53 45 52 56 45 52 20 69 73 -NS_AOLSERVER is
e940: 20 64 65 66 69 6e 65 64 2e 0a 0a 32 30 30 33 2d defined...2003-
e950: 30 35 2d 31 36 20 20 52 6f 6c 66 20 41 64 65 20 05-16 Rolf Ade
e960: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
e970: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
e980: 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 0a 09 2a generic/dom.h..*
e990: 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e generic/tcldom.
e9a0: 63 0a 09 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d c..* generic/dom
e9b0: 78 73 6c 74 2e 63 0a 09 2a 20 67 65 6e 65 72 69 xslt.c..* generi
e9c0: 63 2f 74 63 6c 65 78 70 61 74 2e 63 3a 20 53 77 c/tclexpat.c: Sw
e9d0: 69 74 63 68 65 64 20 74 6f 20 75 73 65 20 58 4d itched to use XM
e9e0: 4c 5f 50 61 72 73 65 72 43 72 65 61 74 65 5f 4d L_ParserCreate_M
e9f0: 4d 28 29 2c 20 74 6f 20 62 65 0a 09 20 20 61 62 M(), to be.. ab
ea00: 6c 65 20 28 61 74 20 74 44 4f 4d 20 62 75 69 6c le (at tDOM buil
ea10: 64 20 74 69 6d 65 29 20 74 6f 20 6d 61 6b 65 20 d time) to make
ea20: 74 68 65 20 65 78 70 61 74 20 70 61 72 73 65 72 the expat parser
ea30: 20 75 73 65 20 63 75 73 74 6f 6d 0a 09 20 20 2a use custom.. *
ea40: 61 6c 6c 6f 63 2f 66 72 65 65 28 29 20 66 75 6e alloc/free() fun
ea50: 63 74 69 6f 6e 73 20 28 6d 61 63 72 6f 20 4d 45 ctions (macro ME
ea60: 4d 5f 53 55 49 54 45 20 69 6e 20 64 6f 6d 2e 68 M_SUITE in dom.h
ea70: 29 2e 20 46 6f 72 0a 09 20 20 54 43 4c 5f 4d 45 ). For.. TCL_ME
ea80: 4d 5f 44 45 42 55 47 20 61 6e 64 20 4e 53 5f 41 M_DEBUG and NS_A
ea90: 4f 4c 53 45 52 56 45 52 20 62 75 69 6c 64 73 20 OLSERVER builds
eaa0: 74 68 65 20 6d 65 6d 20 66 75 6e 63 74 69 6f 6e the mem function
eab0: 73 2c 20 75 73 65 64 20 62 79 0a 09 20 20 74 68 s, used by.. th
eac0: 65 20 70 61 72 73 65 72 20 64 65 66 61 75 6c 74 e parser default
ead0: 20 6e 6f 77 20 74 6f 20 54 63 6c 5f 41 6c 6c 6f now to Tcl_Allo
eae0: 63 28 29 2f 54 63 6c 5f 52 65 61 6c 6c 6f 63 28 c()/Tcl_Realloc(
eaf0: 29 2f 54 63 6c 5f 46 72 65 65 28 29 2e 0a 09 20 )/Tcl_Free()...
eb00: 20 53 77 69 74 63 68 65 64 20 74 6f 20 58 4d 4c Switched to XML
eb10: 5f 46 72 65 65 43 6f 6e 74 65 6e 74 4d 6f 64 65 _FreeContentMode
eb20: 6c 28 29 2c 20 66 6f 72 20 66 72 65 65 69 6e 67 l(), for freeing
eb30: 20 73 74 6f 72 65 64 20 65 6c 65 6d 65 6e 74 0a stored element.
eb40: 09 20 20 63 6f 6e 74 65 6e 74 20 6d 6f 64 65 6c . content model
eb50: 73 2e 0a 0a 32 30 30 33 2d 30 35 2d 31 31 20 20 s...2003-05-11
eb60: 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 Rolf Ade <rolf@
eb70: 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 pointsman.de>..
eb80: 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
eb90: 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a /dom.c. *
eba0: 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 generic/domxslt
ebb0: 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e .c. * gen
ebc0: 65 72 69 63 2f 78 6d 6c 73 69 6d 70 6c 65 2e 63 eric/xmlsimple.c
ebd0: 3a 20 52 65 6e 61 6d 65 64 20 74 68 65 20 64 6f : Renamed the do
ebe0: 63 75 6d 65 6e 74 73 20 72 6f 6f 74 4e 6f 64 65 cuments rootNode
ebf0: 20 28 69 6e 20 74 68 65 0a 20 20 20 20 20 20 20 (in the.
ec00: 20 20 20 73 65 6e 73 65 20 6f 66 20 74 68 65 20 sense of the
ec10: 58 50 61 74 68 20 64 61 74 61 20 6d 6f 64 65 6c XPath data model
ec20: 2c 20 74 68 61 74 20 69 73 20 6e 6f 74 20 74 68 , that is not th
ec30: 65 20 64 6f 63 75 6d 65 6e 74 0a 20 20 20 20 20 e document.
ec40: 20 20 20 20 20 65 6c 65 6d 65 6e 74 29 20 66 72 element) fr
ec50: 6f 6d 20 22 28 72 6f 6f 74 4e 6f 64 65 29 22 20 om "(rootNode)"
ec60: 74 6f 20 22 22 2c 20 69 6e 20 70 72 65 70 61 72 to "", in prepar
ec70: 61 74 69 6f 6e 20 66 6f 72 20 74 68 65 0a 20 20 ation for the.
ec80: 20 20 20 20 20 20 20 20 70 72 6f 6d 69 73 73 65 promisse
ec90: 64 20 27 64 6f 6d 44 6f 63 20 77 69 74 68 6f 75 d 'domDoc withou
eca0: 74 20 64 6f 63 75 6d 65 6e 74 45 6c 65 6d 65 6e t documentElemen
ecb0: 74 27 20 66 65 61 74 75 72 65 2c 20 74 6f 20 66 t' feature, to f
ecc0: 69 78 20 61 0a 20 20 20 20 20 20 20 20 20 20 73 ix a. s
ecd0: 6f 6d 65 77 68 61 74 20 6f 75 74 6c 79 69 6e 67 omewhat outlying
ece0: 20 70 72 6f 62 6c 65 6d 20 77 69 74 68 20 78 73 problem with xs
ecf0: 6c 74 20 6e 75 6d 62 65 72 69 6e 67 20 61 6e 64 lt numbering and
ed00: 20 62 65 63 61 75 73 65 0a 20 20 20 20 20 20 20 because.
ed10: 20 20 20 69 74 27 73 20 63 6c 65 61 72 6c 79 20 it's clearly
ed20: 6d 6f 72 65 20 74 68 65 20 27 72 69 67 68 74 20 more the 'right
ed30: 74 68 69 6e 67 27 20 61 63 63 6f 72 64 69 6e 67 thing' according
ed40: 20 74 6f 20 74 68 65 20 72 65 63 2e 0a 0a 20 20 to the rec...
ed50: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
ed60: 64 6f 6d 78 73 6c 74 2e 63 3a 20 52 65 6d 6f 76 domxslt.c: Remov
ed70: 65 64 20 74 68 65 20 61 72 67 20 78 73 20 66 72 ed the arg xs fr
ed80: 6f 6d 0a 20 20 20 20 20 20 20 20 20 20 73 6f 72 om. sor
ed90: 74 4e 6f 64 65 53 65 74 46 61 73 74 4d 65 72 67 tNodeSetFastMerg
eda0: 65 28 29 2c 20 62 65 63 61 75 73 65 20 69 74 20 e(), because it
edb0: 69 73 6e 27 74 20 75 73 65 64 2e 0a 0a 32 30 30 isn't used...200
edc0: 33 2d 30 34 2d 32 30 20 20 52 6f 6c 66 20 41 64 3-04-20 Rolf Ad
edd0: 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
ede0: 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
edf0: 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 64 6f * extensions/tdo
ee00: 6d 68 74 6d 6c 2f 74 64 6f 6d 68 74 6d 6c 2e 74 mhtml/tdomhtml.t
ee10: 63 6c 3a 20 50 72 6f 63 20 6e 65 77 64 6f 63 3a cl: Proc newdoc:
ee20: 20 4e 65 77 20 6f 70 74 69 6f 6e 61 6c 0a 20 20 New optional.
ee30: 20 20 20 20 20 20 20 20 61 72 67 75 6d 65 6e 74 argument
ee40: 20 28 6c 69 73 74 20 6f 66 20 6e 61 6d 65 73 20 (list of names
ee50: 6f 66 20 6c 6f 63 61 6c 20 76 61 72 69 61 62 6c of local variabl
ee60: 65 73 29 20 61 6c 6c 6f 77 73 20 74 68 65 20 75 es) allows the u
ee70: 73 65 0a 20 20 20 20 20 20 20 20 20 20 6f 66 20 se. of
ee80: 6c 6f 63 61 6c 20 76 61 72 69 61 62 6c 65 73 20 local variables
ee90: 28 69 6e 20 74 68 65 20 73 63 6f 70 65 20 6f 66 (in the scope of
eea0: 20 74 68 65 20 63 61 6c 6c 65 72 20 6f 66 20 6e the caller of n
eeb0: 65 77 64 6f 63 29 20 69 6e 0a 20 20 20 20 20 20 ewdoc) in.
eec0: 20 20 20 20 74 68 65 20 73 63 72 69 70 74 20 61 the script a
eed0: 72 67 75 6d 65 6e 74 20 6f 66 20 6e 65 77 64 6f rgument of newdo
eee0: 63 2e 20 43 6f 6e 74 72 69 62 75 74 65 64 20 62 c. Contributed b
eef0: 79 20 43 68 75 63 6b 20 46 65 72 72 69 6c 2e 0a y Chuck Ferril..
ef00: 0a 32 30 30 33 2d 30 34 2d 31 36 20 20 52 6f 6c .2003-04-16 Rol
ef10: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
ef20: 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 ntsman.de>..
ef30: 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
ef40: 6d 78 73 6c 74 2e 63 3a 20 4f 70 74 69 6d 69 7a mxslt.c: Optimiz
ef50: 61 74 69 6f 6e 3a 20 49 6d 70 72 6f 76 65 64 20 ation: Improved
ef60: 63 61 63 68 69 6e 67 20 6f 66 0a 20 20 20 20 20 caching of.
ef70: 20 20 20 20 20 65 78 74 65 72 6e 61 6c 20 64 6f external do
ef80: 63 75 6d 65 6e 74 73 2e 0a 0a 32 30 30 33 2d 30 cuments...2003-0
ef90: 34 2d 31 32 20 20 52 6f 6c 66 20 41 64 65 20 20 4-12 Rolf Ade
efa0: 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
efb0: 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 52 de>.. * R
efc0: 45 41 44 4d 45 0a 20 20 20 20 20 20 20 20 2a 20 EADME. *
efd0: 52 45 41 44 4d 45 2e 41 4f 4c 0a 20 20 20 20 20 README.AOL.
efe0: 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 * configure.i
eff0: 6e 0a 20 20 20 20 20 20 20 20 2a 20 63 6f 6e 66 n. * conf
f000: 69 67 75 72 65 0a 20 20 20 20 20 20 20 20 2a 20 igure. *
f010: 63 6f 6e 66 69 67 75 72 65 2d 38 2e 30 2e 35 0a configure-8.0.5.
f020: 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
f030: 6c 6f 61 64 74 64 6f 6d 2e 74 63 6c 0a 20 20 20 loadtdom.tcl.
f040: 20 20 20 20 20 2a 20 6d 61 63 2f 50 72 65 66 69 * mac/Prefi
f050: 78 2f 74 44 4f 4d 50 72 65 66 69 78 2e 68 0a 20 x/tDOMPrefix.h.
f060: 20 20 20 20 20 20 20 2a 20 6d 61 63 2f 50 72 65 * mac/Pre
f070: 66 69 78 2f 74 44 4f 4d 50 72 65 66 69 78 5f 4f fix/tDOMPrefix_O
f080: 53 58 2e 68 20 20 20 20 0a 20 20 20 20 20 20 20 SX.h .
f090: 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e * extensions/tn
f0a0: 63 2f 74 6e 63 2e 63 3a 20 42 75 6d 70 65 64 20 c/tnc.c: Bumped
f0b0: 76 65 72 73 69 6f 6e 20 74 6f 20 30 2e 38 2e 30 version to 0.8.0
f0c0: 20 28 61 6c 70 68 61 29 2e 0a 0a 32 30 30 33 2d (alpha)...2003-
f0d0: 30 34 2d 30 39 20 20 52 6f 6c 66 20 41 64 65 20 04-09 Rolf Ade
f0e0: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
f0f0: 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
f100: 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 3a 20 46 generic/dom.c: F
f110: 69 78 65 64 20 61 20 62 75 67 20 69 6e 20 74 68 ixed a bug in th
f120: 65 20 63 72 65 61 74 69 6f 6e 20 6f 66 20 74 68 e creation of th
f130: 65 20 65 72 72 6f 72 20 6d 73 67 0a 20 20 20 20 e error msg.
f140: 20 20 20 20 20 20 69 6e 20 63 61 73 65 20 6f 66 in case of
f150: 20 70 61 72 73 69 6e 67 20 65 72 72 6f 72 73 20 parsing errors
f160: 69 6e 20 61 6e 20 65 78 74 65 72 6e 61 6c 20 65 in an external e
f170: 6e 74 69 74 79 2e 0a 0a 20 20 20 20 20 20 20 20 ntity...
f180: 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 0a * generic/dom.c.
f190: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
f1a0: 63 2f 64 6f 6d 2e 68 0a 20 20 20 20 20 20 20 20 c/dom.h.
f1b0: 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c * generic/domxsl
f1c0: 74 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 t.c. * te
f1d0: 73 74 73 2f 64 6f 6d 43 6d 64 2e 74 65 73 74 0a sts/domCmd.test.
f1e0: 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f 64 6f * doc/do
f1f0: 6d 2e 2a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 m.*. * ge
f200: 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 neric/tcldom.c:
f210: 41 64 64 65 64 20 6f 70 74 69 6f 6e 20 2d 70 61 Added option -pa
f220: 72 61 6d 65 6e 74 69 74 79 70 61 72 73 69 6e 67 ramentityparsing
f230: 20 74 6f 20 74 68 65 0a 20 20 20 20 20 20 20 20 to the.
f240: 20 20 5b 64 6f 6d 20 70 61 72 73 65 5d 20 6d 65 [dom parse] me
f250: 74 68 6f 64 2e 20 5b 64 6f 6d 20 70 61 72 73 65 thod. [dom parse
f260: 5d 20 6f 70 74 69 6f 6e 20 70 61 72 73 69 6e 67 ] option parsing
f270: 20 6e 6f 77 20 75 73 65 73 0a 20 20 20 20 20 20 now uses.
f280: 20 20 20 20 54 63 6c 5f 47 65 74 49 6e 64 65 78 Tcl_GetIndex
f290: 46 72 6f 6d 4f 62 6a 28 29 20 28 77 68 69 63 68 FromObj() (which
f2a0: 20 61 64 64 69 74 69 6f 6e 61 6c 6c 79 20 66 69 additionally fi
f2b0: 78 65 73 20 61 20 6d 69 6e 6f 72 20 62 75 67 0a xes a minor bug.
f2c0: 20 20 20 20 20 20 20 20 20 20 77 69 74 68 20 74 with t
f2d0: 68 65 20 63 75 72 72 65 6e 74 20 6f 70 74 69 6f he current optio
f2e0: 6e 20 70 61 72 73 69 6e 67 29 2e 0a 20 20 20 20 n parsing)..
f2f0: 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 . * g
f300: 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a eneric/tcldom.c:
f310: 20 52 65 6d 6f 76 65 64 20 61 6e 20 75 6e 75 73 Removed an unus
f320: 65 64 20 76 61 72 69 61 62 6c 65 2e 20 49 6d 70 ed variable. Imp
f330: 72 6f 76 65 64 20 65 72 72 6f 72 0a 20 20 20 20 roved error.
f340: 20 20 20 20 20 20 72 65 70 6f 72 74 69 6e 67 20 reporting
f350: 69 6e 20 63 61 73 65 20 6f 66 20 6e 6f 74 20 66 in case of not f
f360: 6f 75 6e 64 20 61 74 74 72 69 62 75 74 65 2e 20 ound attribute.
f370: 42 65 74 74 65 72 20 6f 70 74 69 6f 6e 73 0a 20 Better options.
f380: 20 20 20 20 20 20 20 20 20 63 68 65 63 6b 20 66 check f
f390: 6f 72 20 74 68 65 20 27 78 73 6c 74 27 20 6d 65 or the 'xslt' me
f3a0: 74 68 6f 64 73 2e 20 43 68 61 6e 67 65 64 20 69 thods. Changed i
f3b0: 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 6f 66 mplementation of
f3c0: 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 64 the. d
f3d0: 6f 6d 20 6d 65 74 68 6f 64 20 69 73 51 4e 61 6d om method isQNam
f3e0: 65 20 74 6f 20 75 73 65 20 74 68 65 20 6c 61 74 e to use the lat
f3f0: 65 6c 79 20 69 6e 74 72 6f 64 75 63 65 64 20 41 ely introduced A
f400: 50 49 20 66 75 6e 63 74 69 6f 6e 0a 20 20 20 20 PI function.
f410: 20 20 20 20 20 20 64 6f 6d 49 73 51 4e 41 4d 45 domIsQNAME
f420: 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e ... * gen
f430: 65 72 69 63 2f 74 63 6c 65 78 70 61 74 2e 63 0a eric/tclexpat.c.
f440: 20 20 20 20 20 20 20 20 20 20 74 65 73 74 73 2f tests/
f450: 70 61 72 73 65 72 2e 74 65 73 74 3a 20 46 69 78 parser.test: Fix
f460: 65 64 20 61 20 62 75 67 20 69 6e 20 74 68 65 20 ed a bug in the
f470: 76 61 6c 75 65 20 70 61 72 73 69 6e 67 20 6f 66 value parsing of
f480: 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 2d the. -
f490: 70 61 72 61 6d 65 6e 74 69 74 79 70 61 72 73 69 paramentityparsi
f4a0: 6e 67 20 6f 70 74 69 6f 6e 2e 0a 0a 20 20 20 20 ng option...
f4b0: 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 43 * tests/domC
f4c0: 6d 64 2e 74 65 73 74 3a 20 41 64 64 65 64 20 74 md.test: Added t
f4d0: 65 73 74 73 20 66 6f 72 20 74 68 65 20 69 6e 74 ests for the int
f4e0: 65 72 66 61 63 65 20 6f 66 20 74 68 65 0a 20 20 erface of the.
f4f0: 20 20 20 20 20 20 20 20 78 73 6c 74 43 6d 64 73 xsltCmds
f500: 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 ... * tes
f510: 74 73 2f 78 70 61 74 68 2e 74 65 73 74 3a 20 41 ts/xpath.test: A
f520: 64 64 65 64 20 74 65 73 74 20 77 68 69 63 68 20 dded test which
f530: 64 6f 63 75 6d 65 6e 74 73 20 74 68 65 20 62 75 documents the bu
f540: 67 20 70 72 69 6f 72 0a 20 20 20 20 20 20 20 20 g prior.
f550: 20 20 74 6f 20 64 6f 6d 78 70 61 74 68 2e 63 20 to domxpath.c
f560: 72 31 2e 36 33 2e 20 20 0a 20 20 0a 20 20 20 20 r1.63. . .
f570: 20 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 2e 2a 3a * doc/dom.*:
f580: 20 41 64 64 65 64 20 27 70 61 63 6b 61 67 65 20 Added 'package
f590: 72 65 71 75 69 72 65 20 74 64 6f 6d 27 20 74 6f require tdom' to
f5a0: 20 74 68 65 20 73 79 6e 74 61 78 0a 20 20 20 20 the syntax.
f5b0: 20 20 20 20 20 20 64 65 63 72 69 70 74 69 6f 6e decription
f5c0: 20 28 68 74 74 70 3a 2f 2f 67 72 6f 75 70 73 2e (http://groups.
f5d0: 79 61 68 6f 6f 2e 63 6f 6d 2f 67 72 6f 75 70 2f yahoo.com/group/
f5e0: 74 64 6f 6d 2f 6d 65 73 73 61 67 65 2f 34 34 36 tdom/message/446
f5f0: 29 0a 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 ).. * doc
f600: 2f 64 6f 6d 44 6f 63 2e 2a 3a 20 41 64 64 65 64 /domDoc.*: Added
f610: 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 66 documentation f
f620: 6f 72 20 74 68 65 20 74 6f 58 53 4c 54 63 6d 64 or the toXSLTcmd
f630: 20 6d 65 74 68 6f 64 0a 20 20 20 20 20 20 20 20 method.
f640: 20 20 61 6e 64 20 74 68 65 20 72 65 73 75 6c 74 and the result
f650: 69 6e 67 20 78 73 6c 74 43 6d 64 73 2e 20 43 6f ing xsltCmds. Co
f660: 72 72 65 63 74 65 64 20 74 68 65 20 64 6f 63 75 rrected the docu
f670: 6d 65 6e 74 61 74 69 6f 6e 20 66 6f 72 0a 20 20 mentation for.
f680: 20 20 20 20 20 20 20 20 74 68 65 20 78 73 6c 74 the xslt
f690: 20 6d 65 74 68 6f 64 20 28 6d 69 73 73 65 64 20 method (missed
f6a0: 2d 69 67 6e 6f 72 65 55 6e 64 65 63 6c 61 72 65 -ignoreUndeclare
f6b0: 64 50 61 72 61 6d 65 74 65 72 73 20 61 6e 64 0a dParameters and.
f6c0: 20 20 20 20 20 20 20 20 20 20 2d 78 73 6c 74 6d -xsltm
f6d0: 65 73 73 61 67 65 63 6d 64 20 69 6e 20 74 68 65 essagecmd in the
f6e0: 20 6d 65 74 68 6f 64 20 73 79 6e 74 61 78 29 2e method syntax).
f6f0: 20 20 0a 20 20 20 20 20 20 20 20 20 20 0a 32 30 . .20
f700: 30 33 2d 30 34 2d 30 35 20 20 52 6f 6c 66 20 41 03-04-05 Rolf A
f710: 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 de <rolf@points
f720: 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 man.de>..
f730: 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 65 78 * generic/tclex
f740: 70 61 74 2e 63 3a 20 42 75 67 20 66 69 78 3a 20 pat.c: Bug fix:
f750: 49 66 20 74 68 65 20 70 61 72 73 69 6e 67 20 73 If the parsing s
f760: 74 61 74 65 20 69 73 20 61 6c 72 65 61 64 79 0a tate is already.
f770: 20 20 20 20 20 20 20 20 20 20 6e 6f 74 20 54 43 not TC
f780: 4c 5f 4f 4b 20 72 65 74 75 72 6e 20 69 6e 20 74 L_OK return in t
f790: 68 65 20 6e 6f 74 73 74 61 6e 64 61 6c 6f 6e 65 he notstandalone
f7a0: 68 61 6e 64 6c 65 72 20 69 6d 6d 65 64 69 61 74 handler immediat
f7b0: 65 6c 79 0a 20 20 20 20 20 20 20 20 20 20 73 75 ely. su
f7c0: 63 63 65 73 73 2c 20 6f 74 68 65 72 77 69 73 65 ccess, otherwise
f7d0: 20 74 68 65 20 65 72 72 6f 72 20 6d 73 67 20 77 the error msg w
f7e0: 69 6c 6c 20 62 65 20 6f 76 65 72 77 72 69 74 74 ill be overwritt
f7f0: 65 6e 20 77 69 74 68 20 61 0a 20 20 20 20 20 20 en with a.
f800: 20 20 20 20 66 61 6c 73 65 20 64 69 61 67 6e 6f false diagno
f810: 73 74 69 63 2e 20 41 20 66 65 77 20 65 64 69 74 stic. A few edit
f820: 6f 72 69 61 6c 20 63 68 61 6e 67 65 73 2e 0a 0a orial changes...
f830: 32 30 30 33 2d 30 34 2d 30 34 20 20 52 6f 6c 66 2003-04-04 Rolf
f840: 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e Ade <rolf@poin
f850: 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 tsman.de>..
f860: 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
f870: 2e 63 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 .c . * ge
f880: 6e 65 72 69 63 2f 64 6f 6d 2e 68 3a 20 41 64 64 neric/dom.h: Add
f890: 65 64 20 64 6f 6d 49 73 51 4e 41 4d 45 2e 0a 0a ed domIsQNAME...
f8a0: 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
f8b0: 63 2f 64 6f 6d 2e 63 3a 20 42 75 67 20 66 69 78 c/dom.c: Bug fix
f8c0: 3a 20 46 6f 72 20 74 65 78 74 4e 6f 64 65 73 20 : For textNodes
f8d0: 67 65 74 4c 69 6e 65 2f 67 65 74 43 6f 6c 75 6d getLine/getColum
f8e0: 6e 0a 20 20 20 20 20 20 20 20 20 20 6d 65 74 68 n. meth
f8f0: 6f 64 20 72 65 70 6f 72 74 20 74 68 65 20 70 6f od report the po
f900: 73 69 74 69 6f 6e 20 6f 66 20 74 68 65 20 66 69 sition of the fi
f910: 72 73 74 20 63 68 61 72 20 6f 66 20 74 68 65 20 rst char of the
f920: 74 65 78 74 0a 20 20 20 20 20 20 20 20 20 20 6e text. n
f930: 6f 64 65 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 ode... *
f940: 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 generic/domxpath
f950: 2e 63 3a 20 42 75 67 20 66 69 78 3a 20 44 65 74 .c: Bug fix: Det
f960: 65 63 74 73 20 6e 6f 77 20 73 6f 6d 65 20 65 72 ects now some er
f970: 72 6f 6e 65 6f 75 73 0a 20 20 20 20 20 20 20 20 roneous.
f980: 20 20 58 50 61 74 68 20 65 78 70 72 65 73 73 69 XPath expressi
f990: 6f 6e 73 2e 20 41 64 64 65 64 20 70 61 72 61 6d ons. Added param
f9a0: 65 74 65 72 20 6e 75 6d 62 65 72 20 63 68 65 63 eter number chec
f9b0: 6b 20 74 6f 20 58 50 61 74 68 0a 20 20 20 20 20 k to XPath.
f9c0: 20 20 20 20 20 66 75 6e 63 74 69 6f 6e 73 20 73 functions s
f9d0: 75 62 73 74 72 69 6e 67 20 61 6e 64 20 63 6f 6e ubstring and con
f9e0: 63 61 74 20 28 74 68 65 20 6c 61 73 74 20 74 77 cat (the last tw
f9f0: 6f 20 58 50 61 74 68 0a 20 20 20 20 20 20 20 20 o XPath.
fa00: 20 20 66 75 6e 63 74 69 6f 6e 73 2c 20 77 69 74 functions, wit
fa10: 68 6f 75 74 20 73 75 63 68 20 63 68 65 63 6b 2c hout such check,
fa20: 20 74 68 65 79 20 6d 75 73 74 20 68 61 76 65 20 they must have
fa30: 73 6c 69 70 70 65 64 20 74 68 6f 75 0a 20 20 20 slipped thou.
fa40: 20 20 20 20 20 20 20 73 6f 6d 65 68 6f 77 2c 20 somehow,
fa50: 75 70 20 74 6f 20 6e 6f 77 29 2e 0a 0a 20 20 20 up to now)...
fa60: 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
fa70: 6f 6d 78 73 6c 74 2e 63 3a 20 49 6d 70 72 6f 76 omxslt.c: Improv
fa80: 65 64 20 69 6e 74 65 72 61 6c 20 66 75 6e 63 74 ed interal funct
fa90: 69 6f 6e 20 72 65 70 6f 72 74 45 72 72 6f 72 28 ion reportError(
faa0: 29 2c 0a 20 20 20 20 20 20 20 20 20 20 63 61 6e ),. can
fab0: 20 6e 6f 77 20 62 65 20 75 73 65 64 20 77 69 74 now be used wit
fac0: 68 20 61 6c 6c 20 6b 69 6e 64 20 6f 66 20 6e 6f h all kind of no
fad0: 64 65 73 20 6e 6f 74 20 6f 6e 6c 79 20 65 6c 65 des not only ele
fae0: 6d 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 6e ment. n
faf0: 6f 64 65 73 2e 20 49 6d 70 72 6f 76 65 64 20 62 odes. Improved b
fb00: 65 68 61 76 69 6f 72 20 69 6e 20 63 61 73 65 20 ehavior in case
fb10: 6f 66 20 64 75 62 69 6f 75 73 20 6e 75 6d 62 65 of dubious numbe
fb20: 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 28 ring. (
fb30: 6e 65 67 61 74 69 76 65 20 72 6f 6d 61 6e 20 6e negative roman n
fb40: 75 6d 62 65 72 20 6f 72 20 6c 61 74 69 6e 20 6c umber or latin l
fb50: 65 74 74 65 72 73 20 66 61 6c 6c 20 62 61 63 6b etters fall back
fb60: 20 74 6f 20 64 65 66 61 75 6c 74 0a 20 20 20 20 to default.
fb70: 20 20 20 20 20 20 6c 61 74 69 6e 20 6e 75 6d 62 latin numb
fb80: 65 72 73 29 2e 20 46 69 78 65 64 20 61 20 70 6f ers). Fixed a po
fb90: 74 65 6e 74 69 61 6c 20 6d 65 6d 6f 72 79 20 6c tential memory l
fba0: 65 61 6b 20 28 69 6e 20 63 61 73 65 20 6f 66 0a eak (in case of.
fbb0: 20 20 20 20 20 20 20 20 20 20 6f 76 65 72 77 72 overwr
fbc0: 69 74 69 6e 67 20 6e 61 6d 65 64 20 74 65 6d 70 iting named temp
fbd0: 6c 61 74 65 73 20 77 69 74 68 6f 75 74 20 6d 61 lates without ma
fbe0: 74 63 68 20 61 74 74 72 69 62 75 74 65 20 77 69 tch attribute wi
fbf0: 74 68 20 61 6e 0a 20 20 20 20 20 20 20 20 20 20 th an.
fc00: 6f 74 68 65 72 20 6e 61 6d 65 64 20 74 65 6d 70 other named temp
fc10: 6c 61 74 65 29 2e 20 49 6d 70 72 6f 76 65 64 20 late). Improved
fc20: 65 72 72 6f 72 20 72 65 70 6f 72 74 73 3a 20 66 error reports: f
fc30: 6f 72 20 6d 6f 72 65 0a 20 20 20 20 20 20 20 20 or more.
fc40: 20 20 64 65 74 65 63 74 65 64 20 65 72 72 6f 72 detected error
fc50: 73 20 74 68 65 72 65 20 69 73 20 6e 6f 77 20 61 s there is now a
fc60: 20 6c 69 6e 65 2f 63 6f 6c 75 6d 6e 20 6e 75 6d line/column num
fc70: 62 65 72 0a 20 20 20 20 20 20 20 20 20 20 67 69 ber. gi
fc80: 76 65 6e 2e 20 50 6c 65 6e 74 79 20 6f 66 20 69 ven. Plenty of i
fc90: 6d 70 72 6f 76 65 6d 65 6e 74 73 20 69 6e 20 64 mprovements in d
fca0: 65 74 65 63 74 69 6e 67 20 65 72 72 6f 6e 65 6f etecting erroneo
fcb0: 75 73 0a 20 20 20 20 20 20 20 20 20 20 73 74 79 us. sty
fcc0: 6c 65 73 68 65 65 74 73 3a 20 6d 6f 72 65 20 63 lesheets: more c
fcd0: 68 65 63 6b 73 20 66 6f 72 20 66 6f 72 6d 61 74 hecks for format
fce0: 2d 6e 75 6d 62 65 72 20 66 6f 72 6d 61 74 74 69 -number formatti
fcf0: 6e 67 0a 20 20 20 20 20 20 20 20 20 20 70 61 74 ng. pat
fd00: 74 65 72 73 20 28 61 6c 74 68 6f 75 67 68 20 65 ters (although e
fd10: 73 70 65 63 69 63 61 6c 6c 79 20 66 6f 72 6d 61 specically forma
fd20: 74 2d 6e 75 6d 62 65 72 20 70 61 74 74 65 72 6e t-number pattern
fd30: 73 20 61 72 65 0a 20 20 20 20 20 20 20 20 20 20 s are.
fd40: 73 74 69 6c 6c 20 61 20 63 61 6e 20 6f 66 20 77 still a can of w
fd50: 6f 72 6d 73 29 2c 20 61 64 64 65 64 20 70 61 72 orms), added par
fd60: 61 6d 65 74 65 72 20 6e 75 6d 62 65 72 20 63 68 ameter number ch
fd70: 65 63 6b 20 66 6f 72 0a 20 20 20 20 20 20 20 20 eck for.
fd80: 20 20 61 64 64 69 74 69 6f 6e 61 6c 20 58 50 61 additional XPa
fd90: 74 68 20 66 75 6e 63 74 69 6f 6e 20 63 75 72 72 th function curr
fda0: 65 6e 74 28 29 2c 20 74 65 6d 70 6c 61 74 65 2c ent(), template,
fdb0: 20 70 61 72 61 6d 65 74 65 72 2c 0a 20 20 20 20 parameter,.
fdc0: 20 20 20 20 20 20 76 61 72 69 61 62 6c 65 2c 20 variable,
fdd0: 73 6f 72 74 2c 20 63 68 6f 6f 73 65 2c 20 63 6f sort, choose, co
fde0: 70 79 2c 20 61 6e 64 20 6d 65 73 73 61 67 65 20 py, and message
fdf0: 65 6c 65 6d 65 6e 74 73 2e 0a 0a 32 30 30 33 2d elements...2003-
fe00: 30 33 2d 32 36 20 20 52 6f 6c 66 20 41 64 65 20 03-26 Rolf Ade
fe10: 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
fe20: 2e 64 65 3e 0a 20 20 20 20 20 20 20 20 0a 20 20 .de>. .
fe30: 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
fe40: 64 6f 6d 78 73 6c 74 2e 63 3a 20 46 69 78 65 64 domxslt.c: Fixed
fe50: 20 73 6f 6d 65 20 6d 65 6d 6f 72 79 20 70 72 6f some memory pro
fe60: 62 6c 65 6d 73 2c 20 6d 6f 73 74 6c 79 20 69 6e blems, mostly in
fe70: 0a 20 20 20 20 20 20 20 20 20 20 63 61 73 65 20 . case
fe80: 6f 66 20 65 72 72 6f 6e 65 6f 75 73 20 73 74 79 of erroneous sty
fe90: 6c 65 73 68 65 65 74 73 2e 0a 0a 2d 2d 2d 20 52 lesheets...--- R
fea0: 65 6c 65 61 73 65 20 30 2e 37 2e 37 2c 20 32 35 elease 0.7.7, 25
feb0: 2e 20 4d 61 72 2e 20 32 30 30 33 20 2d 2d 2d 0a . Mar. 2003 ---.
fec0: 0a 32 30 30 33 2d 30 33 2d 32 35 20 20 52 6f 6c .2003-03-25 Rol
fed0: 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
fee0: 6e 74 73 6d 61 6e 2e 64 65 3e 0a 20 20 20 20 20 ntsman.de>.
fef0: 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 63 6f . * co
ff00: 6e 66 69 67 75 72 65 2e 69 6e 0a 20 20 20 20 20 nfigure.in.
ff10: 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 0a 20 * configure.
ff20: 20 20 20 20 20 20 20 2a 20 63 6f 6e 66 69 67 75 * configu
ff30: 72 65 2d 74 63 6c 38 2e 30 2e 35 0a 20 20 20 20 re-tcl8.0.5.
ff40: 20 20 20 20 2a 20 52 45 41 44 4d 45 0a 20 20 20 * README.
ff50: 20 20 20 20 20 2a 20 52 45 41 44 4d 45 2e 41 4f * README.AO
ff60: 4c 0a 20 20 20 20 20 20 20 20 2a 20 77 69 6e 2f L. * win/
ff70: 6d 61 6b 65 66 69 6c 65 2e 76 63 0a 20 20 20 20 makefile.vc.
ff80: 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 * extensions
ff90: 2f 74 6e 63 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 /tnc/makefile.vc
ffa0: 0a 20 20 20 20 20 20 20 20 2a 20 6d 61 63 2f 50 . * mac/P
ffb0: 72 65 66 69 78 2f 74 44 4f 4d 50 72 65 66 69 78 refix/tDOMPrefix
ffc0: 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 6d 61 63 .h. * mac
ffd0: 2f 50 72 65 66 69 78 2f 74 44 4f 4d 50 72 65 66 /Prefix/tDOMPref
ffe0: 69 78 5f 4f 53 58 2e 68 0a 20 20 20 20 20 20 20 ix_OSX.h.
fff0: 20 2a 20 6d 61 63 2f 74 44 4f 4d 5f 4f 53 58 2e * mac/tDOM_OSX.
10000 70 72 6a 2e 78 6d 6c 3a 20 42 75 6d 70 65 64 20 prj.xml: Bumped
10010 74 68 65 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 the version numb
10020 65 72 20 74 6f 20 30 2e 37 2e 37 2e 0a 0a 20 20 er to 0.7.7...
10030 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
10040 74 63 6c 64 6f 6d 2e 63 3a 20 46 69 78 65 64 20 tcldom.c: Fixed
10050 65 72 72 6f 72 2c 20 77 68 69 63 68 20 70 72 65 error, which pre
10060 76 65 6e 74 73 20 62 75 69 6c 64 69 6e 67 20 30 vents building 0
10070 2e 37 2e 36 0a 20 20 20 20 20 20 20 20 20 20 77 .7.6. w
10080 69 74 68 20 2d 44 54 43 4c 5f 54 48 52 45 41 44 ith -DTCL_THREAD
10090 53 3d 31 2e 20 28 41 72 72 72 67 2e 29 0a 0a 2d S=1. (Arrrg.)..-
100a0 2d 2d 20 52 65 6c 65 61 73 65 20 30 2e 37 2e 36 -- Release 0.7.6
100b0 2c 20 32 34 2e 20 4d 61 72 2e 20 32 30 30 33 20 , 24. Mar. 2003
100c0 2d 2d 2d 0a 0a 32 30 30 33 2d 30 33 2d 32 32 20 ---..2003-03-22
100d0 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
100e0 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
100f0 20 20 20 20 20 20 20 20 2a 20 6d 61 63 2f 50 72 * mac/Pr
10100 65 66 69 78 2f 74 44 4f 4d 50 72 65 66 69 78 2e efix/tDOMPrefix.
10110 68 0a 20 20 20 20 20 20 20 20 2a 20 6d 61 63 2f h. * mac/
10120 50 72 65 66 69 78 2f 74 44 4f 4d 50 72 65 66 69 Prefix/tDOMPrefi
10130 78 5f 4f 53 58 2e 68 0a 20 20 20 20 20 20 20 20 x_OSX.h.
10140 2a 20 6d 61 63 2f 50 72 65 66 69 78 2f 74 6e 63 * mac/Prefix/tnc
10150 50 72 65 66 69 78 2e 68 0a 20 20 20 20 20 20 20 Prefix.h.
10160 20 2a 20 6d 61 63 2f 50 72 65 66 69 78 2f 74 6e * mac/Prefix/tn
10170 63 50 72 65 66 69 78 5f 4f 53 58 2e 68 0a 20 20 cPrefix_OSX.h.
10180 20 20 20 20 20 20 2a 20 6d 61 63 2f 74 44 4f 4d * mac/tDOM
10190 5f 4f 53 58 2e 70 72 6a 2e 78 6d 6c 3a 20 46 69 _OSX.prj.xml: Fi
101a0 6e 61 6c 20 74 77 65 61 6b 69 6e 67 20 66 6f 72 nal tweaking for
101b0 20 30 2e 37 2e 36 2e 0a 0a 20 20 20 20 20 20 20 0.7.6...
101c0 20 2a 20 65 78 70 61 74 2f 56 45 52 53 49 4f 4e * expat/VERSION
101d0 0a 20 20 20 20 20 20 20 20 2a 20 65 78 70 61 74 . * expat
101e0 2f 65 78 70 61 74 2e 68 3a 20 55 70 64 61 74 65 /expat.h: Update
101f0 64 20 74 6f 20 61 6e 20 61 66 74 65 72 20 31 2e d to an after 1.
10200 39 35 2e 36 20 76 65 72 73 69 6f 6e 2c 20 77 68 95.6 version, wh
10210 69 63 68 0a 20 20 20 20 20 20 20 20 20 20 66 69 ich. fi
10220 78 65 73 20 74 68 65 20 70 72 6f 62 6c 65 6d 2c xes the problem,
10230 20 74 68 61 74 20 73 6f 6d 65 20 63 6f 6d 70 69 that some compi
10240 6c 65 72 73 20 68 61 64 20 77 69 74 68 20 74 68 lers had with th
10250 65 20 31 2e 39 35 2e 36 0a 20 20 20 20 20 20 20 e 1.95.6.
10260 20 20 20 76 65 72 73 69 6f 6e 2e 0a 0a 32 30 30 version...200
10270 33 2d 30 33 2d 32 32 20 20 52 6f 6c 66 20 41 64 3-03-22 Rolf Ad
10280 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
10290 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
102a0 2a 20 52 45 41 44 4d 45 0a 20 20 20 20 20 20 20 * README.
102b0 20 2a 20 52 45 41 44 4d 45 2e 41 4f 4c 0a 20 20 * README.AOL.
102c0 20 20 20 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 * configur
102d0 65 2e 69 6e 0a 20 20 20 20 20 20 20 20 2a 20 63 e.in. * c
102e0 6f 6e 66 69 67 75 72 65 0a 20 20 20 20 20 20 20 onfigure.
102f0 20 2a 20 63 6f 6e 66 69 67 75 72 65 2d 74 63 6c * configure-tcl
10300 38 2e 30 2e 35 0a 20 20 20 20 20 20 20 20 2a 20 8.0.5. *
10310 6d 61 63 2f 74 44 4f 4d 2e 72 0a 20 20 20 20 20 mac/tDOM.r.
10320 20 20 20 2a 20 6d 61 63 2f 74 44 4f 4d 5f 4f 53 * mac/tDOM_OS
10330 58 2e 70 72 6a 2e 78 6d 6c 0a 20 20 20 20 20 20 X.prj.xml.
10340 20 20 2a 20 6d 61 63 2f 74 6e 63 2e 72 0a 20 20 * mac/tnc.r.
10350 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f * extensio
10360 6e 73 2f 74 6e 63 2f 6d 61 6b 65 66 69 6c 65 2e ns/tnc/makefile.
10370 76 63 3a 20 55 70 64 61 74 65 64 20 74 6f 20 6e vc: Updated to n
10380 65 77 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 ew version numbe
10390 72 20 30 2e 37 2e 36 2e 0a 20 20 20 20 20 20 20 r 0.7.6..
103a0 20 0a 20 20 20 20 20 20 20 20 2a 20 6d 61 63 2f . * mac/
103b0 74 44 4f 4d 2f 2a 3a 20 41 64 64 65 64 20 64 69 tDOM/*: Added di
103c0 72 2f 66 69 6c 65 73 2c 20 74 6f 20 68 61 76 65 r/files, to have
103d0 20 61 20 76 65 72 73 69 6f 6e 20 6e 75 6d 62 65 a version numbe
103e0 72 0a 20 20 20 20 20 20 20 20 20 20 69 6e 64 65 r. inde
103f0 70 65 6e 64 65 64 20 6f 75 74 70 75 74 20 64 69 pended output di
10400 72 20 66 6f 72 20 74 68 65 20 6d 61 63 20 62 75 r for the mac bu
10410 69 6c 64 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 ild... *
10420 6d 61 63 2f 74 44 4f 4d 2e 30 2e 37 2e 35 2f 2a mac/tDOM.0.7.5/*
10430 0a 20 20 20 20 20 20 20 20 2a 20 6d 61 63 2f 74 . * mac/t
10440 44 4f 4d 2e 30 2e 37 2e 35 3a 20 52 65 6d 6f 76 DOM.0.7.5: Remov
10450 65 64 20 69 6e 20 66 61 76 6f 72 20 6f 66 20 61 ed in favor of a
10460 20 76 65 72 73 69 6f 6e 2d 6c 65 73 73 20 74 44 version-less tD
10470 4f 4d 0a 20 20 20 20 20 20 20 20 20 20 6f 75 74 OM. out
10480 70 75 74 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a put directory...
10490 20 20 20 20 20 20 20 20 2a 20 63 6f 6e 66 69 67 * config
104a0 75 72 65 0a 20 20 20 20 20 20 20 20 2a 20 63 6f ure. * co
104b0 6e 66 69 67 75 72 65 2e 69 6e 3a 20 74 64 6f 6d nfigure.in: tdom
104c0 73 74 75 62 5f 42 55 49 4c 44 5f 53 50 45 43 20 stub_BUILD_SPEC
104d0 6d 75 73 74 20 70 6f 69 6e 74 20 74 6f 20 74 68 must point to th
104e0 65 0a 20 20 20 20 20 20 20 20 20 20 70 6c 61 74 e. plat
104f0 74 66 6f 72 6d 20 73 70 65 63 69 66 69 63 20 62 tform specific b
10500 75 69 6c 64 20 64 69 72 2e 0a 0a 20 20 20 20 20 uild dir...
10510 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c * generic/tcl
10520 64 6f 6d 2e 68 3a 20 52 65 6d 6f 76 65 64 20 68 dom.h: Removed h
10530 61 72 64 20 63 6f 64 65 64 20 76 65 72 73 69 6f ard coded versio
10540 6e 20 6e 75 6d 62 65 72 2c 20 75 73 65 73 0a 20 n number, uses.
10550 20 20 20 20 20 20 20 20 20 6e 6f 77 20 56 45 52 now VER
10560 53 49 4f 4e 20 64 65 66 69 6e 65 2e 0a 20 20 20 SION define..
10570 20 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 .
10580 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 * win/makefile.v
10590 63 0a 20 20 20 20 20 20 20 20 2a 20 77 69 6e 2f c. * win/
105a0 6d 61 6b 65 66 69 6c 65 38 30 35 2e 76 63 0a 20 makefile805.vc.
105b0 20 20 20 20 20 20 20 2a 20 77 69 6e 2f 70 6b 67 * win/pkg
105c0 49 6e 64 65 78 2e 74 63 6c 3a 20 55 70 64 61 74 Index.tcl: Updat
105d0 65 64 20 74 6f 20 6e 65 77 20 76 65 72 73 69 6f ed to new versio
105e0 6e 20 30 2e 37 2e 36 2e 0a 0a 20 20 20 20 20 20 n 0.7.6...
105f0 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 * extensions/t
10600 6e 63 2f 74 6e 63 2e 63 0a 20 20 20 20 20 20 20 nc/tnc.c.
10610 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e * extensions/tn
10620 63 2f 74 65 73 74 73 2f 74 6e 63 2e 63 3a 20 41 c/tests/tnc.c: A
10630 64 64 65 64 20 63 6f 64 65 20 6e 65 65 64 65 64 dded code needed
10640 20 74 6f 20 68 61 6e 64 6c 65 0a 20 20 20 20 20 to handle.
10650 20 20 20 20 20 65 66 66 65 63 74 73 20 6f 66 20 effects of
10660 74 68 65 20 2d 75 73 65 46 6f 72 65 69 67 6e 44 the -useForeignD
10670 54 44 20 6f 70 74 69 6f 6e 2e 0a 20 20 20 20 20 TD option..
10680 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 . *
10690 64 6f 63 2f 64 6f 6d 4e 6f 64 65 2e 2a 0a 20 20 doc/domNode.*.
106a0 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
106b0 74 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 tcldom.c.
106c0 20 2a 20 74 65 73 74 73 2f 64 6f 6d 2e 74 65 73 * tests/dom.tes
106d0 74 3a 20 52 65 6e 61 6d 65 64 20 27 73 74 61 72 t: Renamed 'star
106e0 74 42 65 66 6f 72 65 27 20 6d 65 74 68 6f 64 20 tBefore' method
106f0 74 6f 20 74 68 65 20 62 65 74 74 65 72 0a 20 20 to the better.
10700 20 20 20 20 20 20 20 20 6e 61 6d 65 20 27 70 72 name 'pr
10710 65 63 65 64 65 73 27 20 61 6e 64 20 63 68 61 6e ecedes' and chan
10720 67 65 64 20 62 65 68 61 76 69 6f 72 3a 20 74 68 ged behavior: th
10730 65 20 6d 65 74 68 6f 64 20 6e 6f 77 0a 20 20 20 e method now.
10740 20 20 20 20 20 20 20 72 65 74 75 72 6e 73 20 73 returns s
10750 69 6d 70 6c 79 20 61 20 62 6f 6f 6c 65 61 6e 20 imply a boolean
10760 76 61 6c 75 65 2e 0a 0a 32 30 30 33 2d 30 33 2d value...2003-03-
10770 31 39 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 19 Rolf Ade <r
10780 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
10790 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e >.. * gen
107a0 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 20 20 20 eric/tcldom.c
107b0 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 . * gene
107c0 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 20 20 20 ric/domxslt.c
107d0 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 . * gene
107e0 72 69 63 2f 64 6f 6d 2e 68 20 20 20 20 0a 20 20 ric/dom.h .
107f0 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
10800 64 6f 6d 2e 63 3a 20 52 65 70 6c 61 63 65 64 20 dom.c: Replaced
10810 61 20 66 65 77 20 65 78 69 74 28 29 20 63 6f 64 a few exit() cod
10820 65 20 77 69 74 68 20 54 63 6c 5f 50 61 6e 69 63 e with Tcl_Panic
10830 28 29 2c 0a 20 20 20 20 20 20 20 20 20 20 77 68 (),. wh
10840 69 63 68 20 65 6e 73 75 72 65 73 2c 20 74 68 61 ich ensures, tha
10850 74 20 65 76 65 6e 20 77 69 6e 64 6f 77 73 20 75 t even windows u
10860 73 65 72 73 20 67 65 74 20 61 20 75 73 65 66 75 sers get a usefu
10870 6c 20 65 72 72 6f 72 0a 20 20 20 20 20 20 20 20 l error.
10880 20 20 6d 73 67 2e 0a 0a 20 20 20 20 20 20 20 20 msg...
10890 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 3a * generic/dom.c:
108a0 20 46 69 78 65 64 20 61 20 6d 65 6d 20 6c 65 61 Fixed a mem lea
108b0 6b 20 69 6e 20 68 61 6e 64 6c 69 6e 67 20 65 78 k in handling ex
108c0 74 65 72 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 ternal.
108d0 20 65 6e 74 69 74 69 65 73 2e 0a 0a 20 20 20 20 entities...
108e0 20 20 20 20 2a 20 64 6f 63 2f 65 78 70 61 74 2e * doc/expat.
108f0 2a 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f *. * doc/
10900 64 6f 6d 2e 2a 0a 20 20 20 20 20 20 20 20 2a 20 dom.*. *
10910 74 65 73 74 73 2f 64 6f 6d 43 6d 64 2e 74 65 73 tests/domCmd.tes
10920 74 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 t. * test
10930 73 2f 64 61 74 61 2f 64 6f 6d 43 6d 64 31 2e 64 s/data/domCmd1.d
10940 74 64 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 td. * tes
10950 74 73 2f 64 61 74 61 2f 64 6f 6d 43 6d 64 32 2e ts/data/domCmd2.
10960 64 74 64 0a 20 20 20 20 20 20 20 20 2a 20 74 65 dtd. * te
10970 73 74 73 2f 65 6e 74 69 74 79 2e 74 65 73 74 0a sts/entity.test.
10980 20 20 20 20 20 20 20 20 2a 20 6c 69 62 2f 74 64 * lib/td
10990 6f 6d 2e 74 63 6c 20 20 0a 20 20 20 20 20 20 20 om.tcl .
109a0 20 2a 20 74 65 73 74 73 2f 64 6f 6d 43 6d 64 2e * tests/domCmd.
109b0 74 65 73 74 0a 20 20 20 20 20 20 20 20 2a 20 67 test. * g
109c0 65 6e 65 72 69 63 2f 74 63 6c 65 78 70 61 74 2e eneric/tclexpat.
109d0 63 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 c . * ge
109e0 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 20 20 neric/tcldom.c
109f0 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
10a00 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 0a 20 20 20 ic/domxslt.c.
10a10 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
10a20 6f 6d 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 om.h. * g
10a30 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 3a 20 41 64 eneric/dom.c: Ad
10a40 64 65 64 20 6f 70 74 69 6f 6e 20 2d 75 73 65 46 ded option -useF
10a50 6f 72 65 69 67 6e 44 54 44 20 74 6f 20 64 6f 6d oreignDTD to dom
10a60 20 70 61 72 73 65 20 0a 20 20 20 20 20 20 20 20 parse .
10a70 20 20 61 6e 64 20 65 78 70 61 74 2e 0a 0a 20 20 and expat...
10a80 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
10a90 64 6f 6d 78 73 6c 74 2e 63 3a 20 46 69 78 65 64 domxslt.c: Fixed
10aa0 20 73 65 76 65 72 61 6c 20 70 6f 74 65 6e 74 69 several potenti
10ab0 61 6c 20 6d 65 6d 6f 72 79 20 6c 65 61 6b 73 0a al memory leaks.
10ac0 20 20 20 20 20 20 20 20 20 20 77 68 69 6c 65 20 while
10ad0 70 72 6f 63 65 73 73 69 6e 67 20 65 72 72 6f 6e processing erron
10ae0 65 6f 75 73 20 73 74 79 6c 65 73 68 65 65 74 73 eous stylesheets
10af0 2e 20 42 75 67 20 66 69 78 3a 20 61 64 64 65 64 . Bug fix: added
10b00 0a 20 20 20 20 20 20 20 20 20 20 6d 69 73 73 69 . missi
10b10 6e 67 20 6d 65 6d 6f 72 79 20 63 6c 65 61 6e 20 ng memory clean
10b20 74 6f 20 67 72 6f 75 70 69 6e 67 2d 73 65 70 61 to grouping-sepa
10b30 72 61 74 6f 72 2f 67 72 6f 75 70 69 6e 67 2d 73 rator/grouping-s
10b40 69 7a 65 0a 20 20 20 20 20 20 20 20 20 20 73 75 ize. su
10b50 70 70 6f 72 74 2e 0a 0a 20 20 20 20 20 20 20 20 pport...
10b60 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d * generic/tcldom
10b70 2e 63 3a 20 46 69 78 65 64 20 70 6f 74 65 6e 74 .c: Fixed potent
10b80 69 61 6c 20 6d 65 6d 6f 72 79 20 70 72 6f 62 6c ial memory probl
10b90 65 6d 20 77 68 69 6c 65 0a 20 20 20 20 20 20 20 em while.
10ba0 20 20 20 70 72 6f 63 65 73 73 69 6e 67 20 65 72 processing er
10bb0 72 6f 6e 65 6f 75 73 20 73 74 79 6c 65 73 68 65 roneous styleshe
10bc0 65 74 2e 20 49 6d 70 72 6f 76 65 64 20 65 72 72 et. Improved err
10bd0 6f 72 20 6d 73 67 20 69 6e 0a 20 20 20 20 20 20 or msg in.
10be0 20 20 20 20 63 61 73 65 20 6f 66 20 73 63 72 69 case of scri
10bf0 70 74 20 65 72 72 6f 72 73 20 69 6e 20 74 68 65 pt errors in the
10c00 20 2d 65 78 74 65 72 6e 61 6c 65 6e 74 69 74 79 -externalentity
10c10 63 6f 6d 6d 61 6e 64 0a 20 20 20 20 20 20 20 20 command.
10c20 20 20 73 63 72 69 70 74 2e 0a 0a 20 20 20 20 20 script...
10c30 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 4e 6f 64 65 * doc/domNode
10c40 2e 2a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 .*. * tes
10c50 74 73 2f 64 6f 6d 2e 74 65 73 74 0a 20 20 20 20 ts/dom.test.
10c60 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 * generic/tc
10c70 6c 64 6f 6d 2e 63 3a 20 41 64 64 65 64 20 6d 65 ldom.c: Added me
10c80 74 68 6f 64 20 27 73 74 61 72 74 42 65 66 6f 72 thod 'startBefor
10c90 65 27 2c 20 74 6f 20 63 6f 6d 70 61 72 65 20 74 e', to compare t
10ca0 68 65 0a 20 20 20 20 20 20 20 20 20 20 72 65 6c he. rel
10cb0 61 74 69 76 65 20 6f 72 64 65 72 20 6f 66 20 74 ative order of t
10cc0 77 6f 20 6e 6f 64 65 73 20 6f 75 74 20 6f 66 20 wo nodes out of
10cd0 74 68 65 20 73 61 6d 65 20 64 6f 63 75 6d 65 6e the same documen
10ce0 74 2e 0a 20 20 0a 20 20 20 20 20 20 20 20 2a 20 t.. . *
10cf0 67 65 6e 65 72 69 63 2f 6e 6f 64 65 63 6d 64 2e generic/nodecmd.
10d00 63 3a 20 41 64 64 65 64 20 65 78 70 6c 69 63 69 c: Added explici
10d10 74 20 6d 65 6d 6f 72 79 20 63 6c 65 61 6e 20 75 t memory clean u
10d20 70 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 p of the.
10d30 20 20 20 6e 6f 64 65 63 6d 64 20 73 74 61 63 6b nodecmd stack
10d40 2c 20 74 6f 20 72 65 64 75 63 65 20 27 6e 6f 69 , to reduce 'noi
10d50 63 65 27 20 77 68 69 6c 65 20 6d 65 6d 6f 72 79 ce' while memory
10d60 20 6c 65 61 6b 0a 20 20 20 20 20 20 20 20 20 20 leak.
10d70 64 65 62 75 67 67 69 6e 67 2e 0a 0a 20 20 20 20 debugging...
10d80 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 2e * tests/dom.
10d90 74 65 73 74 3a 20 41 64 64 65 64 20 61 20 72 65 test: Added a re
10da0 6d 69 6e 64 65 72 20 66 6f 72 20 61 20 6d 69 6e minder for a min
10db0 6f 72 20 6b 6e 6f 77 6e 20 6d 65 6d 6f 72 79 0a or known memory.
10dc0 20 20 20 20 20 20 20 20 20 20 70 72 6f 62 6c 65 proble
10dd0 6d 2e 20 20 0a 0a 20 20 20 20 20 20 20 20 2a 20 m. .. *
10de0 74 65 73 74 73 2f 64 61 74 61 2f 6d 6f 6e 64 69 tests/data/mondi
10df0 61 6c 2d 65 75 72 6f 70 65 2e 78 6d 6c 3a 20 41 al-europe.xml: A
10e00 64 64 65 64 20 74 68 69 73 20 66 69 6c 65 20 28 dded this file (
10e10 75 73 65 64 20 62 79 20 74 68 65 0a 20 20 20 20 used by the.
10e20 20 20 20 20 20 20 75 73 61 67 65 20 65 78 61 6d usage exam
10e30 70 6c 65 20 6f 66 20 78 65 29 2e 0a 20 20 20 20 ple of xe)..
10e40 20 20 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a . *
10e50 20 78 65 2f 78 65 2d 69 6e 70 75 74 3a 20 43 68 xe/xe-input: Ch
10e60 61 6e 67 65 64 20 70 61 74 68 65 73 20 74 6f 20 anged pathes to
10e70 70 6f 69 6e 74 20 74 6f 20 74 68 65 20 6c 6f 63 point to the loc
10e80 61 74 69 6f 6e 20 6f 66 0a 20 20 20 20 20 20 20 ation of.
10e90 20 20 20 6d 6f 6e 64 69 61 6c 2d 65 75 72 6f 70 mondial-europ
10ea0 65 2e 78 6d 6c 2e 0a 20 20 0a 32 30 30 33 2d 30 e.xml.. .2003-0
10eb0 33 2d 31 39 20 20 5a 6f 72 61 6e 20 56 61 73 69 3-19 Zoran Vasi
10ec0 6c 6a 65 76 69 63 20 20 3c 7a 6f 72 61 6e 40 61 ljevic <zoran@a
10ed0 72 63 68 69 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 rchiware.com>...
10ee0 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 69 * Makefile.in: i
10ef0 6e 73 74 61 6c 6c 73 20 74 68 65 20 74 64 6f 6d nstalls the tdom
10f00 43 6f 6e 66 69 67 2e 73 68 20 69 6e 74 6f 20 74 Config.sh into t
10f10 68 65 0a 09 20 20 24 28 6c 69 62 64 69 72 29 20 he.. $(libdir)
10f20 77 68 61 74 65 76 65 72 20 74 68 61 74 20 70 6f whatever that po
10f30 69 6e 74 73 20 74 6f 2e 0a 0a 32 30 30 33 2d 30 ints to...2003-0
10f40 33 2d 30 38 20 20 5a 6f 72 61 6e 20 56 61 73 69 3-08 Zoran Vasi
10f50 6c 6a 65 76 69 63 20 20 3c 7a 6f 72 61 6e 40 61 ljevic <zoran@a
10f60 72 63 68 69 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 rchiware.com>...
10f70 2a 20 65 78 70 74 2f 69 6e 74 65 72 6e 61 6c 2e * expt/internal.
10f80 68 3a 20 64 69 73 61 62 6c 65 64 20 46 41 53 54 h: disabled FAST
10f90 43 41 4c 4c 20 26 20 66 72 69 65 6e 64 73 0a 09 CALL & friends..
10fa0 20 20 73 69 6e 63 65 20 74 68 6f 73 65 20 64 6f since those do
10fb0 20 6e 6f 74 20 77 6f 72 6b 20 61 6e 79 77 68 65 not work anywhe
10fc0 72 65 2c 20 61 73 20 6f 66 20 6d 79 20 6b 6e 6f re, as of my kno
10fd0 77 6c 65 64 67 65 2e 0a 0a 32 30 30 33 2d 30 33 wledge...2003-03
10fe0 2d 30 36 20 20 5a 6f 72 61 6e 20 56 61 73 69 6c -06 Zoran Vasil
10ff0 6a 65 76 69 63 20 20 3c 7a 6f 72 61 6e 40 61 72 jevic <zoran@ar
11000 63 68 69 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 2a chiware.com>...*
11010 20 67 65 6e 65 72 69 63 2f 64 6f 6d 61 6c 6c 6f generic/domallo
11020 63 2e 63 3a 20 72 65 6d 6f 76 65 64 20 69 6e 63 c.c: removed inc
11030 6c 75 64 65 20 6d 61 6c 6c 6f 63 2e 68 20 73 69 lude malloc.h si
11040 6e 63 65 20 0a 09 20 20 6e 6f 74 20 6e 65 65 64 nce .. not need
11050 65 64 20 6e 6f 72 20 6e 6f 74 20 66 6f 75 6e 64 ed nor not found
11060 20 6f 6e 20 6d 61 63 6f 73 78 0a 0a 09 2a 20 63 on macosx...* c
11070 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 20 61 64 64 onfigure.in: add
11080 73 20 22 2d 6c 6d 22 20 65 76 65 6e 20 77 68 65 s "-lm" even whe
11090 6e 20 6c 69 6e 6b 69 6e 67 20 74 68 65 20 73 68 n linking the sh
110a0 61 72 65 64 20 69 6d 61 67 65 0a 09 20 20 73 69 ared image.. si
110b0 6e 63 65 20 53 74 61 72 6b 69 74 20 75 73 65 72 nce Starkit user
110c0 73 20 6e 65 65 64 20 74 68 61 74 2e 20 41 6c 73 s need that. Als
110d0 6f 2c 20 66 69 78 65 64 20 61 6c 74 65 72 6e 61 o, fixed alterna
110e0 74 69 76 65 20 6c 69 62 64 69 72 0a 09 20 20 75 tive libdir.. u
110f0 73 61 67 65 20 77 68 65 6e 20 69 6e 73 74 61 6c sage when instal
11100 6c 69 6e 67 20 69 6e 20 6e 6f 6e 2d 73 74 61 6e ling in non-stan
11110 64 61 72 64 20 28 75 73 65 72 2d 67 69 76 65 6e dard (user-given
11120 29 20 6c 6f 63 61 74 69 6f 6e 2e 0a 0a 09 2a 20 ) location....*
11130 75 6e 69 78 2f 43 4f 4e 46 49 47 3a 20 6e 65 77 unix/CONFIG: new
11140 20 66 69 6c 65 2e 20 41 64 64 73 20 73 6f 6d 65 file. Adds some
11150 20 65 78 61 6d 70 6c 65 73 20 68 6f 77 20 74 6f examples how to
11160 20 62 75 69 6c 64 0a 09 20 20 74 68 65 20 65 78 build.. the ex
11170 74 65 6e 73 69 6f 6e 20 6f 6e 20 73 6f 6d 65 20 tension on some
11180 63 6f 6d 6d 6f 6e 20 55 6e 69 78 20 70 6c 61 74 common Unix plat
11190 66 6f 72 6d 73 2e 0a 0a 09 2a 20 6d 61 63 3a 20 forms....* mac:
111a0 61 64 64 65 64 20 42 65 72 6e 61 72 64 73 20 43 added Bernards C
111b0 6f 64 65 57 61 72 72 69 6f 72 20 66 69 6c 65 73 odeWarrior files
111c0 20 66 6f 72 20 4d 61 63 20 62 75 69 6c 64 73 2e for Mac builds.
111d0 0a 09 2a 20 6d 61 63 6f 73 78 3a 20 61 64 64 65 ..* macosx: adde
111e0 64 20 64 69 72 65 63 74 6f 72 79 20 77 68 65 72 d directory wher
111f0 65 20 77 65 20 77 69 6c 6c 20 73 75 70 70 6c 79 e we will supply
11200 20 74 68 65 20 50 72 6f 6a 65 63 74 42 75 69 6c the ProjectBuil
11210 64 65 72 0a 09 20 20 66 69 6c 65 73 20 28 68 6f der.. files (ho
11220 70 65 66 75 6c 6c 79 20 3a 29 0a 0a 32 30 30 33 pefully :)..2003
11230 2d 30 33 2d 30 33 20 20 52 6f 6c 66 20 41 64 65 -03-03 Rolf Ade
11240 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
11250 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
11260 20 74 65 73 74 73 2f 64 6f 6d 2e 74 65 73 74 20 tests/dom.test
11270 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 . * ge
11280 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 neric/tcldom.c:
11290 46 69 78 65 64 20 62 75 67 20 77 69 74 68 20 75 Fixed bug with u
112a0 73 69 6e 67 20 74 68 65 20 27 64 6f 6d 4e 6f 64 sing the 'domNod
112b0 65 27 20 63 6d 64 0a 20 20 20 20 20 20 20 20 20 e' cmd.
112c0 20 77 69 74 68 6f 75 74 20 61 72 67 75 6d 65 6e without argumen
112d0 74 20 28 73 70 6f 74 74 65 64 20 62 79 20 42 65 t (spotted by Be
112e0 72 6e 61 72 64 20 44 65 73 67 72 61 75 70 65 73 rnard Desgraupes
112f0 29 2e 0a 0a 32 30 30 33 2d 30 32 2d 32 37 20 20 )...2003-02-27
11300 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 Rolf Ade <rolf@
11310 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 pointsman.de>..
11320 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
11330 2f 64 6f 6d 78 73 6c 74 2e 63 3a 20 78 73 6c 3a /domxslt.c: xsl:
11340 6e 75 6d 62 65 72 20 61 74 74 72 69 62 75 74 65 number attribute
11350 73 20 67 72 6f 75 70 69 6e 67 2d 73 65 70 61 72 s grouping-separ
11360 61 74 6f 72 0a 20 20 20 20 20 20 20 20 20 20 61 ator. a
11370 6e 64 20 67 72 6f 75 70 69 6e 67 2d 73 69 7a 65 nd grouping-size
11380 20 6e 6f 77 20 61 6c 73 6f 20 69 6e 74 65 72 70 now also interp
11390 72 65 74 65 64 20 61 73 20 61 74 74 72 69 62 75 reted as attribu
113a0 74 65 20 76 61 6c 75 65 0a 20 20 20 20 20 20 20 te value.
113b0 20 20 20 74 65 6d 70 6c 61 74 65 73 2e 20 28 54 templates. (T
113c0 68 65 20 6c 61 73 74 20 74 77 6f 20 28 6d 69 73 he last two (mis
113d0 73 69 6e 67 20 75 70 20 74 6f 20 6e 6f 77 20 6f sing up to now o
113e0 6e 6c 79 20 62 79 20 6d 69 73 74 61 6b 65 29 0a nly by mistake).
113f0 20 20 20 20 20 20 20 20 20 20 61 74 74 72 69 62 attrib
11400 75 74 65 20 76 61 6c 75 65 20 74 65 6d 70 6c 61 ute value templa
11410 74 65 73 20 75 6e 64 65 72 20 74 68 65 20 72 65 tes under the re
11420 63 6f 67 6e 69 7a 65 64 20 78 73 6c 0a 20 20 20 cognized xsl.
11430 20 20 20 20 20 20 20 61 74 74 72 69 62 75 74 65 attribute
11440 73 2e 29 20 0a 0a 32 30 30 33 2d 30 32 2d 32 36 s.) ..2003-02-26
11450 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c Rolf Ade <rol
11460 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a f@pointsman.de>.
11470 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
11480 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 52 65 6d ic/tcldom.c: Rem
11490 6f 76 65 64 20 75 6e 75 73 65 64 20 76 61 72 69 oved unused vari
114a0 61 62 6c 65 73 2e 0a 0a 20 20 20 20 20 20 20 20 ables...
114b0 2a 20 6c 69 62 2f 74 64 6f 6d 2e 74 63 6c 0a 20 * lib/tdom.tcl.
114c0 20 20 20 20 20 20 20 20 20 67 65 6e 65 72 69 63 generic
114d0 2f 64 6f 6d 2e 63 3a 20 49 6d 70 72 6f 76 65 64 /dom.c: Improved
114e0 20 3a 3a 74 44 4f 4d 3a 3a 78 6d 6c 28 52 65 61 ::tDOM::xml(Rea
114f0 64 7c 4f 70 65 6e 29 46 69 6c 65 2e 20 4e 6f 77 d|Open)File. Now
11500 0a 20 20 20 20 20 20 20 20 20 20 68 61 6e 64 6c . handl
11510 65 73 20 61 6c 73 6f 20 75 74 66 2d 31 36 20 66 es also utf-16 f
11520 69 6c 65 73 20 77 69 74 68 20 42 4f 4d 20 72 69 iles with BOM ri
11530 67 68 74 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 ght... *
11540 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e generic/domxslt.
11550 63 3a 20 4d 61 64 65 20 73 6f 6d 65 20 66 75 6e c: Made some fun
11560 63 74 69 6f 6e 73 20 73 74 61 74 69 63 2e 20 52 ctions static. R
11570 65 6d 6f 76 65 64 20 61 0a 20 20 20 20 20 20 20 emoved a.
11580 20 20 20 54 4f 44 4f 20 6e 6f 74 65 2c 20 77 68 TODO note, wh
11590 69 63 68 20 61 6c 72 65 61 64 79 20 77 61 73 20 ich already was
115a0 64 6f 6e 65 2e 20 49 6d 70 72 6f 76 65 64 20 73 done. Improved s
115b0 6f 6d 65 20 65 72 72 6f 72 20 6d 73 67 73 0a 20 ome error msgs.
115c0 20 20 20 20 20 20 20 20 20 28 6e 6f 77 20 77 69 (now wi
115d0 74 68 20 6c 69 6e 65 2f 63 6f 6c 75 6d 6e 20 69 th line/column i
115e0 6e 66 6f 2c 20 69 66 20 61 76 61 69 6c 61 62 6c nfo, if availabl
115f0 65 29 2e 20 42 75 67 20 66 69 78 3a 0a 20 20 20 e). Bug fix:.
11600 20 20 20 20 20 20 20 78 73 6c 74 58 50 61 74 68 xsltXPath
11610 46 75 6e 63 73 20 6d 75 73 74 20 72 65 74 75 72 Funcs must retur
11620 6e 20 2d 31 20 74 6f 20 73 69 67 6e 61 6c 20 65 n -1 to signal e
11630 72 72 6f 72 2c 20 62 65 63 61 75 73 65 20 69 66 rror, because if
11640 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 73 . the s
11650 6f 75 72 63 65 20 6f 66 20 74 68 65 20 66 75 6e ource of the fun
11660 63 74 69 6f 6e 20 63 61 6c 6c 20 77 61 73 20 69 ction call was i
11670 6e 73 69 64 65 20 6f 66 20 64 6f 6d 78 73 6c 74 nside of domxslt
11680 2e 63 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 .c the.
11690 20 72 65 73 75 6c 74 20 63 6f 64 65 20 28 72 63 result code (rc
116a0 29 20 63 68 65 63 6b 20 72 75 6c 65 20 69 73 20 ) check rule is
116b0 72 63 20 3c 20 30 2e 20 46 69 78 65 64 20 74 65 rc < 0. Fixed te
116c0 78 74 20 69 6e 20 61 0a 20 20 20 20 20 20 20 20 xt in a.
116d0 20 20 78 73 6c 3a 61 74 74 72 69 62 75 74 65 20 xsl:attribute
116e0 65 72 72 6f 72 20 6d 73 67 2e 20 46 69 78 65 64 error msg. Fixed
116f0 20 6d 65 6d 6f 72 79 20 6c 65 61 6b 20 69 6e 20 memory leak in
11700 65 72 72 6f 72 20 63 61 73 65 20 69 6e 0a 20 20 error case in.
11710 20 20 20 20 20 20 20 20 45 78 65 63 41 63 74 69 ExecActi
11720 6f 6e 2c 20 63 61 73 65 20 66 6f 72 45 61 63 68 on, case forEach
11730 2e 20 41 64 64 65 64 20 61 20 6d 69 73 73 69 6e . Added a missin
11740 67 20 72 65 73 75 6c 74 20 63 6f 64 65 20 63 68 g result code ch
11750 65 63 6b 0a 20 20 20 20 20 20 20 20 20 20 69 6e eck. in
11760 20 45 78 65 63 41 63 74 69 6f 6e 2c 20 63 61 73 ExecAction, cas
11770 65 20 70 72 6f 63 69 6e 73 74 72 2e 20 42 75 67 e procinstr. Bug
11780 20 66 69 78 3a 20 45 76 65 6e 20 6c 69 74 65 72 fix: Even liter
11790 61 6c 20 72 65 73 75 6c 74 0a 20 20 20 20 20 20 al result.
117a0 20 20 20 20 65 6c 65 6d 65 6e 74 20 73 75 62 74 element subt
117b0 72 65 65 73 20 61 72 65 20 72 65 6c 65 76 61 6e rees are relevan
117c0 74 20 66 6f 72 20 78 73 6c 74 20 76 61 72 69 61 t for xslt varia
117d0 62 6c 65 20 73 63 6f 70 65 0a 20 20 20 20 20 20 ble scope.
117e0 20 20 20 20 28 64 65 66 61 75 6c 74 20 63 61 73 (default cas
117f0 65 20 6f 66 20 45 78 65 63 41 63 74 69 6f 6e 29 e of ExecAction)
11800 2e 20 42 75 67 20 66 69 78 3a 20 74 68 65 20 65 . Bug fix: the e
11810 78 70 72 65 73 73 69 6f 6e 0a 20 20 20 20 20 20 xpression.
11820 20 20 20 20 63 6f 6e 74 65 78 74 20 6f 66 20 74 context of t
11830 68 65 20 6d 61 74 63 68 20 65 78 70 72 20 6f 66 he match expr of
11840 20 61 20 78 73 6c 3a 74 65 6d 70 6c 61 74 65 20 a xsl:template
11850 69 73 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 is the.
11860 20 78 73 6c 3a 74 65 6d 70 6c 61 74 65 20 6e 6f xsl:template no
11870 64 65 2e 20 4e 6f 77 20 74 68 65 20 78 73 6c 74 de. Now the xslt
11880 20 77 68 69 74 65 20 73 70 61 63 65 20 73 74 72 white space str
11890 69 70 70 69 6e 67 20 69 73 0a 20 20 20 20 20 20 ipping is.
118a0 20 20 20 20 64 6f 6e 65 20 62 65 66 6f 72 65 20 done before
118b0 74 68 65 20 74 6f 70 20 6c 65 76 65 6c 20 70 72 the top level pr
118c0 6f 63 65 73 73 69 6e 67 20 28 77 61 73 20 64 6f ocessing (was do
118d0 6e 65 20 61 66 74 65 72 0a 20 20 20 20 20 20 20 ne after.
118e0 20 20 20 74 6f 70 6c 65 76 65 6c 20 70 72 6f 63 toplevel proc
118f0 65 73 73 69 6e 67 29 2e 0a 20 20 20 20 0a 32 30 essing).. .20
11900 30 33 2d 30 32 2d 32 35 20 20 52 6f 6c 66 20 41 03-02-25 Rolf A
11910 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 de <rolf@points
11920 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 man.de>..
11930 20 2a 20 65 78 70 61 74 2f 56 45 52 53 49 4f 4e * expat/VERSION
11940 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 65 . * e
11950 78 70 61 74 2f 69 6e 74 65 72 6e 61 6c 2e 68 3a xpat/internal.h:
11960 20 41 70 70 6c 69 65 64 20 70 6f 73 74 20 31 2e Applied post 1.
11970 39 35 2e 36 20 70 61 74 63 68 2c 20 74 6f 20 66 95.6 patch, to f
11980 69 78 20 63 6f 6d 70 69 6c 65 72 0a 20 20 20 20 ix compiler.
11990 20 20 20 20 20 20 77 61 72 6e 69 6e 67 73 20 28 warnings (
119a0 22 77 61 72 6e 69 6e 67 3a 20 60 72 65 67 70 61 "warning: `regpa
119b0 72 6d 27 20 61 74 74 72 69 62 75 74 65 20 64 69 rm' attribute di
119c0 72 65 63 74 69 76 65 20 69 67 6e 6f 72 65 64 22 rective ignored"
119d0 29 0a 20 20 20 20 20 20 20 20 20 20 66 72 6f 6d ). from
119e0 20 67 63 63 20 6f 6e 20 53 6f 6c 61 72 69 73 2e gcc on Solaris.
119f0 0a 0a 32 30 30 33 2d 30 32 2d 32 32 20 20 52 6f ..2003-02-22 Ro
11a00 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
11a10 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
11a20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 * generic/t
11a30 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 cldom.c.
11a40 2a 20 67 65 6e 65 72 69 63 2f 74 64 6f 6d 2e 64 * generic/tdom.d
11a50 65 63 6c 73 0a 20 20 20 20 20 20 20 20 2a 20 67 ecls. * g
11a60 65 6e 65 72 69 63 2f 74 64 6f 6d 2e 68 0a 20 20 eneric/tdom.h.
11a70 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
11a80 74 64 6f 6d 44 65 63 6c 73 2e 68 0a 20 20 20 20 tdomDecls.h.
11a90 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 64 * generic/td
11aa0 6f 6d 53 74 75 62 49 6e 69 74 2e 63 3a 20 41 64 omStubInit.c: Ad
11ab0 64 65 64 20 74 63 6c 64 6f 6d 5f 67 65 74 4e 6f ded tcldom_getNo
11ac0 64 65 46 72 6f 6d 4e 61 6d 65 28 29 2c 0a 20 20 deFromName(),.
11ad0 20 20 20 20 20 20 20 20 74 63 6c 64 6f 6d 5f 67 tcldom_g
11ae0 65 74 44 6f 63 75 6d 65 6e 74 46 72 6f 6d 4e 61 etDocumentFromNa
11af0 6d 65 28 29 20 61 6e 64 20 74 68 65 20 64 6f 6d me() and the dom
11b00 2e 68 20 74 79 70 64 65 66 73 20 74 6f 20 74 68 .h typdefs to th
11b10 65 0a 20 20 20 20 20 20 20 20 20 20 74 44 4f 4d e. tDOM
11b20 20 73 74 75 62 73 20 74 61 62 6c 65 2e 20 4e 65 stubs table. Ne
11b30 65 64 65 64 20 66 6f 72 20 74 68 65 20 6e 65 77 eded for the new
11b40 20 74 6e 63 20 66 65 61 74 75 72 65 20 28 61 6e tnc feature (an
11b50 64 0a 20 20 20 20 20 20 20 20 20 20 65 6c 73 65 d. else
11b60 77 68 65 72 65 2c 20 6f 6e 20 74 68 65 20 6c 6f where, on the lo
11b70 6e 67 20 72 75 6e 29 2e 0a 0a 20 20 20 20 20 20 ng run)...
11b80 20 20 2a 20 64 6f 63 2f 74 6e 63 2e 2a 20 20 0a * doc/tnc.* .
11b90 20 20 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 * extens
11ba0 69 6f 6e 73 2f 74 6e 63 2f 63 6f 6e 66 69 67 75 ions/tnc/configu
11bb0 72 65 0a 20 20 20 20 20 20 20 20 2a 20 65 78 74 re. * ext
11bc0 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f 63 6f 6e 66 ensions/tnc/conf
11bd0 69 67 75 72 65 2e 69 6e 0a 20 20 20 20 20 20 20 igure.in.
11be0 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 6e * extensions/tn
11bf0 63 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 0a 20 20 c/makefile.vc.
11c00 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f * extensio
11c10 6e 73 2f 74 6e 63 2f 74 65 73 74 2e 74 63 6c 0a ns/tnc/test.tcl.
11c20 20 20 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 * extens
11c30 69 6f 6e 73 2f 74 6e 63 2f 74 6e 63 2e 63 3a 20 ions/tnc/tnc.c:
11c40 41 64 64 65 64 20 6e 65 77 20 74 6e 63 20 6d 65 Added new tnc me
11c50 74 68 6f 64 20 67 65 74 56 61 6c 69 64 61 74 65 thod getValidate
11c60 43 6d 64 2e 0a 20 20 20 20 20 20 20 20 20 20 43 Cmd.. C
11c70 68 61 6e 67 65 64 20 74 6f 20 75 73 65 20 74 68 hanged to use th
11c80 65 20 73 61 6d 65 20 6d 65 6d 6f 72 79 20 61 6c e same memory al
11c90 6c 6f 63 61 74 6f 72 2f 66 72 65 65 20 64 65 66 locator/free def
11ca0 69 6e 65 73 20 61 73 0a 20 20 20 20 20 20 20 20 ines as.
11cb0 20 20 74 68 65 20 74 44 4f 4d 20 63 6f 72 65 2e the tDOM core.
11cc0 20 42 75 6d 70 65 64 20 74 68 65 20 76 65 72 73 Bumped the vers
11cd0 69 6f 6e 20 74 6f 20 30 2e 33 2e 0a 20 20 0a 20 ion to 0.3.. .
11ce0 20 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 * extensi
11cf0 6f 6e 73 2f 74 6e 63 2f 74 65 73 74 73 0a 20 20 ons/tnc/tests.
11d00 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 69 6f * extensio
11d10 6e 73 2f 74 6e 63 2f 74 65 73 74 73 2f 61 6c 6c ns/tnc/tests/all
11d20 2e 74 63 6c 0a 20 20 20 20 20 20 20 20 2a 20 65 .tcl. * e
11d30 78 74 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f 74 65 xtensions/tnc/te
11d40 73 74 73 2f 6c 6f 61 64 74 6e 63 2e 74 63 6c 0a sts/loadtnc.tcl.
11d50 20 20 20 20 20 20 20 20 20 20 65 78 74 65 6e 73 extens
11d60 69 6f 6e 73 2f 74 6e 63 2f 74 65 73 74 73 2f 74 ions/tnc/tests/t
11d70 6e 63 2e 74 65 73 74 3a 20 53 74 61 72 74 65 64 nc.test: Started
11d80 20 74 65 73 74 20 73 75 69 74 65 20 66 6f 72 20 test suite for
11d90 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 74 63 the. tc
11da0 6c 20 69 6e 74 65 72 66 61 63 65 20 6f 66 20 74 l interface of t
11db0 68 65 20 74 6e 63 20 63 6f 6d 6d 61 6e 64 20 61 he tnc command a
11dc0 6e 64 20 74 68 65 20 76 61 6c 69 64 61 74 6f 72 nd the validator
11dd0 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 . comma
11de0 6e 64 73 2e 20 0a 20 20 20 20 20 20 20 20 0a 20 nds. . .
11df0 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
11e00 2f 74 63 6c 65 78 70 61 74 2e 63 3a 20 42 65 74 /tclexpat.c: Bet
11e10 74 65 72 20 65 43 6f 6e 74 65 6e 74 73 20 63 6c ter eContents cl
11e20 65 61 6e 75 70 2e 20 42 75 67 20 66 69 78 3a 20 eanup. Bug fix:
11e30 6f 66 0a 20 20 20 20 20 20 20 20 20 20 63 6f 75 of. cou
11e40 72 73 65 20 77 65 20 68 61 76 65 20 74 6f 20 63 rse we have to c
11e50 61 6c 6c 20 74 68 65 20 70 61 72 73 65 72 52 65 all the parserRe
11e60 73 65 74 50 72 6f 63 73 20 6f 66 20 74 68 65 0a setProcs of the.
11e70 20 20 20 20 20 20 20 20 20 20 72 65 67 69 73 74 regist
11e80 65 72 65 64 20 43 20 68 61 6e 64 6c 65 72 20 73 ered C handler s
11e90 65 74 73 20 77 68 69 6c 65 20 72 65 73 65 74 69 ets while reseti
11ea0 6e 67 20 74 68 65 20 65 78 70 61 74 20 70 61 72 ng the expat par
11eb0 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 63 6f ser. co
11ec0 6d 6d 61 6e 64 2e 0a 0a 20 20 20 20 20 20 20 20 mmand...
11ed0 2a 20 6c 69 62 2f 74 64 6f 6d 2e 74 63 6c 3a 20 * lib/tdom.tcl:
11ee0 53 6d 61 6c 6c 65 72 20 66 69 78 65 73 2e 20 43 Smaller fixes. C
11ef0 68 61 6e 67 65 64 20 74 68 65 20 76 61 6c 75 65 hanged the value
11f00 73 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 s of the.
11f10 20 20 20 73 79 73 74 65 6d 2d 70 72 6f 70 65 72 system-proper
11f20 74 69 65 73 20 78 73 6c 3a 76 65 6e 64 6f 72 20 ties xsl:vendor
11f30 28 69 6e 63 6c 75 64 65 64 20 6d 65 29 20 61 6e (included me) an
11f40 64 0a 20 20 20 20 20 20 20 20 20 20 78 73 6c 3a d. xsl:
11f50 76 65 6e 64 6f 72 2d 75 72 6c 20 28 74 6f 20 68 vendor-url (to h
11f60 74 74 70 3a 2f 2f 77 77 77 2e 74 64 6f 6d 2e 6f ttp://www.tdom.o
11f70 72 67 29 2e 0a 20 20 0a 32 30 30 33 2d 30 32 2d rg).. .2003-02-
11f80 32 32 20 20 5a 6f 72 61 6e 20 56 61 73 69 6c 6a 22 Zoran Vasilj
11f90 65 76 69 63 20 20 3c 7a 6f 72 61 6e 40 61 72 63 evic <zoran@arc
11fa0 68 69 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 hiware.com>...*
11fb0 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 3a 20 41 generic/dom.h: A
11fc0 64 64 65 64 20 28 63 68 61 72 2a 29 20 63 61 73 dded (char*) cas
11fd0 74 20 74 6f 20 61 72 67 75 6d 65 6e 74 20 6f 66 t to argument of
11fe0 20 54 63 6c 5f 46 72 65 65 0a 09 20 20 69 6e 20 Tcl_Free.. in
11ff0 74 68 65 20 46 52 45 45 20 6d 61 63 72 6f 2e 20 the FREE macro.
12000 54 68 69 73 20 61 76 6f 69 64 73 20 73 6f 6d 65 This avoids some
12010 20 63 6f 6d 70 69 6c 65 72 20 77 61 72 6e 69 6e compiler warnin
12020 67 73 2e 0a 09 2a 20 67 65 6e 65 72 69 63 2f 64 gs...* generic/d
12030 6f 6d 2e 63 3a 20 41 64 64 65 64 20 73 6f 6d 65 om.c: Added some
12040 20 74 79 70 65 63 61 73 74 73 20 74 6f 20 4d 41 typecasts to MA
12050 4c 4c 4f 43 20 74 6f 20 61 76 6f 69 64 0a 09 20 LLOC to avoid..
12060 20 63 6f 6d 70 69 6c 65 72 20 77 61 72 6e 69 6e compiler warnin
12070 67 73 2e 0a 0a 32 30 30 33 2d 30 32 2d 32 31 20 gs...2003-02-21
12080 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
12090 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
120a0 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
120b0 63 2f 64 6f 6d 78 73 6c 74 2e 63 3a 20 42 75 67 c/domxslt.c: Bug
120c0 20 66 69 78 65 73 3a 20 52 65 74 75 72 6e 20 61 fixes: Return a
120d0 66 74 65 72 20 64 65 74 65 63 74 69 6e 67 20 74 fter detecting t
120e0 68 65 0a 20 20 20 20 20 20 20 20 20 20 65 72 72 he. err
120f0 6f 72 20 28 78 73 6c 74 50 61 74 68 46 75 6e 63 or (xsltPathFunc
12100 73 29 2c 20 65 6e 73 75 72 65 20 74 68 61 74 20 s), ensure that
12110 73 61 76 65 64 4c 61 73 74 4e 6f 64 65 20 69 73 savedLastNode is
12120 20 61 6c 77 61 79 73 0a 20 20 20 20 20 20 20 20 always.
12130 20 20 73 65 74 20 72 69 67 68 74 20 28 45 78 65 set right (Exe
12140 63 41 63 74 69 6f 6e 2c 20 63 61 73 65 20 63 6f cAction, case co
12150 70 79 29 2e 20 45 64 69 74 6f 72 69 61 6c 20 63 py). Editorial c
12160 68 61 6e 67 65 73 2e 0a 0a 20 20 20 20 20 20 20 hanges...
12170 20 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 0a * configure.in.
12180 20 20 20 20 20 20 20 20 2a 20 4d 61 6b 65 66 69 * Makefi
12190 6c 65 2e 69 6e 0a 20 20 20 20 20 20 20 20 2a 20 le.in. *
121a0 63 6f 6e 66 69 67 75 72 65 0a 20 20 20 20 20 20 configure.
121b0 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 2d 74 63 * configure-tc
121c0 6c 38 2e 30 2e 35 3a 20 44 6f 6e 27 74 20 72 65 l8.0.5: Don't re
121d0 6d 6f 76 65 20 74 64 6f 6d 43 6f 6e 66 69 67 2e move tdomConfig.
121e0 73 68 20 77 69 74 68 20 61 20 27 6d 61 6b 65 0a sh with a 'make.
121f0 20 20 20 20 20 20 20 20 20 20 63 6c 65 61 6e 27 clean'
12200 2c 20 6f 6e 6c 79 20 77 69 74 68 20 61 20 27 6d , only with a 'm
12210 61 6b 65 20 64 69 73 74 63 6c 65 61 6e 27 2e 0a ake distclean'..
12220 20 20 20 20 0a 32 30 30 33 2d 30 32 2d 30 39 20 .2003-02-09
12230 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 Rolf Ade <rolf
12240 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a @pointsman.de>..
12250 20 20 20 20 20 20 20 20 2a 20 65 78 70 61 74 2f * expat/
12260 2a 3a 20 55 70 64 61 74 65 20 74 6f 20 65 78 70 *: Update to exp
12270 61 74 20 31 2e 39 35 2e 36 2e 0a 0a 20 20 20 20 at 1.95.6...
12280 20 20 20 20 2a 20 61 70 70 73 2f 78 73 6c 74 2e * apps/xslt.
12290 74 63 6c 3a 20 55 70 64 61 74 65 64 20 74 6f 20 tcl: Updated to
122a0 75 73 65 20 74 68 65 20 6e 65 77 20 2d 78 73 6c use the new -xsl
122b0 74 6d 65 73 73 61 67 65 63 6d 64 20 6f 70 74 69 tmessagecmd opti
122c0 6f 6e 0a 20 20 20 20 20 20 20 20 20 20 6f 66 20 on. of
122d0 74 68 65 20 78 73 6c 74 20 6d 65 74 68 6f 64 20 the xslt method
122e0 61 6e 64 20 74 68 65 20 2d 64 6f 63 74 79 70 65 and the -doctype
122f0 44 65 63 6c 61 72 61 74 69 6f 6e 20 6f 66 20 74 Declaration of t
12300 68 65 0a 20 20 20 20 20 20 20 20 20 20 61 73 58 he. asX
12310 4d 4c 2f 61 73 48 54 4d 4c 20 6d 65 74 68 6f 64 ML/asHTML method
12320 73 2e 20 41 64 64 65 64 20 61 20 66 65 77 20 63 s. Added a few c
12330 6f 6d 6d 65 6e 74 73 2e 0a 0a 32 30 30 33 2d 30 omments...2003-0
12340 32 2d 30 39 20 20 52 6f 6c 66 20 41 64 65 20 20 2-09 Rolf Ade
12350 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
12360 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 de>.. * g
12370 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 eneric/dom.c.
12380 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
12390 6f 6d 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 om.h. * g
123a0 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 eneric/domxslt.c
123b0 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
123c0 69 63 2f 74 63 6c 64 6f 6d 2e 63 20 20 20 20 20 ic/tcldom.c
123d0 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 64 6f . * do
123e0 63 2f 64 6f 6d 44 6f 63 2e 2a 0a 20 20 20 20 20 c/domDoc.*.
123f0 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 43 6d * tests/domCm
12400 64 2e 74 65 73 74 3a 20 50 75 62 6c 69 63 20 61 d.test: Public a
12410 6e 64 20 73 79 73 74 65 6d 20 69 64 65 6e 74 69 nd system identi
12420 66 69 65 72 20 69 6e 66 6f 72 6d 61 74 69 6f 6e fier information
12430 0a 20 20 20 20 20 20 20 20 20 20 61 72 65 20 6e . are n
12440 6f 77 20 73 74 6f 72 65 64 20 28 69 66 20 70 61 ow stored (if pa
12450 72 73 65 64 20 77 69 74 68 20 74 68 65 20 65 78 rsed with the ex
12460 70 61 74 20 70 61 72 73 65 72 20 6f 72 20 67 65 pat parser or ge
12470 6e 65 72 61 74 65 64 0a 20 20 20 20 20 20 20 20 nerated.
12480 20 20 62 79 20 74 68 65 20 78 73 6c 74 20 65 6e by the xslt en
12490 67 69 6e 65 2c 20 69 66 20 67 69 76 65 6e 29 2c gine, if given),
124a0 20 65 78 70 6f 73 65 64 20 74 6f 20 74 68 65 20 exposed to the
124b0 73 63 72 69 70 74 20 6c 65 76 65 6c 0a 20 20 20 script level.
124c0 20 20 20 20 20 20 20 28 65 76 65 6e 20 77 72 69 (even wri
124d0 74 61 62 6c 65 2c 20 6d 6f 72 65 20 74 68 61 6e table, more than
124e0 20 44 4f 4d 20 32 20 61 6c 6c 6f 77 73 29 20 61 DOM 2 allows) a
124f0 6e 64 20 77 69 6c 6c 20 62 65 2c 20 6f 6e 0a 20 nd will be, on.
12500 20 20 20 20 20 20 20 20 20 64 65 6d 61 6e 64 2c demand,
12510 20 72 65 73 70 65 63 74 65 64 20 77 68 69 6c 65 respected while
12520 20 73 65 72 69 61 6c 69 7a 69 6e 67 2e 0a 0a 20 serializing...
12530 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
12540 2f 64 6f 6d 2e 63 3a 20 42 75 67 20 66 69 78 3a /dom.c: Bug fix:
12550 20 48 6f 6c 64 20 49 44 20 3d 3e 20 6e 6f 64 65 Hold ID => node
12560 20 6d 61 70 70 69 6e 67 20 63 6f 6e 73 69 73 74 mapping consist
12570 65 6e 74 0a 20 20 20 20 20 20 20 20 20 20 65 76 ent. ev
12580 65 6e 20 61 66 74 65 72 20 72 65 73 65 74 74 69 en after resetti
12590 6e 67 20 6f 72 20 72 65 6d 6f 76 61 6c 20 6f 66 ng or removal of
125a0 20 6b 6e 6f 77 6e 20 49 44 20 61 74 74 72 69 62 known ID attrib
125b0 75 74 65 73 2e 0a 0a 20 20 20 20 20 20 20 20 2a utes... *
125c0 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 generic/domxslt
125d0 2e 63 3a 20 42 75 67 20 66 69 78 3a 20 69 6e 76 .c: Bug fix: inv
125e0 61 6c 69 64 20 6d 65 6d 6f 72 79 20 72 65 61 64 alid memory read
125f0 2e 0a 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 .. . * g
12600 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a eneric/tcldom.c:
12610 20 42 75 67 20 66 69 78 3a 20 69 6e 76 61 6c 69 Bug fix: invali
12620 64 20 6d 65 6d 6f 72 79 20 72 65 61 64 2e 0a 0a d memory read...
12630 32 30 30 33 2d 30 31 2d 33 30 20 20 52 6f 6c 66 2003-01-30 Rolf
12640 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e Ade <rolf@poin
12650 74 73 6d 61 6e 2e 64 65 3e 0a 20 20 20 20 20 20 tsman.de>.
12660 20 20 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e . * gen
12670 65 72 69 63 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 eric/dom.c.
12680 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c * generic/tcl
12690 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 dom.c. *
126a0 67 65 6e 65 72 69 63 2f 78 6d 6c 73 69 6d 70 6c generic/xmlsimpl
126b0 65 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 e.c. * te
126c0 73 74 73 2f 78 73 6c 74 2e 74 65 73 74 73 3a 20 sts/xslt.tests:
126d0 46 69 78 65 64 20 62 75 67 20 72 65 70 6f 72 74 Fixed bug report
126e0 65 64 20 62 79 20 57 69 6c 68 65 6c 6d 20 4b 6c ed by Wilhelm Kl
126f0 69 6e 6b 0a 20 20 20 20 20 20 20 20 20 20 28 68 ink. (h
12700 74 74 70 3a 2f 2f 67 72 6f 75 70 73 2e 79 61 68 ttp://groups.yah
12710 6f 6f 2e 63 6f 6d 2f 67 72 6f 75 70 2f 74 64 6f oo.com/group/tdo
12720 6d 2f 6d 65 73 73 61 67 65 2f 34 30 34 20 73 65 m/message/404 se
12730 65 20 74 65 73 74 0a 20 20 20 20 20 20 20 20 20 e test.
12740 20 78 73 6c 74 2d 34 2e 31 29 2e 20 41 67 61 69 xslt-4.1). Agai
12750 6e 20 61 20 70 72 6f 62 6c 65 6d 20 28 73 69 64 n a problem (sid
12760 65 65 66 66 65 63 74 29 20 6f 66 20 72 65 6e 75 eeffect) of renu
12770 6d 62 65 72 69 6e 67 0a 20 20 20 20 20 20 20 20 mbering.
12780 20 20 6e 6f 64 65 2d 3e 6e 6f 64 65 4e 75 6d 62 node->nodeNumb
12790 65 72 20 28 77 68 69 63 68 20 69 73 20 6e 65 63 er (which is nec
127a0 65 73 73 61 72 79 20 61 66 74 65 72 20 6d 6f 64 essary after mod
127b0 69 66 69 63 61 74 69 6f 6e 20 6f 66 0a 20 20 20 ification of.
127c0 20 20 20 20 20 20 20 74 68 65 20 74 72 65 65 20 the tree
127d0 66 6f 72 20 73 6f 6d 65 20 58 50 61 74 68 20 65 for some XPath e
127e0 78 70 72 20 74 6f 20 77 6f 72 6b 29 2e 20 54 68 xpr to work). Th
127f0 65 20 6b 65 79 73 20 6f 66 20 74 68 65 0a 20 20 e keys of the.
12800 20 20 20 20 20 20 20 20 65 6e 74 72 69 65 73 20 entries
12810 69 6e 20 74 68 65 20 62 61 73 65 55 52 49 73 20 in the baseURIs
12820 68 61 73 68 20 74 61 62 6c 65 20 6f 66 20 74 68 hash table of th
12830 65 20 64 6f 63 75 6d 65 6e 74 73 20 77 68 65 72 e documents wher
12840 65 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 e. the
12850 6e 6f 64 65 4e 75 6d 62 65 72 20 6f 66 20 74 68 nodeNumber of th
12860 65 20 28 73 75 62 74 72 65 65 20 72 6f 6f 74 29 e (subtree root)
12870 20 6e 6f 64 65 73 20 77 69 74 68 20 6e 65 77 0a nodes with new.
12880 20 20 20 20 20 20 20 20 20 20 62 61 73 65 55 52 baseUR
12890 49 2e 20 53 69 6e 63 65 20 74 68 69 73 20 6e 6f I. Since this no
128a0 64 65 4e 75 6d 62 65 72 20 69 73 6e 27 74 20 6e deNumber isn't n
128b0 65 63 65 73 73 61 72 69 6c 79 20 63 6f 6e 73 74 ecessarily const
128c0 61 6e 74 0a 20 20 20 20 20 20 20 20 20 20 6f 76 ant. ov
128d0 65 72 20 74 68 65 20 6c 69 66 65 74 69 6d 65 20 er the lifetime
128e0 6f 66 20 61 20 6e 6f 64 65 20 28 62 65 63 61 75 of a node (becau
128f0 73 65 20 6f 66 20 74 68 65 20 70 6f 73 73 69 62 se of the possib
12900 69 6c 69 74 79 20 6f 66 0a 20 20 20 20 20 20 20 ility of.
12910 20 20 20 72 65 2d 6e 75 6d 62 65 72 69 6e 67 20 re-numbering
12920 74 68 65 20 74 72 65 65 29 2c 20 74 68 69 73 20 the tree), this
12930 63 6f 75 6c 64 20 6e 6f 74 20 77 6f 72 6b 20 61 could not work a
12940 6e 79 6d 6f 72 65 2e 20 49 6e 73 74 65 61 64 0a nymore. Instead.
12950 20 20 20 20 20 20 20 20 20 20 74 68 65 20 6e 6f the no
12960 64 65 4e 75 6d 62 65 72 2c 20 77 65 20 6e 6f 77 deNumber, we now
12970 20 75 73 65 20 74 68 65 20 70 6f 69 6e 74 65 72 use the pointer
12980 20 74 6f 20 74 68 65 20 6e 6f 64 65 20 73 74 72 to the node str
12990 75 63 74 75 72 65 0a 20 20 20 20 20 20 20 20 20 ucture.
129a0 20 61 73 20 4b 65 79 20 66 6f 72 20 74 68 65 20 as Key for the
129b0 62 61 73 65 55 52 49 73 20 68 61 73 68 20 74 61 baseURIs hash ta
129c0 62 6c 65 2e 20 54 68 69 73 20 70 6f 69 6e 74 65 ble. This pointe
129d0 72 73 20 73 74 61 79 0a 20 20 20 20 20 20 20 20 rs stay.
129e0 20 20 61 6c 77 61 79 73 20 63 6f 6e 73 74 61 6e always constan
129f0 74 2c 20 65 76 65 6e 20 69 66 20 74 68 65 20 6e t, even if the n
12a00 6f 64 65 4e 75 6d 62 65 72 20 63 68 61 6e 67 65 odeNumber change
12a10 73 2e 20 41 64 64 69 74 69 6f 6e 61 6c 0a 20 20 s. Additional.
12a20 20 20 20 20 20 20 20 20 63 6f 64 65 20 77 61 73 code was
12a30 20 61 64 64 65 64 20 74 6f 20 64 6f 6d 46 72 65 added to domFre
12a40 65 4e 6f 64 65 28 29 2c 20 74 6f 20 65 6e 73 75 eNode(), to ensu
12a50 72 65 2c 20 74 68 61 74 20 61 6e 20 65 6e 74 72 re, that an entr
12a60 79 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 74 y in. t
12a70 68 65 20 62 61 73 65 55 52 49 73 20 68 61 73 68 he baseURIs hash
12a80 20 74 61 62 6c 65 20 67 65 74 73 20 66 72 65 65 table gets free
12a90 64 2c 20 69 66 20 74 68 65 20 72 65 6c 61 74 65 d, if the relate
12aa0 64 20 6e 6f 64 65 20 69 73 0a 20 20 20 20 20 20 d node is.
12ab0 20 20 20 20 69 6e 20 64 65 65 64 20 66 72 65 65 in deed free
12ac0 64 2e 20 52 65 6d 6f 76 65 64 20 74 68 65 20 79 d. Removed the y
12ad0 65 73 74 65 72 64 61 79 20 61 64 64 65 64 20 72 esterday added r
12ae0 65 73 65 74 69 6e 67 20 6f 66 20 74 68 65 0a 20 eseting of the.
12af0 20 20 20 20 20 20 20 20 20 64 6f 6d 55 6e 69 71 domUniq
12b00 75 65 4e 6f 64 65 4e 72 20 63 6f 75 6e 74 65 72 ueNodeNr counter
12b10 2c 20 62 65 63 61 75 73 65 20 69 74 20 74 75 72 , because it tur
12b20 6e 65 64 20 6f 75 74 20 69 6e 20 74 65 73 74 69 ned out in testi
12b30 6e 67 2c 0a 20 20 20 20 20 20 20 20 20 20 74 68 ng,. th
12b40 61 74 20 74 68 65 72 65 20 61 72 65 20 70 72 6f at there are pro
12b50 62 6c 65 6d 73 20 77 69 74 68 20 73 6f 72 74 69 blems with sorti
12b60 6e 67 20 6f 66 20 72 65 73 75 6c 74 53 65 74 73 ng of resultSets
12b70 2c 20 77 68 69 63 68 0a 20 20 20 20 20 20 20 20 , which.
12b80 20 20 69 6e 63 6c 75 64 65 73 20 6e 6f 64 65 73 includes nodes
12b90 20 66 72 6f 6d 20 64 69 66 66 65 72 65 6e 74 20 from different
12ba0 64 6f 63 75 6d 65 6e 74 73 20 28 77 68 69 63 68 documents (which
12bb0 20 6d 61 79 20 68 61 70 70 65 6e 0a 20 20 20 20 may happen.
12bc0 20 20 20 20 20 20 77 69 74 68 20 73 6f 6d 65 20 with some
12bd0 73 70 65 63 69 61 6c 20 58 53 4c 54 20 63 6f 6e special XSLT con
12be0 73 74 72 75 63 74 73 20 28 64 6f 63 75 6d 65 6e structs (documen
12bf0 74 28 29 20 63 61 6c 6c 73 20 77 69 74 68 20 61 t() calls with a
12c00 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 64 65 73 . nodes
12c10 65 74 20 61 73 20 61 72 67 75 6d 65 6e 74 29 29 et as argument))
12c20 2e 20 54 68 65 20 72 65 73 65 74 69 6e 67 20 6f . The reseting o
12c30 66 20 74 68 65 20 64 6f 6d 55 6e 69 71 75 65 4e f the domUniqueN
12c40 6f 64 65 4e 72 0a 20 20 20 20 20 20 20 20 20 20 odeNr.
12c50 69 73 20 73 74 69 6c 6c 20 64 65 73 69 72 61 62 is still desirab
12c60 6c 65 2c 20 62 75 74 20 69 74 20 74 75 72 6e 65 le, but it turne
12c70 64 20 6f 75 74 2c 20 74 68 61 74 20 69 74 20 73 d out, that it s
12c80 68 6f 75 6c 64 20 62 65 0a 20 20 20 20 20 20 20 hould be.
12c90 20 20 20 63 61 72 65 66 75 6c 6c 79 20 63 6f 6e carefully con
12ca0 73 69 64 65 72 65 64 2c 20 77 68 65 6e 20 69 74 sidered, when it
12cb0 20 73 68 6f 75 6c 64 20 62 65 20 64 6f 6e 65 2e should be done.
12cc0 0a 0a 32 30 30 33 2d 30 31 2d 32 39 20 20 52 6f ..2003-01-29 Ro
12cd0 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
12ce0 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
12cf0 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 * generic/d
12d00 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 om.c. * g
12d10 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a eneric/tcldom.c.
12d20 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
12d30 78 73 6c 74 2e 74 65 73 74 3a 20 43 68 61 6e 67 xslt.test: Chang
12d40 65 64 20 65 73 63 61 70 69 6e 67 20 6f 66 20 73 ed escaping of s
12d50 65 72 69 61 6c 69 7a 65 64 20 58 4d 4c 2e 20 54 erialized XML. T
12d60 68 65 0a 20 20 20 20 20 20 20 20 20 20 70 72 65 he. pre
12d70 76 69 6f 75 73 20 62 65 68 61 76 69 6f 72 20 77 vious behavior w
12d80 61 73 6e 27 74 20 27 77 72 6f 6e 67 27 2c 20 62 asn't 'wrong', b
12d90 75 74 20 6e 6f 77 20 77 65 20 64 6f 20 69 74 20 ut now we do it
12da0 61 6c 6f 6e 67 20 74 68 65 0a 20 20 20 20 20 20 along the.
12db0 20 20 20 20 6c 69 6e 65 73 20 6f 66 20 61 6c 6d lines of alm
12dc0 6f 73 74 20 61 6c 6c 20 6f 74 68 65 72 20 28 69 ost all other (i
12dd0 6d 70 6f 72 74 61 6e 74 29 20 74 6f 6f 6c 73 20 mportant) tools
12de0 61 6e 64 20 69 74 20 73 65 65 6d 73 0a 20 20 20 and it seems.
12df0 20 20 20 20 20 20 20 74 68 65 72 65 27 73 20 61 there's a
12e00 6c 20 6c 65 61 73 74 20 73 6f 6d 65 20 78 73 6c l least some xsl
12e10 74 20 63 6f 64 65 20 6f 75 74 20 74 68 65 72 65 t code out there
12e20 2c 20 77 68 69 63 68 20 62 61 6e 6b 73 20 6f 6e , which banks on
12e30 0a 20 20 20 20 20 20 20 20 20 20 74 68 69 73 20 . this
12e40 27 63 6f 6d 6d 6f 6e 27 20 77 61 79 20 6f 66 20 'common' way of
12e50 73 65 72 69 61 6c 69 7a 69 6e 67 2e 20 54 68 6f serializing. Tho
12e60 75 67 68 2c 20 74 68 65 72 65 20 69 73 20 61 20 ugh, there is a
12e70 73 6d 61 6c 6c 0a 20 20 20 20 20 20 20 20 20 20 small.
12e80 72 69 73 6b 2c 20 74 68 61 74 20 74 68 69 73 20 risk, that this
12e90 69 73 20 61 6e 20 69 6e 63 6f 6d 70 61 74 69 62 is an incompatib
12ea0 6c 65 20 63 68 61 6e 67 65 20 66 6f 72 20 61 20 le change for a
12eb0 66 65 77 20 75 73 65 72 73 2e 0a 0a 20 20 20 20 few users...
12ec0 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
12ed0 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 m.c. * ge
12ee0 6e 65 72 69 63 2f 64 6f 6d 2e 68 0a 20 20 20 20 neric/dom.h.
12ef0 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 78 6d * generic/xm
12f00 6c 73 69 6d 70 6c 65 2e 63 0a 20 20 20 20 20 20 lsimple.c.
12f10 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 2e 74 65 * tests/dom.te
12f20 73 74 3a 20 46 69 78 65 64 20 74 68 65 20 70 72 st: Fixed the pr
12f30 6f 62 6c 65 6d 20 6f 66 20 27 63 68 61 6e 67 69 oblem of 'changi
12f40 6e 67 20 6e 6f 64 65 0a 20 20 20 20 20 20 20 20 ng node.
12f50 20 20 72 65 66 65 72 65 6e 63 65 73 27 20 75 6e references' un
12f60 64 65 72 20 73 6f 6d 65 20 63 69 72 63 75 6d 73 der some circums
12f70 74 61 6e 63 65 73 20 28 72 65 70 6f 72 74 65 64 tances (reported
12f80 20 62 79 20 57 69 6c 68 65 6c 6d 0a 20 20 20 20 by Wilhelm.
12f90 20 20 20 20 20 20 4b 6c 69 6e 6b 29 2e 20 54 68 Klink). Th
12fa0 69 73 20 61 6c 73 6f 20 64 65 63 72 65 61 73 65 is also decrease
12fb0 20 74 68 65 20 70 6f 73 73 69 62 69 6c 69 74 79 the possibility
12fc0 20 6f 66 20 61 20 70 6f 74 65 6e 74 69 61 6c 0a of a potential.
12fd0 20 20 20 20 20 20 20 20 20 20 70 72 6f 62 6c 65 proble
12fe0 6d 20 66 6f 72 20 65 78 74 72 65 6d 65 6c 79 20 m for extremely
12ff0 6c 6f 6e 67 20 72 75 6e 6e 69 6e 67 20 73 69 6e long running sin
13000 67 6c 65 20 74 68 72 65 61 64 65 64 20 74 44 4f gle threaded tDO
13010 4d 0a 20 20 20 20 20 20 20 20 20 20 61 70 70 6c M. appl
13020 69 63 61 74 69 6f 6e 73 2e 0a 0a 20 20 20 20 20 ications...
13030 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d * generic/dom
13040 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e .c. * gen
13050 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 20 eric/tcldom.c.
13060 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f * tests/do
13070 6d 2e 74 65 73 74 3a 20 46 69 78 20 66 6f 72 20 m.test: Fix for
13080 74 68 65 20 70 72 6f 62 6c 65 6d 20 77 69 74 68 the problem with
13090 20 6f 77 6e 65 72 44 6f 63 75 6d 65 6e 74 0a 20 ownerDocument.
130a0 20 20 20 20 20 20 20 20 20 72 65 70 6f 72 74 65 reporte
130b0 64 20 62 79 20 4f 6c 65 67 20 4f 6c 65 69 6e 69 d by Oleg Oleini
130c0 63 6b 20 28 73 65 65 20 74 65 73 74 20 64 6f 6d ck (see test dom
130d0 2d 32 39 2e 31 29 2e 0a 0a 20 20 20 20 20 20 20 -29.1)...
130e0 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f * generic/tcldo
130f0 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 m.c. * te
13100 73 74 73 2f 64 6f 6d 2e 74 65 73 74 3a 20 46 69 sts/dom.test: Fi
13110 78 65 64 20 62 75 67 20 77 69 74 68 20 43 4f 4d xed bug with COM
13120 4d 45 4e 54 5f 4e 4f 44 45 73 20 77 68 69 6c 65 MENT_NODEs while
13130 20 75 73 69 6e 67 20 74 68 65 0a 20 20 20 20 20 using the.
13140 20 20 20 20 20 61 73 4c 69 73 74 20 6d 65 74 68 asList meth
13150 6f 64 20 28 70 72 6f 62 6c 65 6d 20 72 65 70 6f od (problem repo
13160 72 74 65 64 20 62 79 20 52 61 6d 6f 6e 20 52 69 rted by Ramon Ri
13170 62 c3 b3 29 2e 20 57 68 69 6c 65 20 61 74 20 69 bó). While at i
13180 74 2c 0a 20 20 20 20 20 20 20 20 20 20 61 6c 73 t,. als
13190 6f 20 61 64 64 65 64 20 63 6f 64 65 20 66 6f 72 o added code for
131a0 20 68 61 6e 64 6c 69 6e 67 20 70 72 6f 63 65 73 handling proces
131b0 73 69 6e 67 20 69 6e 73 74 72 75 63 74 69 6f 6e sing instruction
131c0 73 2c 20 77 68 69 63 68 0a 20 20 20 20 20 20 20 s, which.
131d0 20 20 20 77 61 73 20 61 6c 73 6f 20 6d 69 73 73 was also miss
131e0 69 6e 67 2c 20 75 70 20 74 6f 20 6e 6f 77 2e 0a ing, up to now..
131f0 0a 32 30 30 33 2d 30 31 2d 31 31 20 20 52 6f 6c .2003-01-11 Rol
13200 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
13210 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 ntsman.de>..
13220 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
13230 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 m.c. * ge
13240 6e 65 72 69 63 2f 64 6f 6d 2e 68 0a 20 20 20 20 neric/dom.h.
13250 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
13260 6d 78 73 6c 74 2e 63 0a 20 20 20 20 20 20 20 20 mxslt.c.
13270 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c * generic/domxsl
13280 74 2e 68 0a 20 20 20 20 20 20 20 20 2a 20 67 65 t.h. * ge
13290 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 neric/tcldom.c:
132a0 41 64 64 65 64 20 63 6f 6e 76 65 72 73 69 6f 6e Added conversion
132b0 20 6f 66 20 58 53 4c 54 20 73 74 79 6c 65 73 68 of XSLT stylesh
132c0 65 65 74 20 44 4f 4d 0a 20 20 20 20 20 20 20 20 eet DOM.
132d0 20 20 74 72 65 65 73 20 74 6f 20 27 63 61 63 68 trees to 'cach
132e0 65 64 27 20 78 73 6c 74 20 63 6d 64 73 20 28 6e ed' xslt cmds (n
132f0 65 77 20 64 6f 6d 44 6f 63 20 6d 65 74 68 6f 64 ew domDoc method
13300 0a 20 20 20 20 20 20 20 20 20 20 74 6f 58 53 4c . toXSL
13310 54 63 6d 64 29 2e 20 57 6f 72 6b 73 20 66 6f 72 Tcmd). Works for
13320 20 6e 6f 6e 20 74 68 72 65 61 64 65 64 20 74 63 non threaded tc
13330 6c 3b 20 6e 65 65 64 73 20 61 64 64 69 74 69 6f l; needs additio
13340 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 77 6f nal. wo
13350 72 6b 20 66 6f 72 20 6d 75 6c 74 69 2d 74 68 72 rk for multi-thr
13360 65 61 64 65 64 20 74 63 6c 20 61 6e 64 20 64 6f eaded tcl and do
13370 63 75 6d 65 6e 74 61 74 69 6f 6e 2e 0a 0a 20 20 cumentation...
13380 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f * generic/
13390 64 6f 6d 78 73 6c 74 2e 63 3a 20 46 69 78 65 64 domxslt.c: Fixed
133a0 20 61 20 62 75 67 20 69 6e 74 72 6f 64 75 63 65 a bug introduce
133b0 64 20 64 75 72 69 6e 67 20 72 65 77 6f 72 6b 20 d during rework
133c0 6f 66 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 of. the
133d0 20 77 68 69 74 65 20 73 70 61 63 65 20 73 74 72 white space str
133e0 69 70 70 69 6e 67 20 66 6f 72 20 58 4d 4c 20 73 ipping for XML s
133f0 6f 75 72 63 65 73 2e 0a 0a 20 20 20 20 20 20 20 ources...
13400 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 65 78 * generic/tclex
13410 70 61 74 2e 63 3a 20 45 64 69 74 6f 72 69 61 6c pat.c: Editorial
13420 20 63 68 61 6e 67 65 20 28 54 79 70 6f 20 69 6e change (Typo in
13430 20 63 6f 6d 6d 65 6e 74 29 0a 20 20 0a 32 30 30 comment). .200
13440 32 2d 31 32 2d 32 38 20 20 52 6f 6c 66 20 41 64 2-12-28 Rolf Ad
13450 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
13460 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
13470 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c * generic/domxsl
13480 74 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 t.c. * ge
13490 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 68 0a neric/domxslt.h.
134a0 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 * generi
134b0 63 2f 74 63 6c 64 6f 6d 2e 63 0a 20 20 20 20 20 c/tcldom.c.
134c0 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 4e 6f 64 65 * doc/domNode
134d0 2e 2a 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 .*. * doc
134e0 2f 64 6f 6d 44 6f 63 2e 2a 0a 20 20 20 20 20 20 /domDoc.*.
134f0 20 20 2a 20 74 65 73 74 73 2f 78 73 6c 74 2e 74 * tests/xslt.t
13500 65 73 74 3a 20 54 68 65 20 78 73 6c 74 20 6d 65 est: The xslt me
13510 74 68 6f 64 20 6e 6f 77 20 75 6e 64 65 72 73 74 thod now underst
13520 61 6e 64 73 20 61 6c 73 6f 20 74 68 65 0a 20 20 ands also the.
13530 20 20 20 20 20 20 20 20 6f 70 74 69 6f 6e 73 20 options
13540 2d 69 67 6e 6f 72 65 55 6e 64 65 63 6c 61 72 65 -ignoreUndeclare
13550 64 50 61 72 61 6d 65 74 65 72 73 20 61 6e 64 20 dParameters and
13560 2d 78 73 6c 74 6d 65 73 73 61 67 65 63 6d 64 2e -xsltmessagecmd.
13570 0a 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 .. * test
13580 73 2f 78 70 61 74 68 2e 74 65 73 74 0a 20 20 20 s/xpath.test.
13590 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 * generic/t
135a0 63 6c 64 6f 6d 2e 68 3a 20 45 64 69 74 6f 72 69 cldom.h: Editori
135b0 61 6c 20 63 68 61 6e 67 65 73 2e 0a 0a 32 30 30 al changes...200
135c0 32 2d 31 32 2d 32 33 20 20 52 6f 6c 66 20 41 64 2-12-23 Rolf Ad
135d0 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
135e0 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
135f0 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c * generic/domxsl
13600 74 2e 63 3a 20 52 65 77 6f 72 6b 65 64 20 74 68 t.c: Reworked th
13610 65 20 77 68 69 74 65 20 73 70 61 63 65 20 73 74 e white space st
13620 72 69 70 70 69 6e 67 20 66 6f 72 20 58 4d 4c 0a ripping for XML.
13630 20 20 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 source
13640 73 20 61 20 62 69 74 2e 20 42 65 74 74 65 72 20 s a bit. Better
13650 77 68 69 74 65 20 73 70 61 63 65 20 68 61 6e 64 white space hand
13660 6c 69 6e 67 20 69 6e 20 74 6f 6b 65 6e 20 6c 69 ling in token li
13670 73 74 73 2e 0a 0a 32 30 30 32 2d 31 32 2d 32 31 sts...2002-12-21
13680 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 6c Rolf Ade <rol
13690 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a f@pointsman.de>.
136a0 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 . * gener
136b0 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 3a 20 46 ic/domxpath.c: F
136c0 69 78 65 64 20 74 68 65 20 63 68 61 6e 67 65 73 ixed the changes
136d0 20 62 79 20 6d 65 20 69 6e 20 72 65 76 2e 20 31 by me in rev. 1
136e0 2e 36 30 20 69 6e 0a 20 20 20 20 20 20 20 20 20 .60 in.
136f0 20 74 68 65 20 58 50 61 74 68 20 4c 65 78 65 72 the XPath Lexer
13700 2e 0a 0a 32 30 30 32 2d 31 32 2d 32 30 20 20 5a ...2002-12-20 Z
13710 6f 72 61 6e 20 56 61 73 69 6c 6a 65 76 69 63 20 oran Vasiljevic
13720 20 28 7a 6f 72 61 6e 40 61 72 63 68 69 77 61 72 (zoran@archiwar
13730 65 2e 63 6f 6d 29 0a 0a 09 2a 20 67 65 6e 65 72 e.com)...* gener
13740 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a 09 2a 20 67 ic/tcldom.c..* g
13750 65 6e 65 72 69 63 2f 64 6f 6d 2e 63 0a 09 2a 20 eneric/dom.c..*
13760 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 generic/domxpath
13770 2e 63 0a 09 2a 20 67 65 6e 65 72 69 63 2f 64 6f .c..* generic/do
13780 6d 61 6c 6c 6f 63 2e 63 0a 09 2a 20 67 65 6e 65 malloc.c..* gene
13790 72 69 63 2f 64 6f 6d 68 74 6d 6c 2e 63 0a 09 2a ric/domhtml.c..*
137a0 20 67 65 6e 65 72 69 63 2f 64 6f 63 78 70 61 74 generic/docxpat
137b0 68 2e 63 3a 20 61 64 64 65 64 20 44 42 47 20 6d h.c: added DBG m
137c0 61 63 72 6f 20 61 72 6f 75 6e 64 20 73 6f 6d 65 acro around some
137d0 20 66 70 72 69 6e 74 66 27 73 0a 0a 32 30 30 32 fprintf's..2002
137e0 2d 31 31 2d 32 38 20 20 52 6f 6c 66 20 41 64 65 -11-28 Rolf Ade
137f0 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
13800 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
13810 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 generic/domxslt
13820 2e 63 3a 20 52 65 75 73 65 20 61 6c 72 65 61 64 .c: Reuse alread
13830 79 20 70 61 72 73 65 64 20 74 72 65 65 73 20 6f y parsed trees o
13840 6e 6c 79 20 69 66 20 69 74 20 69 73 0a 20 20 20 nly if it is.
13850 20 20 20 20 20 20 20 72 65 71 75 65 73 74 65 64 requested
13860 20 61 67 61 69 6e 20 66 6f 72 20 74 68 65 20 73 again for the s
13870 61 6d 65 20 6d 61 74 74 65 72 20 28 61 73 20 73 ame matter (as s
13880 74 79 6c 65 73 68 65 65 74 20 6f 72 20 61 73 0a tylesheet or as.
13890 20 20 20 20 20 20 20 20 20 20 73 6f 75 72 63 65 source
138a0 20 64 69 72 29 2c 20 6f 74 68 65 72 77 69 73 65 dir), otherwise
138b0 20 63 72 65 61 74 65 20 61 20 6e 65 77 20 74 72 create a new tr
138c0 65 65 2c 20 62 65 63 61 75 73 65 20 6f 66 20 74 ee, because of t
138d0 68 65 0a 20 20 20 20 20 20 20 20 20 20 64 69 66 he. dif
138e0 66 65 72 65 6e 74 20 77 68 69 74 65 20 73 70 61 ferent white spa
138f0 63 65 20 73 74 72 69 70 70 69 6e 67 20 72 75 6c ce stripping rul
13900 65 73 20 66 6f 72 20 73 74 79 6c 65 73 68 65 65 es for styleshee
13910 74 73 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 ts and.
13920 20 73 6f 75 72 63 65 20 64 6f 63 75 6d 65 6e 74 source document
13930 73 2e 20 20 20 20 0a 0a 32 30 30 32 2d 31 31 2d s. ..2002-11-
13940 32 37 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 27 Rolf Ade <r
13950 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 olf@pointsman.de
13960 3e 0a 20 20 20 20 20 20 20 20 20 0a 20 20 20 20 >. .
13970 20 20 20 20 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 * win/makefi
13980 6c 65 38 30 35 2e 76 63 3a 20 41 64 64 65 64 20 le805.vc: Added
13990 74 68 69 73 20 66 69 6c 65 2e 20 56 43 2b 2b 20 this file. VC++
139a0 36 2e 30 20 6d 61 6b 65 66 69 6c 65 20 74 6f 0a 6.0 makefile to.
139b0 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 69 6c compil
139c0 65 20 61 67 61 69 6e 73 74 20 74 63 6c 38 2e 30 e against tcl8.0
139d0 2e 35 2c 20 63 6f 6e 74 72 69 62 75 74 65 64 20 .5, contributed
139e0 62 79 20 53 75 6d 69 74 20 50 6f 6b 68 61 72 69 by Sumit Pokhari
139f0 79 61 6c 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 yal... *
13a00 67 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 generic/domxpath
13a10 2e 63 3a 20 46 51 20 6e 61 6d 65 73 20 77 69 74 .c: FQ names wit
13a20 68 20 61 20 6c 6f 63 61 6c 6e 61 6d 65 20 65 71 h a localname eq
13a30 75 61 6c 20 74 6f 20 61 0a 20 20 20 20 20 20 20 ual to a.
13a40 20 20 20 58 50 61 74 68 20 27 6b 65 79 77 6f 72 XPath 'keywor
13a50 64 27 20 28 66 6f 72 20 65 78 61 6d 70 6c 65 20 d' (for example
13a60 6e 73 31 3a 64 69 76 29 20 61 72 65 20 6e 6f 77 ns1:div) are now
13a70 20 72 65 63 6f 67 6e 69 7a 65 64 20 61 73 0a 20 recognized as.
13a80 20 20 20 20 20 20 20 20 20 6e 6f 64 65 20 74 65 node te
13a90 73 74 20 28 74 68 65 79 20 72 61 69 73 65 64 20 st (they raised
13aa0 65 72 72 6f 72 20 75 70 20 74 6f 20 6e 6f 77 29 error up to now)
13ab0 2e 20 43 68 61 6e 67 65 64 0a 20 20 20 20 20 20 . Changed.
13ac0 20 20 20 20 67 65 6e 65 72 61 74 65 2d 69 64 28 generate-id(
13ad0 29 20 74 6f 20 72 65 74 75 72 6e 20 74 68 65 20 ) to return the
13ae0 6d 6f 72 65 20 67 65 6e 65 72 69 63 20 6e 61 6d more generic nam
13af0 65 64 20 27 69 64 3c 69 64 73 74 72 3e 27 0a 20 ed 'id<idstr>'.
13b00 20 20 20 20 20 20 20 20 20 69 6e 73 74 65 61 64 instead
13b10 20 6f 66 20 74 68 65 20 75 70 20 74 6f 20 6e 6f of the up to no
13b20 77 20 75 73 65 64 20 27 6e 6f 64 65 3c 69 64 73 w used 'node<ids
13b30 74 72 3e 27 2e 0a 0a 2d 2d 2d 20 52 65 6c 65 61 tr>'...--- Relea
13b40 73 65 20 30 2e 37 2e 35 2c 20 32 37 2e 20 4e 6f se 0.7.5, 27. No
13b50 76 2e 20 32 30 30 32 20 2d 2d 2d 0a 0a 32 30 30 v. 2002 ---..200
13b60 32 2d 31 31 2d 32 34 20 20 52 6f 6c 66 20 41 64 2-11-24 Rolf Ad
13b70 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d e <rolf@pointsm
13b80 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 an.de>..
13b90 2a 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 43 * Makefile.in: C
13ba0 68 61 6e 67 65 64 20 74 68 65 20 6f 72 64 65 72 hanged the order
13bb0 20 6f 66 20 74 68 65 20 69 6e 63 6c 75 64 65 20 of the include
13bc0 64 69 72 73 2c 20 74 6f 20 61 76 6f 69 64 0a 20 dirs, to avoid.
13bd0 20 20 20 20 20 20 20 20 20 63 6c 61 73 68 20 77 clash w
13be0 69 74 68 20 74 63 6c 64 6f 6d 2e 68 20 6f 75 74 ith tcldom.h out
13bf0 20 6f 66 20 54 63 6c 44 4f 4d 2d 32 2e 34 2c 20 of TclDOM-2.4,
13c00 77 68 69 63 68 20 77 69 6c 6c 20 62 65 0a 20 20 which will be.
13c10 20 20 20 20 20 20 20 20 69 6e 73 74 61 6c 6c 65 installe
13c20 64 20 69 6e 20 74 68 65 20 73 61 6d 65 20 64 69 d in the same di
13c30 72 65 63 74 6f 72 79 20 61 73 20 74 63 6c 2e 68 rectory as tcl.h
13c40 0a 0a 32 30 30 32 2d 31 31 2d 32 32 20 20 52 6f ..2002-11-22 Ro
13c50 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
13c60 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
13c70 20 20 20 20 20 2a 20 63 6f 6e 66 69 67 75 72 65 * configure
13c80 2d 74 63 6c 38 2e 30 2e 35 3a 20 41 64 64 65 64 -tcl8.0.5: Added
13c90 20 74 68 69 73 20 66 69 6c 65 2e 20 53 70 65 63 this file. Spec
13ca0 69 61 6c 20 63 6f 6e 66 69 67 75 72 65 20 66 6f ial configure fo
13cb0 72 0a 20 20 20 20 20 20 20 20 20 20 54 63 6c 38 r. Tcl8
13cc0 2e 30 2e 35 20 75 73 65 72 73 2e 0a 20 20 20 20 .0.5 users..
13cd0 20 20 20 20 0a 20 20 20 20 20 20 20 20 2a 20 52 . * R
13ce0 45 41 44 4d 45 3a 20 55 70 64 61 74 65 64 20 6e EADME: Updated n
13cf0 6f 74 65 73 20 66 6f 72 20 54 63 6c 38 2e 30 2e otes for Tcl8.0.
13d00 35 20 75 73 65 72 73 2e 20 20 0a 0a 32 30 30 32 5 users. ..2002
13d10 2d 31 31 2d 32 31 20 20 52 6f 6c 66 20 41 64 65 -11-21 Rolf Ade
13d20 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
13d30 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
13d40 20 64 6f 63 2f 65 78 70 61 74 2e 2a 3a 20 57 65 doc/expat.*: We
13d50 20 64 6f 6e 27 74 20 68 61 76 65 20 61 20 27 70 don't have a 'p
13d60 72 6f 76 69 64 65 20 65 78 70 61 74 27 20 61 6e rovide expat' an
13d70 79 6d 6f 72 65 2c 20 69 74 27 73 0a 20 20 20 20 ymore, it's.
13d80 20 20 20 20 20 20 61 6c 6c 20 74 64 6f 6d 2e 20 all tdom.
13d90 46 69 78 65 64 20 61 20 74 79 70 6f 2e 0a 0a 32 Fixed a typo...2
13da0 30 30 32 2d 31 31 2d 31 37 20 20 52 6f 6c 66 20 002-11-17 Rolf
13db0 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
13dc0 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
13dd0 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 * generic/domx
13de0 73 6c 74 2e 63 3a 20 52 65 70 6f 72 74 20 65 72 slt.c: Report er
13df0 72 6f 72 2c 20 69 66 20 78 73 6c 3a 69 6d 70 6f ror, if xsl:impo
13e00 72 74 20 65 6c 65 6d 65 6e 74 73 20 6e 6f 74 0a rt elements not.
13e10 20 20 20 20 20 20 20 20 20 20 63 6f 6d 65 20 66 come f
13e20 69 72 73 74 2e 0a 0a 20 20 20 20 20 20 20 20 2a irst... *
13e30 20 64 6f 63 2f 74 6e 63 2e 2a 3a 20 42 65 74 74 doc/tnc.*: Bett
13e40 65 72 20 77 6f 72 64 69 6e 67 2e 0a 20 20 0a 32 er wording.. .2
13e50 30 30 32 2d 31 31 2d 31 36 20 20 52 6f 6c 66 20 002-11-16 Rolf
13e60 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 Ade <rolf@point
13e70 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 sman.de>..
13e80 20 20 2a 20 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 * win/makefile
13e90 2e 76 63 0a 20 20 20 20 20 20 20 20 2a 20 65 78 .vc. * ex
13ea0 74 65 6e 73 69 6f 6e 73 2f 74 6e 63 2f 6d 61 6b tensions/tnc/mak
13eb0 65 66 69 6c 65 2e 76 63 3a 20 41 20 62 69 74 20 efile.vc: A bit
13ec0 66 69 6e 61 6c 20 74 77 65 61 6b 69 6e 67 20 66 final tweaking f
13ed0 6f 72 20 30 2e 37 2e 35 2e 20 20 20 20 0a 0a 32 or 0.7.5. ..2
13ee0 30 30 32 2d 31 31 2d 31 36 20 20 5a 6f 72 61 6e 002-11-16 Zoran
13ef0 20 56 61 73 69 6c 6a 65 76 69 63 20 20 3c 7a 6f Vasiljevic <zo
13f00 72 61 6e 40 61 72 63 68 69 77 61 72 65 2e 63 6f ran@archiware.co
13f10 6d 3e 0a 0a 09 2a 20 67 65 6e 65 72 69 63 2f 64 m>...* generic/d
13f20 6f 6d 2e 68 0a 09 2a 20 67 65 6e 65 72 69 63 2f om.h..* generic/
13f30 64 6f 6d 2e 63 0a 09 2a 20 67 65 6e 65 72 69 63 dom.c..* generic
13f40 2f 74 63 6c 64 6f 6d 2e 63 0a 09 2a 20 67 65 6e /tcldom.c..* gen
13f50 65 72 69 63 2f 74 63 6c 53 74 75 62 4c 69 62 2e eric/tclStubLib.
13f60 63 3a 20 66 69 78 65 64 20 72 65 66 65 72 65 6e c: fixed referen
13f70 63 65 73 20 74 6f 20 70 61 6e 69 63 20 28 6e 6f ces to panic (no
13f80 77 20 54 63 6c 5f 50 61 6e 69 63 29 0a 09 20 20 w Tcl_Panic)..
13f90 41 6c 73 6f 2c 20 66 69 78 65 64 20 73 6f 6d 65 Also, fixed some
13fa0 20 38 2e 30 2e 35 20 63 6f 6d 70 69 6c 61 74 69 8.0.5 compilati
13fb0 6f 6e 20 69 73 73 75 65 73 2e 0a 0a 20 20 20 20 on issues...
13fc0 20 20 20 20 2a 20 52 45 41 44 4d 45 3a 20 61 64 * README: ad
13fd0 64 65 64 20 73 6f 6d 65 20 38 2e 30 2e 35 20 63 ded some 8.0.5 c
13fe0 6f 6d 70 69 6c 61 74 69 6f 6e 20 6e 6f 74 65 73 ompilation notes
13ff0 0a 0a 32 30 30 32 2d 31 31 2d 31 36 20 20 52 6f ..2002-11-16 Ro
14000 6c 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f lf Ade <rolf@po
14010 69 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 intsman.de>..
14020 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 * generic/t
14030 63 6c 64 6f 6d 2e 63 3a 20 46 69 78 65 64 20 62 cldom.c: Fixed b
14040 75 67 73 2c 20 77 68 69 63 68 20 6f 6e 6c 79 20 ugs, which only
14050 72 61 69 73 65 64 20 74 68 65 72 65 20 68 65 61 raised there hea
14060 64 0a 20 20 20 20 20 20 20 20 20 20 69 66 20 63 d. if c
14070 6f 6d 70 69 6c 65 64 20 61 67 61 69 6e 73 74 20 ompiled against
14080 74 63 6c 38 2e 30 2e 35 2e 0a 0a 20 20 20 20 20 tcl8.0.5...
14090 20 20 20 2a 20 74 65 73 74 73 2f 61 6c 6c 2e 74 * tests/all.t
140a0 63 6c 20 20 0a 20 20 20 20 20 20 20 20 2a 20 74 cl . * t
140b0 65 73 74 73 2f 6c 6f 61 64 74 64 6f 6d 2e 74 63 ests/loadtdom.tc
140c0 6c 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 l. * test
140d0 73 2f 64 6f 6d 43 6d 64 2e 74 65 73 74 0a 20 20 s/domCmd.test.
140e0 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f * tests/do
140f0 6d 6e 61 6d 65 73 70 61 63 65 2e 74 65 73 74 0a mnamespace.test.
14100 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
14110 68 74 6d 6c 72 65 61 64 65 72 2e 74 65 73 74 0a htmlreader.test.
14120 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
14130 69 31 38 6e 2e 74 65 73 74 0a 20 20 20 20 20 20 i18n.test.
14140 20 20 2a 20 74 65 73 74 73 2f 78 6d 6c 73 69 6d * tests/xmlsim
14150 70 6c 65 2e 74 65 73 74 0a 20 20 20 20 20 20 20 ple.test.
14160 20 2a 20 74 65 73 74 73 2f 78 73 6c 74 2e 74 65 * tests/xslt.te
14170 73 74 3a 20 4d 61 64 65 20 74 65 73 74 20 73 75 st: Made test su
14180 69 74 65 20 61 6c 73 6f 20 72 75 6e 6e 69 6e 67 ite also running
14190 20 75 6e 64 65 72 0a 20 20 20 20 20 20 20 20 20 under.
141a0 20 74 63 6c 38 2e 30 2e 35 2e 20 41 64 64 65 64 tcl8.0.5. Added
141b0 20 63 6f 6e 73 74 72 61 69 6e 74 20 74 6f 20 74 constraint to t
141c0 68 65 20 74 65 73 74 73 2c 20 77 68 69 63 68 20 he tests, which
141d0 75 73 65 73 20 69 31 38 6e 20 74 63 6c 0a 20 20 uses i18n tcl.
141e0 20 20 20 20 20 20 20 20 66 65 61 74 75 72 65 73 features
141f0 2e 0a 20 20 20 20 20 20 20 20 0a 20 20 20 20 20 .. .
14200 20 20 20 2a 20 64 6f 63 2f 74 6e 63 2e 78 6d 6c * doc/tnc.xml
14210 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f 74 . * doc/t
14220 6e 63 2e 68 74 6d 6c 0a 20 20 20 20 20 20 20 20 nc.html.
14230 2a 20 64 6f 63 2f 74 6e 63 2e 6e 3a 20 55 70 64 * doc/tnc.n: Upd
14240 61 74 65 64 20 64 6f 63 75 6d 65 6e 74 61 74 69 ated documentati
14250 6f 6e 2e 20 20 0a 0a 32 30 30 32 2d 31 31 2d 31 on. ..2002-11-1
14260 35 20 20 5a 6f 72 61 6e 20 56 61 73 69 6c 6a 65 5 Zoran Vasilje
14270 76 69 63 20 20 3c 7a 6f 72 61 6e 40 61 72 63 68 vic <zoran@arch
14280 69 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 67 iware.com>...* g
14290 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 3a 20 61 64 eneric/dom.h: ad
142a0 64 65 64 20 49 53 5f 44 45 4c 45 54 45 44 20 6e ded IS_DELETED n
142b0 6f 64 65 20 66 6c 61 67 0a 09 20 20 43 68 61 6e ode flag.. Chan
142c0 67 65 64 20 64 6f 6d 46 72 65 65 4e 6f 64 65 20 ged domFreeNode
142d0 74 6f 20 61 63 63 65 70 74 20 6f 6e 65 20 61 64 to accept one ad
142e0 64 69 74 69 6f 6e 61 6c 20 70 61 72 61 6d 65 74 ditional paramet
142f0 65 72 2e 0a 09 20 20 54 68 69 73 20 70 61 72 61 er... This para
14300 6d 65 74 65 72 20 69 73 20 75 73 65 64 20 74 6f meter is used to
14310 20 73 69 67 6e 61 6c 20 74 68 65 20 66 75 6e 63 signal the func
14320 74 69 6f 6e 20 74 6f 20 0a 09 20 20 70 65 72 66 tion to .. perf
14330 6f 72 6d 20 6e 6f 64 65 2d 77 61 6c 6b 20 61 6e orm node-walk an
14340 64 20 69 6e 76 6f 6b 65 20 75 73 65 72 2d 73 75 d invoke user-su
14350 70 70 6c 69 65 64 20 63 61 6c 6c 62 61 63 6b 20 pplied callback
14360 77 2f 6f 0a 09 20 20 61 63 74 75 61 6c 6c 79 20 w/o.. actually
14370 66 72 65 65 69 6e 67 20 74 68 65 20 6e 6f 64 65 freeing the node
14380 2e 20 54 68 69 73 20 66 75 6e 63 74 69 6f 6e 61 . This functiona
14390 6c 69 74 79 20 69 73 20 72 65 71 75 69 72 65 64 lity is required
143a0 0a 09 20 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 .. for example
143b0 77 68 65 6e 20 61 20 74 68 72 65 61 64 20 64 65 when a thread de
143c0 74 61 63 68 65 73 20 66 72 6f 6d 20 74 68 65 20 taches from the
143d0 73 68 61 72 65 64 20 44 4f 4d 20 74 72 65 65 0a shared DOM tree.
143e0 09 20 20 61 6e 64 20 77 61 6e 74 73 20 74 6f 20 . and wants to
143f0 64 65 74 61 63 68 20 61 6c 6c 20 65 76 65 6e 74 detach all event
14400 75 61 6c 20 6e 6f 64 65 20 63 6f 6d 6d 61 6e 64 ual node command
14410 73 20 66 72 6f 6d 20 69 74 73 0a 09 20 20 69 6e s from its.. in
14420 74 65 72 70 72 65 74 65 72 2e 0a 20 09 20 20 41 terpreter.. . A
14430 64 64 65 64 20 22 73 74 72 75 63 74 20 64 6f 6d dded "struct dom
14440 4e 6f 64 65 20 2a 64 65 6c 65 74 65 64 4e 6f 64 Node *deletedNod
14450 65 73 22 20 69 6e 20 74 68 65 20 64 6f 63 75 6d es" in the docum
14460 65 6e 74 20 73 74 72 75 63 74 75 72 65 0a 09 20 ent structure..
14470 20 54 68 69 73 20 69 73 20 74 68 65 20 68 65 61 This is the hea
14480 64 20 6f 66 20 61 6c 6c 20 6e 6f 64 65 73 20 73 d of all nodes s
14490 70 6c 69 63 65 64 20 6f 75 74 20 6f 66 20 74 68 pliced out of th
144a0 65 20 74 72 65 65 20 62 75 74 20 6e 6f 74 0a 09 e tree but not..
144b0 20 20 79 65 74 20 66 72 65 65 27 64 2e 20 54 68 yet free'd. Th
144c0 69 73 20 69 73 20 6e 65 65 64 65 64 20 69 6e 20 is is needed in
144d0 6f 72 64 65 72 20 74 6f 20 61 76 6f 69 64 20 6d order to avoid m
144e0 65 6d 6f 72 79 20 74 72 61 73 68 69 6e 67 0a 09 emory trashing..
144f0 20 20 77 68 65 6e 20 6f 6e 65 20 74 68 72 65 61 when one threa
14500 64 20 64 65 6c 65 74 65 73 20 74 68 65 20 6e 6f d deletes the no
14510 64 65 20 61 6e 64 20 74 68 65 20 73 65 63 6f 6e de and the secon
14520 64 20 74 68 72 65 61 64 20 73 74 69 6c 6c 0a 09 d thread still..
14530 20 20 68 6f 6c 64 73 20 74 68 65 20 72 65 66 65 holds the refe
14540 72 65 6e 63 65 20 74 6f 20 69 74 20 6f 76 65 72 rence to it over
14550 20 74 68 65 20 6e 6f 64 65 63 6d 64 20 63 6f 6d the nodecmd com
14560 6d 61 6e 64 2e 0a 09 20 20 41 64 64 65 64 20 22 mand... Added "
14570 73 74 72 75 63 74 20 64 6f 6d 4e 6f 64 65 20 2a struct domNode *
14580 6e 65 78 74 44 65 6c 65 74 65 64 22 20 74 6f 20 nextDeleted" to
14590 6d 61 69 6e 74 61 69 6e 20 74 68 65 20 6c 69 73 maintain the lis
145a0 74 20 6f 66 0a 09 20 20 64 65 6c 65 74 65 64 20 t of.. deleted
145b0 6e 6f 64 65 73 2c 20 61 73 20 65 78 70 6c 61 69 nodes, as explai
145c0 6e 65 64 20 61 62 6f 76 65 2e 0a 09 0a 09 2a 20 ned above.....*
145d0 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 generic/tcldom.c
145e0 3a 20 69 6e 74 72 6f 64 75 63 65 64 20 63 68 61 : introduced cha
145f0 6e 67 65 73 20 69 6e 20 74 68 65 20 77 61 79 20 nges in the way
14600 6e 6f 64 65 73 20 61 72 65 0a 09 20 20 64 65 6c nodes are.. del
14610 65 74 65 64 20 66 72 6f 6d 20 74 68 65 20 74 72 eted from the tr
14620 65 65 20 69 6e 20 6d 75 6c 74 69 2d 74 68 72 65 ee in multi-thre
14630 61 64 69 6e 67 20 73 68 61 72 65 64 2d 74 72 65 ading shared-tre
14640 65 20 73 69 74 75 61 74 69 6f 6e 73 2e 0a 09 20 e situations...
14650 20 57 65 20 6e 6f 77 20 64 6f 20 6e 6f 74 20 64 We now do not d
14660 65 6c 65 74 65 20 6e 6f 64 65 73 20 68 61 76 69 elete nodes havi
14670 6e 67 20 72 65 66 65 72 65 6e 63 65 73 20 66 72 ng references fr
14680 6f 6d 20 6e 6f 64 65 63 6d 64 73 20 66 72 6f 6d om nodecmds from
14690 0a 09 20 20 64 69 66 66 65 72 65 6e 74 20 74 68 .. different th
146a0 72 65 61 64 73 2f 69 6e 74 65 72 70 72 65 74 65 reads/interprete
146b0 72 73 2e 20 49 6e 73 74 65 61 64 2c 20 77 65 20 rs. Instead, we
146c0 70 75 74 20 74 68 65 6d 20 6f 6e 20 74 68 65 20 put them on the
146d0 0a 09 20 20 64 65 6c 65 74 65 64 20 6e 6f 64 65 .. deleted node
146e0 73 20 6c 69 73 74 20 61 6e 64 20 74 65 61 72 2d s list and tear-
146f0 64 6f 77 6e 20 74 68 69 73 20 6c 69 73 74 20 77 down this list w
14700 68 65 6e 20 77 65 20 64 65 6c 65 74 65 20 74 68 hen we delete th
14710 65 0a 09 20 20 64 6f 63 75 6d 65 6e 74 2e 20 0a e.. document. .
14720 0a 09 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 ..* generic/tcld
14730 6f 6d 2e 63 3a 20 77 68 65 6e 20 61 20 74 68 72 om.c: when a thr
14740 65 61 64 20 64 65 74 61 63 68 65 73 20 66 72 6f ead detaches fro
14750 6d 20 74 68 65 20 73 68 61 72 65 64 20 64 6f 6d m the shared dom
14760 20 74 72 65 65 0a 09 20 20 69 74 20 77 69 6c 6c tree.. it will
14770 20 6e 6f 77 20 70 72 6f 70 65 72 6c 79 20 64 65 now properly de
14780 6c 65 74 65 20 61 6c 6c 20 63 6f 6d 6d 61 6e 64 lete all command
14790 73 20 61 74 74 61 63 68 65 64 20 74 6f 20 6e 6f s attached to no
147a0 64 65 73 2e 0a 09 20 20 41 6c 73 6f 2c 20 74 68 des... Also, th
147b0 65 20 64 6f 6d 20 6f 62 6a 65 63 74 20 63 6f 6d e dom object com
147c0 6d 61 6e 64 20 62 61 72 6b 73 20 77 68 65 6e 20 mand barks when
147d0 61 74 74 65 6d 70 74 69 6e 67 20 74 6f 20 75 73 attempting to us
147e0 65 20 61 6c 72 65 61 64 79 0a 09 20 20 64 65 6c e already.. del
147f0 65 74 65 64 20 6e 6f 64 65 20 28 74 68 65 20 6e eted node (the n
14800 6f 64 65 20 70 75 74 20 6f 6e 20 74 68 65 20 64 ode put on the d
14810 65 6c 65 74 69 6f 6e 20 6c 69 73 74 29 2e 0a 09 eletion list)...
14820 0a 32 30 30 32 2d 31 31 2d 31 35 20 20 52 6f 6c .2002-11-15 Rol
14830 66 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 f Ade <rolf@poi
14840 6e 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 ntsman.de>..
14850 20 20 20 20 2a 20 74 65 73 74 73 2f 64 6f 6d 2e * tests/dom.
14860 74 65 73 74 3a 20 41 64 64 65 64 20 73 6f 6d 65 test: Added some
14870 20 74 65 73 74 73 20 66 6f 72 20 61 73 20 79 65 tests for as ye
14880 74 20 6e 6f 74 20 63 6f 76 65 72 65 64 20 6e 6f t not covered no
14890 64 65 0a 20 20 20 20 20 20 20 20 20 20 6d 65 74 de. met
148a0 68 6f 64 73 2e 0a 0a 20 20 20 20 20 20 20 20 2a hods... *
148b0 20 74 65 73 74 73 2f 68 74 6d 6c 72 65 61 64 65 tests/htmlreade
148c0 72 2e 74 65 73 74 3a 20 4d 69 6e 6f 72 20 66 69 r.test: Minor fi
148d0 78 3a 20 61 64 64 65 64 20 74 63 6c 74 65 73 74 x: added tcltest
148e0 20 63 6c 65 61 6e 75 70 2e 0a 0a 20 20 20 20 20 cleanup...
148f0 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 74 63 6c * generic/tcl
14900 64 6f 6d 2e 63 3a 20 43 68 61 6e 67 65 64 20 27 dom.c: Changed '
14910 61 74 74 72 69 62 75 74 65 73 27 20 6d 65 74 68 attributes' meth
14920 6f 64 20 74 6f 20 72 65 74 75 72 6e 20 74 68 65 od to return the
14930 0a 20 20 20 20 20 20 20 20 20 20 65 6d 70 74 79 . empty
14940 20 73 74 72 69 6e 67 20 61 73 20 72 65 73 75 6c string as resul
14950 74 20 66 6f 72 20 6e 6f 6e 20 65 6c 65 6d 65 6e t for non elemen
14960 74 20 6e 6f 64 65 73 2c 20 61 63 63 6f 72 64 69 t nodes, accordi
14970 6e 67 20 74 6f 0a 20 20 20 20 20 20 20 20 20 20 ng to.
14980 74 68 65 20 44 4f 4d 20 32 20 72 65 63 2c 20 63 the DOM 2 rec, c
14990 68 61 70 74 65 72 20 22 49 6e 74 65 72 66 61 63 hapter "Interfac
149a0 65 20 4e 6f 64 65 22 2e 20 46 69 78 65 64 20 61 e Node". Fixed a
149b0 20 73 65 67 20 66 61 75 6c 74 0a 20 20 20 20 20 seg fault.
149c0 20 20 20 20 20 69 6e 20 68 61 73 41 74 74 72 69 in hasAttri
149d0 62 75 74 65 4e 53 2e 20 43 6c 6f 73 65 64 20 61 buteNS. Closed a
149e0 20 6d 65 6d 20 6c 65 61 6b 20 69 6e 20 61 70 70 mem leak in app
149f0 65 6e 64 58 4d 4c 2e 0a 0a 20 20 20 20 20 20 20 endXML...
14a00 20 2a 20 6c 69 62 2f 74 64 6f 6d 2e 74 63 6c 3a * lib/tdom.tcl:
14a10 20 41 64 64 65 64 20 73 69 6d 70 6c 65 20 64 65 Added simple de
14a20 62 75 67 67 69 6e 67 20 66 65 61 74 75 72 65 20 bugging feature
14a30 74 6f 0a 20 20 20 20 20 20 20 20 20 20 74 44 4f to. tDO
14a40 4d 3a 3a 65 78 74 52 65 66 48 61 6e 64 6c 65 72 M::extRefHandler
14a50 2e 0a 0a 32 30 30 32 2d 31 31 2d 31 34 20 20 5a ...2002-11-14 Z
14a60 6f 72 61 6e 20 56 61 73 69 6c 6a 65 76 69 63 20 oran Vasiljevic
14a70 20 3c 7a 6f 72 61 6e 40 61 72 63 68 69 77 61 72 <zoran@archiwar
14a80 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 67 65 6e 65 72 e.com>...* gener
14a90 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a 20 66 69 78 ic/tcldom.c: fix
14aa0 65 64 20 55 4d 52 20 72 65 70 6f 72 74 20 66 72 ed UMR report fr
14ab0 6f 6d 20 50 75 72 69 66 79 0a 0a 32 30 30 32 2d om Purify..2002-
14ac0 31 31 2d 31 32 20 20 52 6f 6c 66 20 41 64 65 20 11-12 Rolf Ade
14ad0 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
14ae0 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 .de>.. *
14af0 77 69 6e 2f 6d 61 6b 65 66 69 6c 65 2e 76 63 0a win/makefile.vc.
14b00 20 20 20 20 20 20 20 20 2a 20 65 78 74 65 6e 73 * extens
14b10 69 6f 6e 73 2f 74 6e 63 2f 6d 61 6b 65 66 69 6c ions/tnc/makefil
14b20 65 2e 76 63 3a 20 55 70 64 61 74 65 64 20 74 6f e.vc: Updated to
14b30 20 74 68 65 20 6e 65 77 20 76 65 72 73 69 6f 6e the new version
14b40 20 6e 72 0a 20 20 20 20 20 20 20 20 20 20 61 6e nr. an
14b50 64 20 74 68 65 20 6c 69 62 20 6e 61 6d 65 20 63 d the lib name c
14b60 6f 6e 76 65 6e 74 69 6f 6e 20 6f 66 20 74 68 65 onvention of the
14b70 20 6e 65 77 20 54 45 41 20 32 20 62 75 69 6c 64 new TEA 2 build
14b80 20 73 79 73 74 65 6d 2e 0a 0a 32 30 30 32 2d 31 system...2002-1
14b90 31 2d 30 39 20 20 52 6f 6c 66 20 41 64 65 20 20 1-09 Rolf Ade
14ba0 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
14bb0 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 de>.. * g
14bc0 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 3a eneric/tcldom.c:
14bd0 20 48 54 4d 4c 20 73 65 72 69 61 6c 69 7a 65 72 HTML serializer
14be0 3a 20 4e 6f 20 63 6f 6e 74 65 6e 74 20 65 73 63 : No content esc
14bf0 61 70 69 6e 67 20 66 6f 72 0a 20 20 20 20 20 20 aping for.
14c00 20 20 20 20 74 68 65 20 48 54 4d 4c 20 74 61 67 the HTML tag
14c10 73 20 73 63 72 69 70 74 20 61 6e 64 20 73 74 79 s script and sty
14c20 6c 65 2c 20 61 63 63 6f 72 64 69 6e 67 20 74 6f le, according to
14c30 20 58 53 4c 54 20 72 65 63 0a 20 20 20 20 20 20 XSLT rec.
14c40 20 20 20 20 31 36 2e 32 2e 20 46 69 78 65 64 20 16.2. Fixed
14c50 61 20 6d 65 6d 6f 72 79 20 70 72 6f 62 6c 65 6d a memory problem
14c60 20 64 75 72 69 6e 67 20 69 6e 74 65 72 70 20 64 during interp d
14c70 65 6c 65 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 20 eletion...
14c80 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e * generic/dom.
14c90 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 c. * gene
14ca0 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e 63 3a 20 ric/domxpath.c:
14cb0 4d 69 6e 6f 72 20 63 68 61 6e 67 65 73 2e 0a 0a Minor changes...
14cc0 32 30 30 32 2d 31 31 2d 30 33 20 20 52 6f 6c 66 2002-11-03 Rolf
14cd0 20 41 64 65 20 20 3c 72 6f 6c 66 40 70 6f 69 6e Ade <rolf@poin
14ce0 74 73 6d 61 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 tsman.de>..
14cf0 20 20 20 2a 20 6c 69 62 2f 74 64 6f 6d 2e 74 63 * lib/tdom.tc
14d00 6c 3a 20 74 44 4f 4d 3a 3a 78 6d 6c 4f 70 65 6e l: tDOM::xmlOpen
14d10 46 69 6c 65 20 66 69 78 20 66 6f 72 20 66 69 6c File fix for fil
14d20 65 73 20 3c 20 34 20 42 79 74 65 20 73 69 7a 65 es < 4 Byte size
14d30 2e 20 20 20 20 0a 20 20 20 20 20 20 20 20 0a 20 . . .
14d40 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
14d50 2f 64 6f 6d 78 70 61 74 68 2e 63 0a 20 20 20 20 /domxpath.c.
14d60 20 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f * generic/do
14d70 6d 78 70 61 74 68 2e 68 3a 20 46 69 78 65 64 20 mxpath.h: Fixed
14d80 72 69 64 69 63 75 6c 6f 75 73 6c 79 20 6c 6f 6e ridiculously lon
14d90 67 20 72 75 6e 74 69 6d 65 20 6f 66 0a 20 20 20 g runtime of.
14da0 20 20 20 20 20 20 20 63 65 72 74 61 69 6e 20 2f certain /
14db0 2f 20 65 78 70 72 20 6f 6e 20 63 65 72 74 61 69 / expr on certai
14dc0 6e 20 64 6f 63 75 6d 65 6e 74 73 2e 20 44 75 72 n documents. Dur
14dd0 69 6e 67 20 61 6e 61 6c 79 73 69 73 20 61 6e 64 ing analysis and
14de0 0a 20 20 20 20 20 20 20 20 20 20 74 65 73 74 69 . testi
14df0 6e 67 2c 20 69 74 20 74 75 72 6e 65 64 20 6f 75 ng, it turned ou
14e00 74 2c 20 74 68 61 74 20 69 74 20 77 6f 75 6c 64 t, that it would
14e10 20 68 61 76 65 20 62 65 65 6e 20 61 6e 20 65 76 have been an ev
14e20 65 6e 0a 20 20 20 20 20 20 20 20 20 20 73 69 6d en. sim
14e30 70 6c 65 72 20 61 70 70 72 6f 61 63 68 2c 20 74 pler approach, t
14e40 6f 20 73 69 6d 70 6c 79 20 65 78 70 61 6e 64 20 o simply expand
14e50 74 68 65 20 61 62 62 72 65 76 69 61 74 69 6f 6e the abbreviation
14e60 20 2f 2f 20 69 6e 0a 20 20 20 20 20 20 20 20 20 // in.
14e70 20 74 68 65 20 61 63 63 6f 72 64 69 6e 67 20 70 the according p
14e80 72 6f 64 75 63 74 69 6f 6e 73 2e 20 54 68 6f 75 roductions. Thou
14e90 67 68 2c 20 74 68 65 20 63 68 6f 73 65 6e 20 69 gh, the chosen i
14ea0 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 0a 20 20 mplementation.
14eb0 20 20 20 20 20 20 20 20 73 65 65 6d 73 20 6f 66 seems of
14ec0 74 65 6e 20 74 6f 20 62 65 20 28 73 6c 69 67 68 ten to be (sligh
14ed0 74 6c 79 29 20 66 61 73 74 65 72 20 61 6e 64 20 tly) faster and
14ee0 69 73 20 61 20 73 74 61 72 74 20 74 6f 0a 20 20 is a start to.
14ef0 20 20 20 20 20 20 20 20 63 6f 6c 6c 65 63 74 20 collect
14f00 65 78 70 65 72 69 65 6e 63 65 73 20 77 69 74 68 experiences with
14f10 20 65 61 72 6c 79 20 70 72 65 64 69 63 61 74 65 early predicate
14f20 20 65 76 61 6c 75 61 74 69 6f 6e 2e 0a 0a 32 30 evaluation...20
14f30 30 32 2d 31 31 2d 30 32 20 20 5a 6f 72 61 6e 20 02-11-02 Zoran
14f40 56 61 73 69 6c 6a 65 76 69 63 20 20 3c 7a 6f 72 Vasiljevic <zor
14f50 61 6e 40 61 72 63 68 69 77 61 72 65 2e 63 6f 6d an@archiware.com
14f60 3e 0a 0a 09 2a 20 6c 69 62 2f 74 64 6f 6d 68 74 >...* lib/tdomht
14f70 6d 6c 2e 74 63 6c 3a 20 72 65 6d 6f 76 65 64 20 ml.tcl: removed
14f80 69 6e 20 66 61 76 6f 75 72 20 6f 66 20 6e 65 77 in favour of new
14f90 20 74 64 6f 6d 20 65 78 74 65 6e 73 69 6f 6e 0a tdom extension.
14fa0 0a 09 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f 74 ..* extensions/t
14fb0 64 6f 6d 68 74 6d 6c 3a 20 61 64 64 65 64 20 6e domhtml: added n
14fc0 65 77 20 74 64 6f 6d 20 65 78 74 65 6e 73 69 6f ew tdom extensio
14fd0 6e 20 66 6f 72 20 48 54 4d 4c 0a 09 20 20 67 65 n for HTML.. ge
14fe0 6e 65 72 61 74 69 6f 6e 20 62 61 73 65 64 20 6f neration based o
14ff0 6e 20 74 64 6f 6d 68 74 6d 6c 2e 74 63 6c 20 61 n tdomhtml.tcl a
15000 6e 64 20 69 6e 74 65 72 6e 61 6c 20 74 64 6f 6d nd internal tdom
15010 20 0a 09 20 20 61 70 70 65 6e 64 46 72 6f 6d 53 .. appendFromS
15020 63 72 69 70 74 20 6d 65 63 68 61 6e 69 73 6d 2e cript mechanism.
15030 20 54 68 69 73 20 69 73 20 61 20 54 63 6c 2d 6f This is a Tcl-o
15040 6e 6c 79 20 65 78 74 65 6e 73 69 6f 6e 0a 09 20 nly extension..
15050 20 77 68 69 63 68 20 6d 65 72 65 6c 79 20 6e 65 which merely ne
15060 65 64 73 20 74 6f 20 62 65 20 22 6d 61 6b 65 20 eds to be "make
15070 69 6e 73 74 61 6c 6c 22 27 65 64 2e 0a 0a 09 2a install"'ed....*
15080 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 3a 20 72 65 Makefile.in: re
15090 6d 6f 76 65 64 20 74 72 61 63 65 73 20 6f 66 20 moved traces of
150a0 74 64 6f 6d 68 74 6d 6c 2e 74 63 6c 20 66 69 6c tdomhtml.tcl fil
150b0 65 20 73 69 6e 63 65 20 69 74 0a 09 20 20 6e 6f e since it.. no
150c0 77 20 6c 69 76 65 73 20 69 6e 20 69 74 73 20 6f w lives in its o
150d0 77 6e 20 65 78 74 65 6e 73 69 6f 6e 0a 0a 20 09 wn extension.. .
150e0 2a 20 63 6f 6e 66 69 67 75 72 65 2e 69 6e 3a 0a * configure.in:.
150f0 09 2a 20 63 6f 6e 66 69 67 75 72 65 3a 20 61 64 .* configure: ad
15100 64 65 64 20 54 44 4f 4d 5f 4c 44 5f 53 45 41 52 ded TDOM_LD_SEAR
15110 43 48 5f 46 4c 41 47 53 20 70 72 6f 63 65 73 73 CH_FLAGS process
15120 69 6e 67 20 74 6f 20 68 65 6c 70 0a 09 20 20 72 ing to help.. r
15130 75 6e 74 69 6d 65 20 6c 69 6e 6b 65 72 20 6c 6f untime linker lo
15140 63 61 74 65 20 65 76 65 6e 74 75 61 6c 20 63 75 cate eventual cu
15150 73 74 6f 6d 20 73 68 61 72 65 64 20 6c 69 62 72 stom shared libr
15160 61 72 69 65 73 0a 0a 32 30 30 32 2d 31 31 2d 30 aries..2002-11-0
15170 31 20 20 52 6f 6c 66 20 41 64 65 20 20 3c 72 6f 1 Rolf Ade <ro
15180 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e 64 65 3e lf@pointsman.de>
15190 0a 0a 20 20 20 20 20 20 20 20 2a 20 4d 61 6b 65 .. * Make
151a0 66 69 6c 65 2e 69 6e 3a 20 46 69 78 65 64 20 27 file.in: Fixed '
151b0 6d 69 73 73 69 6e 67 20 73 65 70 61 72 61 74 6f missing separato
151c0 72 27 20 70 72 6f 62 6c 65 6d 20 28 75 73 69 6e r' problem (usin
151d0 67 20 74 61 62 0a 20 20 20 20 20 20 20 20 20 20 g tab.
151e0 69 6e 73 74 65 61 64 20 6f 66 20 77 68 69 74 65 instead of white
151f0 20 73 70 61 63 65 29 2e 0a 0a 20 20 20 20 20 20 space)...
15200 20 20 2a 20 6c 69 62 2f 74 64 6f 6d 2e 74 63 6c * lib/tdom.tcl
15210 3a 20 55 70 64 61 74 65 64 20 66 75 6e 63 74 69 : Updated functi
15220 6f 6e 2d 61 76 61 69 6c 61 62 6c 65 2c 20 63 6f on-available, co
15230 72 72 65 63 74 65 64 0a 20 20 20 20 20 20 20 20 rrected.
15240 20 20 72 69 64 69 63 75 6c 6f 75 73 20 74 79 70 ridiculous typ
15250 6f 20 62 79 20 6d 79 20 28 65 6c 65 6d 65 6e 74 o by my (element
15260 2d 61 76 61 6c 69 61 62 6c 65 20 2d 3e 0a 20 20 -avaliable ->.
15270 20 20 20 20 20 20 20 20 65 6c 65 6d 65 6e 74 2d element-
15280 61 76 61 69 6c 61 62 6c 65 29 2e 20 53 6f 6d 65 available). Some
15290 77 68 61 74 20 66 69 78 65 64 20 61 6e 64 20 75 what fixed and u
152a0 70 64 61 74 65 64 0a 20 20 20 20 20 20 20 20 20 pdated.
152b0 20 65 6c 65 6d 65 6e 74 2d 61 76 61 69 6c 61 62 element-availab
152c0 6c 65 2e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 le... * g
152d0 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e eneric/domxpath.
152e0 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 c. * test
152f0 73 2f 78 70 61 74 68 2e 63 3a 20 46 75 6c 6c 20 s/xpath.c: Full
15300 71 75 61 6c 69 66 69 65 64 20 58 50 61 74 68 20 qualified XPath
15310 66 75 6e 63 74 69 6f 6e 20 6e 61 6d 65 73 20 6e function names n
15320 6f 77 20 61 72 65 0a 20 20 20 20 20 20 20 20 20 ow are.
15330 20 61 63 63 65 70 74 65 64 20 61 73 20 73 79 6e accepted as syn
15340 74 61 63 74 69 63 61 6c 20 63 6f 72 72 65 63 74 tactical correct
15350 20 65 78 70 72 2e 20 54 68 65 20 66 75 6e 63 74 expr. The funct
15360 69 6f 6e 20 63 61 6c 6c 20 69 73 0a 20 20 20 20 ion call is.
15370 20 20 20 20 20 20 72 65 73 6f 6c 76 65 64 20 74 resolved t
15380 6f 20 74 68 65 20 54 63 6c 20 70 72 6f 63 0a 20 o the Tcl proc.
15390 20 20 20 20 20 20 20 20 20 64 6f 6d 3a 3a 78 70 dom::xp
153a0 61 74 68 46 75 6e 63 3a 3a 3c 6e 61 6d 65 73 70 athFunc::<namesp
153b0 61 63 65 55 52 49 3e 3a 3a 3c 66 75 6e 63 74 69 aceURI>::<functi
153c0 6f 6e 4c 6f 63 61 6c 6e 61 6d 65 3e 2e 0a 0a 20 onLocalname>...
153d0 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
153e0 2f 64 6f 6d 2e 63 0a 20 20 20 20 20 20 20 20 2a /dom.c. *
153f0 20 67 65 6e 65 72 69 63 2f 64 6f 6d 2e 68 0a 20 generic/dom.h.
15400 20 20 20 20 20 20 20 2a 20 67 65 6e 65 72 69 63 * generic
15410 2f 64 6f 6d 78 73 6c 74 2e 63 0a 20 20 20 20 20 /domxslt.c.
15420 20 20 20 2a 20 67 65 6e 65 72 69 63 2f 6e 6f 64 * generic/nod
15430 65 63 6d 64 2e 63 0a 20 20 20 20 20 20 20 20 2a ecmd.c. *
15440 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e generic/tcldom.
15450 63 0a 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 c. * test
15460 73 2f 78 70 61 74 68 2e 74 65 73 74 3a 20 46 69 s/xpath.test: Fi
15470 78 65 64 20 6f 6c 64 20 70 72 6f 62 6c 65 6d 20 xed old problem
15480 77 69 74 68 20 43 6f 6d 62 69 6e 65 20 53 65 74 with Combine Set
15490 20 58 50 61 74 68 0a 20 20 20 20 20 20 20 20 20 XPath.
154a0 20 65 78 70 72 65 73 73 69 6f 6e 73 20 61 6e 64 expressions and
154b0 20 58 53 4c 54 20 73 6f 72 74 73 20 6f 6e 20 74 XSLT sorts on t
154c0 72 65 65 73 2c 20 69 6e 20 77 68 69 63 68 20 6e rees, in which n
154d0 65 77 20 6e 6f 64 65 73 20 61 72 65 0a 20 20 20 ew nodes are.
154e0 20 20 20 20 20 20 20 69 6e 73 65 72 74 65 64 20 inserted
154f0 61 66 74 65 72 20 74 68 65 20 69 6e 69 74 69 61 after the initia
15500 6c 20 70 61 72 73 69 6e 67 20 28 64 6f 63 20 6f l parsing (doc o
15510 72 64 65 72 20 6f 66 20 72 65 73 75 6c 74 29 2e rder of result).
15520 0a 20 20 20 20 0a 32 30 30 32 2d 31 30 2d 33 31 . .2002-10-31
15530 20 20 5a 6f 72 61 6e 20 56 61 73 69 6c 6a 65 76 Zoran Vasiljev
15540 69 63 20 20 3c 7a 6f 72 61 6e 40 61 72 63 68 69 ic <zoran@archi
15550 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 6c 69 ware.com>...* li
15560 62 2f 74 64 6f 6d 2e 74 63 6c 3a 20 64 6f 65 73 b/tdom.tcl: does
15570 20 6e 6f 77 20 22 70 61 63 6b 61 67 65 20 72 65 now "package re
15580 71 75 69 72 65 20 74 64 6f 6d 22 20 6f 6e 6c 79 quire tdom" only
15590 2c 0a 09 20 20 69 6e 73 74 65 61 64 20 6f 66 20 ,.. instead of
155a0 22 70 61 63 6b 61 67 65 20 70 72 6f 76 69 64 65 "package provide
155b0 20 74 64 6f 6d 20 30 2e 37 2e 35 22 2e 0a 09 20 tdom 0.7.5"...
155c0 20 54 68 65 20 22 70 61 63 6b 61 67 65 20 70 72 The "package pr
155d0 6f 76 69 64 65 22 20 77 69 74 68 20 61 20 63 6f ovide" with a co
155e0 72 72 65 63 74 20 76 65 72 73 69 6f 6e 20 69 73 rrect version is
155f0 0a 20 09 20 20 64 6f 6e 65 20 62 79 20 74 68 65 . . done by the
15600 20 43 2d 6d 6f 64 75 6c 65 20 6e 6f 77 20 28 77 C-module now (w
15610 68 69 63 68 20 69 73 20 62 65 74 74 65 72 29 2e hich is better).
15620 0a 09 20 20 53 6f 6d 65 20 63 6f 73 6d 65 74 69 .. Some cosmeti
15630 63 20 63 68 61 6e 67 65 73 20 61 73 20 77 65 6c c changes as wel
15640 6c 20 28 6b 65 65 70 20 38 30 2d 63 6f 6c 75 6d l (keep 80-colum
15650 6e 73 20 77 69 64 65 21 29 2e 0a 0a 20 20 09 2a ns wide!)... .*
15660 20 6c 69 62 2f 74 64 6f 6d 68 74 6d 6c 2e 74 63 lib/tdomhtml.tc
15670 6c 3a 20 72 65 6e 61 6d 65 64 20 76 65 72 73 69 l: renamed versi
15680 6f 6e 20 6f 66 20 64 6f 6d 68 74 6d 6c 2e 74 63 on of domhtml.tc
15690 6c 0a 09 20 20 41 6c 73 6f 20 64 69 64 20 73 6f l.. Also did so
156a0 6d 65 20 73 69 6d 70 6c 69 66 69 63 61 74 69 6f me simplificatio
156b0 6e 20 69 6e 20 68 74 6d 6c 32 74 63 6c 2c 20 72 n in html2tcl, r
156c0 65 6e 61 6d 65 64 20 73 6f 6d 65 0a 09 20 20 69 enamed some.. i
156d0 6e 74 65 72 6e 61 6c 20 70 72 69 76 61 74 65 20 nternal private
156e0 66 75 6e 63 74 69 6f 6e 73 20 61 6e 64 20 61 64 functions and ad
156f0 64 65 64 20 6e 61 6d 65 73 70 61 63 65 2d 77 69 ded namespace-wi
15700 64 65 20 0a 09 20 20 64 65 66 69 6e 69 74 69 6f de .. definitio
15710 6e 73 20 6f 66 20 68 74 6d 6c 20 63 6f 6d 6d 61 ns of html comma
15720 6e 64 20 6e 61 6d 65 73 2e 20 54 68 65 20 5f 32 nd names. The _2
15730 74 63 6c 20 70 72 6f 63 65 64 75 72 65 0a 09 20 tcl procedure..
15740 20 6e 6f 77 20 63 72 65 61 74 65 73 20 74 68 65 now creates the
15750 20 6d 69 73 73 69 6e 67 20 65 6c 65 6d 65 6e 74 missing element
15760 4e 6f 64 65 20 63 6f 6d 6d 61 6e 64 73 20 61 73 Node commands as
15770 20 69 74 0a 09 20 20 70 61 72 73 65 73 20 74 68 it.. parses th
15780 65 20 68 74 6d 6c 20 63 6f 64 65 2c 20 6f 6e 20 e html code, on
15790 74 68 65 20 66 6c 79 2e 0a 0a 09 2a 20 4d 61 6b the fly....* Mak
157a0 65 66 69 6c 65 2e 69 6e 3a 20 63 68 61 6e 67 65 efile.in: change
157b0 64 20 6f 72 64 65 72 20 6f 66 20 6c 6f 61 64 73 d order of loads
157c0 20 69 6e 20 74 68 65 20 70 6b 67 49 6e 64 65 78 in the pkgIndex
157d0 2e 74 63 6c 2e 0a 09 20 20 46 69 72 73 74 20 74 .tcl... First t
157e0 68 65 20 43 2d 6d 6f 64 75 6c 65 20 69 73 20 6c he C-module is l
157f0 6f 61 64 65 64 2c 20 66 6f 6c 6c 6f 77 65 64 20 oaded, followed
15800 62 79 20 74 68 65 20 74 64 6f 6d 2e 74 63 6c 20 by the tdom.tcl
15810 0a 09 20 20 6c 69 62 72 61 72 79 20 66 69 6c 65 .. library file
15820 2c 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 74 68 , followed by th
15830 65 20 74 64 6f 6d 68 74 6d 6c 2e 74 63 6c 20 6c e tdomhtml.tcl l
15840 69 62 72 61 72 79 20 66 69 6c 65 2e 0a 20 09 20 ibrary file.. .
15850 20 54 68 75 73 2c 20 74 68 65 20 74 64 6f 6d 68 Thus, the tdomh
15860 74 6d 6c 2e 74 63 6c 20 68 61 73 20 62 65 63 6f tml.tcl has beco
15870 6d 65 20 74 68 65 20 66 69 72 73 74 20 63 6c 61 me the first cla
15880 73 73 20 63 69 74 69 7a 65 6e 2e 0a 0a 09 2a 20 ss citizen....*
15890 43 48 41 4e 47 45 53 3a 20 61 64 64 65 64 20 74 CHANGES: added t
158a0 68 69 73 20 66 69 6c 65 0a 0a 32 30 30 32 2d 31 his file..2002-1
158b0 30 2d 33 31 20 20 52 6f 6c 66 20 41 64 65 20 20 0-31 Rolf Ade
158c0 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e 2e <rolf@pointsman.
158d0 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a 20 67 de>.. * g
158e0 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e 63 0a eneric/tcldom.c.
158f0 20 20 20 20 20 20 20 20 2a 20 74 65 73 74 73 2f * tests/
15900 64 6f 6d 2e 74 65 73 74 3a 20 46 69 78 65 64 20 dom.test: Fixed
15910 61 72 67 75 6d 65 6e 74 20 63 68 65 63 6b 20 6f argument check o
15920 66 20 64 6f 6d 4f 62 6a 20 6d 65 74 68 6f 64 0a f domObj method.
15930 20 20 20 20 20 20 20 20 20 20 64 6f 63 75 6d 65 docume
15940 6e 74 45 6c 65 6d 65 6e 74 2e 20 46 69 78 65 64 ntElement. Fixed
15950 20 64 6f 6d 4e 6f 64 65 20 6d 65 74 68 6f 64 20 domNode method
15960 61 70 70 65 6e 64 46 72 6f 6d 4c 69 73 74 20 28 appendFromList (
15970 77 72 6f 6e 67 0a 20 20 20 20 20 20 20 20 20 20 wrong.
15980 6c 69 73 74 20 66 6f 72 6d 61 74 20 63 6f 75 6c list format coul
15990 64 20 72 65 73 75 6c 74 20 69 6e 20 73 65 67 20 d result in seg
159a0 66 61 75 6c 74 29 2e 20 54 68 61 6e 6b 73 20 74 fault). Thanks t
159b0 6f 20 4f 6c 65 67 0a 20 20 20 20 20 20 20 20 20 o Oleg.
159c0 20 4f 6c 65 69 6e 69 63 6b 2c 20 66 6f 72 20 72 Oleinick, for r
159d0 65 70 6f 72 74 69 6e 67 20 62 6f 74 68 20 70 72 eporting both pr
159e0 6f 62 6c 65 6d 73 2e 0a 0a 20 20 20 20 20 20 20 oblems...
159f0 20 2a 20 67 65 6e 65 72 69 63 2f 64 6f 6d 78 73 * generic/domxs
15a00 6c 74 2e 63 0a 20 20 20 20 20 20 20 20 2a 20 67 lt.c. * g
15a10 65 6e 65 72 69 63 2f 64 6f 6d 78 70 61 74 68 2e eneric/domxpath.
15a20 63 0a 20 20 20 20 20 20 20 20 2a 20 67 65 6e 65 c. * gene
15a30 72 69 63 2f 64 6f 6d 2e 63 3a 20 46 69 78 65 64 ric/dom.c: Fixed
15a40 20 6d 65 6d 20 6c 65 61 6b 73 2f 70 6f 73 73 69 mem leaks/possi
15a50 62 6c 65 20 69 6e 76 61 6c 69 64 20 72 65 61 64 ble invalid read
15a60 0a 20 20 20 20 0a 32 30 30 32 2d 31 30 2d 33 30 . .2002-10-30
15a70 20 20 5a 6f 72 61 6e 20 56 61 73 69 6c 6a 65 76 Zoran Vasiljev
15a80 69 63 20 20 3c 7a 6f 72 61 6e 40 61 72 63 68 69 ic <zoran@archi
15a90 77 61 72 65 2e 63 6f 6d 3e 0a 0a 09 2a 20 67 65 ware.com>...* ge
15aa0 6e 65 72 69 63 2f 64 6f 6d 78 73 6c 74 2e 63 3a neric/domxslt.c:
15ab0 20 61 64 64 65 64 20 70 72 6f 70 65 72 20 63 61 added proper ca
15ac0 73 74 20 74 6f 20 61 72 67 75 6d 65 6e 74 73 20 st to arguments
15ad0 70 61 73 73 65 64 20 74 6f 0a 09 20 20 46 52 45 passed to.. FRE
15ae0 45 28 29 20 6d 61 63 72 6f 20 74 6f 20 61 76 6f E() macro to avo
15af0 69 64 20 63 6f 6d 70 69 6c 65 72 20 62 61 72 6b id compiler bark
15b00 69 6e 67 20 61 74 20 75 73 2e 0a 0a 32 30 30 32 ing at us...2002
15b10 2d 31 30 2d 33 30 20 20 52 6f 6c 66 20 41 64 65 -10-30 Rolf Ade
15b20 20 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 <rolf@pointsma
15b30 6e 2e 64 65 3e 0a 0a 20 20 20 20 20 20 20 20 2a n.de>.. *
15b40 20 67 65 6e 65 72 69 63 2f 74 63 6c 64 6f 6d 2e generic/tcldom.
15b50 63 3a 20 41 64 64 65 64 20 2d 65 73 63 61 70 65 c: Added -escape
15b60 4e 6f 6e 41 53 43 49 49 20 61 6e 64 20 2d 68 74 NonASCII and -ht
15b70 6d 6c 45 6e 74 69 74 69 65 73 0a 20 20 20 20 20 mlEntities.
15b80 20 20 20 20 20 61 6c 73 6f 20 74 6f 20 6e 6f 64 also to nod
15b90 65 5f 75 73 61 67 65 20 61 6e 64 20 64 6f 6d 4f e_usage and domO
15ba0 62 6a 5f 75 73 61 67 65 2e 0a 0a 20 20 20 20 20 bj_usage...
15bb0 20 20 20 2a 20 65 78 74 65 6e 73 69 6f 6e 73 2f * extensions/
15bc0 74 6e 63 2f 74 65 73 74 2e 74 63 6c 3a 20 55 70 tnc/test.tcl: Up
15bd0 64 61 74 65 64 20 74 6f 20 75 73 65 20 6e 65 77 dated to use new
15be0 20 74 44 4f 4d 0a 20 20 20 20 20 20 20 20 20 20 tDOM.
15bf0 66 65 61 74 75 72 65 73 2e 20 4d 61 64 65 20 6d features. Made m
15c00 6f 72 65 20 75 73 61 62 6c 65 2e 20 20 20 20 0a ore usable. .
15c10 0a 20 20 20 20 20 20 20 20 2a 20 61 70 70 73 2f . * apps/
15c20 78 73 6c 74 2e 74 63 6c 3a 20 55 70 64 61 74 65 xslt.tcl: Update
15c30 64 20 74 6f 20 75 73 69 6e 67 20 64 6f 6d 44 6f d to using domDo
15c40 63 20 78 73 6c 74 20 6d 65 74 68 6f 64 2c 0a 20 c xslt method,.
15c50 20 20 20 20 20 20 20 20 20 2d 65 73 63 61 70 65 -escape
15c60 4e 6f 6e 41 53 43 49 49 20 66 6f 72 20 61 73 58 NonASCII for asX
15c70 4d 4c 20 61 6e 64 20 61 73 48 54 4d 4c 20 61 6e ML and asHTML an
15c80 64 20 61 64 64 69 74 69 6f 6e 61 6c 6c 79 0a 20 d additionally.
15c90 20 20 20 20 20 20 20 20 20 2d 68 74 6d 6c 45 6e -htmlEn
15ca0 74 69 74 69 65 73 20 66 6f 72 20 61 73 48 54 4d tities for asHTM
15cb0 4c 2e 0a 0a 09 2a 20 67 65 6e 65 72 69 63 2f 64 L....* generic/d
15cc0 6f 6d 78 73 6c 74 2e 63 3a 20 49 6d 70 6c 65 6d omxslt.c: Implem
15cd0 65 6e 74 65 64 20 22 46 6f 72 77 61 72 64 73 2d ented "Forwards-
15ce0 43 6f 6d 70 61 74 69 62 6c 65 0a 20 20 20 20 20 Compatible.
15cf0 20 20 20 20 20 50 72 6f 63 65 73 73 69 6e 67 22 Processing"
15d00 20 28 58 53 4c 54 20 72 65 63 20 32 2e 35 29 2c (XSLT rec 2.5),
15d10 20 77 69 74 68 20 6c 69 6d 69 74 61 74 69 6f 6e with limitation
15d20 73 3a 20 78 73 6c 3a 76 65 72 73 69 6f 6e 0a 20 s: xsl:version.
15d30 20 20 20 20 20 20 20 20 20 61 74 74 72 69 62 75 attribu
15d40 74 65 73 20 6f 6e 20 6c 69 74 65 72 61 6c 20 72 tes on literal r
15d50 65 73 75 6c 74 20 65 6c 65 6d 65 6e 74 73 20 61 esult elements a
15d60 72 65 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 re not.
15d70 20 73 75 70 70 6f 72 74 65 64 2e 20 46 69 78 65 supported. Fixe
15d80 64 20 61 20 62 75 67 20 69 6e 20 58 50 61 74 68 d a bug in XPath
15d90 20 66 75 6e 63 0a 20 20 20 20 20 20 20 20 20 20 func.
15da0 66 6f 72 6d 61 74 2d 6e 75 6d 62 65 72 28 29 2e format-number().
15db0 20 58 73 6c 74 50 72 6f 63 65 73 73 20 6e 6f 77 XsltProcess now
15dc0 20 61 63 63 65 70 74 73 20 61 6c 73 6f 20 61 0a accepts also a.
15dd0 20 20 20 20 20 20 20 20 20 20 64 6f 6d 44 6f 63 domDoc
15de0 2e 20 49 6d 70 72 6f 76 65 64 20 74 68 65 20 73 . Improved the s
15df0 65 74 74 69 6e 67 20 6f 66 20 74 68 65 20 64 6f etting of the do
15e00 63 75 6d 65 6e 74 45 6c 65 6d 65 6e 74 20 6f 66 cumentElement of
15e10 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 72 the. r
15e20 65 73 75 6c 74 44 6f 63 2e 0a 0a 32 30 30 32 2d esultDoc...2002-
15e30 31 30 2d 32 39 20 20 52 6f 6c 66 20 41 64 65 20 10-29 Rolf Ade
15e40 20 3c 72 6f 6c 66 40 70 6f 69 6e 74 73 6d 61 6e <rolf@pointsman
15e50 2e 64 65 3e 0a 0a 09 2a 20 67 65 6e 65 72 69 63 .de>...* generic
15e60 2f 74 63 6c 64 6f 6d 2e 63 3a 0a 20 20 20 20 20 /tcldom.c:.
15e70 20 20 20 2a 20 64 6f 63 2f 64 6f 6d 44 6f 63 2e * doc/domDoc.
15e80 2a 0a 20 20 20 20 20 20 20 20 2a 20 64 6f 63 2f *. * doc/
15e90 64 6f 6d 4e 6f 64 65 2e 2a 3a 20 41 64 64 65 64 domNode.*: Added
15ea0 20 2d 65 73 63 61 70 65 4e 6f 6e 41 53 43 49 49 -escapeNonASCII
15eb0 20 61 73 20 6f 70 74 69 6f 6e 20 74 6f 20 74 68 as option to th
15ec0 65 20 61 73 58 4d 4c 0a 20 20 20 20 20 20 20 20 e asXML.
15ed0 20 20 61 6e 64 20 61 73 48 54 4d 4c 20 6d 65 74 and asHTML met
15ee0 68 6f 64 73 20 61 6e 64 20 2d 68 74 6d 6c 45 6e hods and -htmlEn
15ef0 74 69 74 69 65 73 20 61 73 20 6f 70 74 69 6f 6e tities as option
15f00 20 74 6f 20 74 68 65 20 61 73 48 54 4d 4c 0a 20 to the asHTML.
15f10 20 20 20 20 20 20 20 20 20 6d 65 74 68 6f 64 2e method.
15f20 20 41 64 64 65 64 20 22 78 73 6c 74 22 20 6d 65 Added "xslt" me
15f30 74 68 6f 64 20 74 6f 20 64 6f 6d 44 6f 63 20 63 thod to domDoc c
15f40 6f 6d 6d 61 6e 64 73 2e 0a 0a 09 2a 20 67 65 6e ommands....* gen
15f50 65 72 69 63 2f 64 6f 6d 2e 63 3a 20 42 65 74 74 eric/dom.c: Bett
15f60 65 72 20 65 72 72 6f 72 20 72 65 70 6f 72 74 69 er error reporti
15f70 6e 67 20 69 6e 20 63 61 73 65 20 6f 66 20 70 61 ng in case of pa
15f80 72 73 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 rsing.
15f90 65 72 72 6f 72 73 20 69 6e 20 65 78 74 65 72 6e errors in extern
15fa0 61 6c 20 65 6e 74 69 74 69 65 73 2e 0a 0a 20 20 al entities...
15fb0 20 20 20 20 20 20 2a 20 64 6f 63 2f 65 78 70 61 * doc/expa
15fc0 74 2e 2a 3a 20 46 69 78 65 64 20 61 20 64 6f 63 t.*: Fixed a doc
15fd0 75 6d 65 6e 74 61 74 69 6f 6e 20 62 75 67 2e 0a umentation bug..
15fe0 20 20 0a 32 30 30 32 2d 31 30 2d 32 39 20 5a 6f .2002-10-29 Zo
15ff0 72 61 6e 20 56 61 73 69 6c 6a 65 76 69 63 20 3c ran Vasiljevic <
16000 7a 6f 72 61 6e 40 61 72 63 68 69 77 61 72 65 2e zoran@archiware.
16010 63 6f 6d 3e 0a 0a 09 2a 20 67 65 6e 65 72 69 63 com>...* generic
16020 2f 74 63 6c 64 6f 6d 2e 63 0a 09 2a 20 67 65 6e /tcldom.c..* gen
16030 65 72 69 63 2f 6e 6f 64 65 63 6d 64 2e 63 0a 09 eric/nodecmd.c..
16040 2a 20 67 65 6e 65 72 69 63 2f 6e 6f 64 65 63 6d * generic/nodecm
16050 64 2e 68 3a 20 6d 6f 64 69 66 69 65 64 20 22 64 d.h: modified "d
16060 6f 6d 20 63 72 65 61 74 65 4e 6f 64 65 43 6d 64 om createNodeCmd
16070 22 20 74 6f 20 61 63 63 65 70 74 20 74 68 65 0a " to accept the.
16080 20 20 20 20 20 20 20 20 2d 72 65 74 75 72 6e 4e -returnN
16090 6f 64 65 43 6d 64 22 20 6f 70 74 69 6f 6e 61 6c odeCmd" optional
160a0 20 61 72 67 75 6d 65 6e 74 2e 20 41 6c 6c 20 63 argument. All c
160b0 6f 6d 6d 61 6e 64 73 20 63 72 65 61 74 65 64 0a ommands created.
160c0 09 77 69 74 68 20 74 68 69 73 20 6f 70 74 69 6f .with this optio
160d0 6e 20 77 69 6c 6c 72 65 74 75 72 6e 20 74 68 65 n willreturn the
160e0 20 64 6f 6d 20 6f 62 6a 65 63 74 20 63 6f 6d 6d dom object comm
160f0 61 6e 64 20 66 6f 72 20 61 63 63 65 73 73 69 6e and for accessin
16100 67 20 0a 09 74 68 65 20 67 65 6e 65 72 61 74 65 g ..the generate
16110 64 20 6e 6f 64 65 2e 0a 09 0a 09 2a 20 43 68 61 d node.....* Cha
16120 6e 67 65 4c 6f 67 3a 20 61 64 64 65 64 20 74 68 ngeLog: added th
16130 69 73 20 66 69 6c 65 0a is file.