1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
|
Tue Jun 20 08:23:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
* ACEXML/parser/parser/Parser.cpp:
64bit fix
Thu Mar 30 13:14:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
* common/NamespaceSupport.cpp:
Fixed value might be unitialized warnings
Tue Mar 14 20:58:12 UTC 2006 jiang,shanshan <shanshan.jiang@vanderbilt.edu>
* ACEXML/common/FileCharStream.cpp
* ACEXML/common/HttpCharStream.cpp
* ACEXML/common/Transcode.cpp
* ACEXML/common/XML_Macros.h
* ACEXML/parser/parser/Parser.cpp
* ACEXML/parser/parser/Parser.i
Updated these files to solve the warnings when setting up "VC level 4 warnings"
on Windows. These warnings include "unreachable code", "assignment within
conditional expression", "conversion from some type to another type, possible
loss of data", "local variable may be used without having been initialized" and
so on.
Thanks to Lukas Gruetzmacher <gruetzmacher at ais-dresden dot de> for
motivating the fix to these "VC level 4 warnings".
Fri Feb 10 23:45:14 UTC 2006 Steve Huston <shuston@riverace.com>
* common/NamespaceSupport.cpp: Add missing template instantiations to
match change below.
Fri Feb 10 12:22:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
* common/NamespaceSupport.cpp:
Fixed compile error in unicode build
Thu Feb 9 22:49:18 UTC 2006 Krishnakumar B <kitty@nospam.invalid.domain>
* common/NamespaceSupport.h:
* common/NamespaceSupport.cpp: Use a normal ACE_Unbounded_Stack
instead of yet another custom stack.
* parser/parser/Parser.h:
* parser/parser/Parser.cpp:
Fixed a mismatched push/pop of the namespace context due to
popping namespace contexts without matching the end of the
element that caused a push. This resulted in more pops that
push and corrupting the memory. Also fixed an indirection into
a pointer that might have been corrupt when calling
startNamespacePrefix().
Tue Jan 24 23:09:08 UTC 2006 Krishnakumar B <kitty@nospam.invalid.domain>
* apps/svcconf/Svcconf.cpp:
* apps/svcconf/Svcconf.h:
Removed the overridden operator new/delete. I don't think that
they serve any purpose, and end up hiding the default variations.
Mon Jan 23 14:11:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
* common/ZipCharStream.h:
Updated include of zziplib.h to zzip/zzip.h to get rid of deprecated
warnings
Wed Jan 4 22:44:38 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
* ChangeLog:
Untabify.
Delete-trailing-whitespace.
Changed "add-log-time-format" to a really ugly lambda expression
that formats changelog timestamps in UTC and works with both GNU
Emacs and XEmacs.
Thu May 26 07:35:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
* common/XML_Util.h:
Fixed pragma once warning
Tue May 24 18:39:02 2005 J.T. Conklin <jtc@acorntoolworks.com>
* common/Makefile.am:
Regenerate.
* common/common.mpc:
Added XML_Util.h to Header_Files section.
Tue May 24 09:18:34 2005 Justin Michel <michel_j@ociweb.com>
* tests/util/test.cpp:
Fixed for loop scoping problem for non-standard compilers.
Mon May 23 14:52:19 2005 Justin Michel <michel_j@ociweb.com>
* tests/util/util.mpc:
Add missing $ Id tag.
Mon May 23 13:02:25 2005 Justin Michel <michel_j@ociweb.com>
* common/XML_Util.h:
* common/XML_Util.cpp:
Added new ACEXML_escape_string() functions to allow replacement of
illegal characters, (', ", &, <, >, etc.) with the escaped versions.
(", <, etc.)
* tests/util/test.cpp:
* tests/util/util.mpc:
This is a performance test used while making the above functions, and
testing performance with ACE_String_Base.
Fri Apr 22 21:34:19 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
* parser/parser/Parser.cpp (parse_entity_decl):
Fixed "variable may be used uninitialized" warning.
Fri Apr 22 11:09:59 2005 J.T. Conklin <jtc@acorntoolworks.com>
* parser/parser/Makefile.am:
* common/Makefile.am:
Regenerated.
* parser/parser/parser.mpc:
* common/common.mpc:
Add Pkgconfig_Files section.
Wed Apr 20 12:20:26 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
* common/Attributes.h:
* common/ContentHandler.h:
* common/DTDHandler.h:
* common/EntityResolver.h:
* common/ErrorHandler.h:
* common/Locator.h:
* common/XMLReader.h:
Added virtual destructors to address g++ 4.0 warnings.
* common/Attributes.cpp:
* common/ContentHandler.cpp:
* common/DTDHandler.cpp:
* common/EntityResolver.cpp:
* common/ErrorHandler.cpp:
* common/Locator.cpp:
* common/XMLReader.cpp:
New files containing destructors.
* common/NamespaceSupport.cpp (getURI):
Fixed "variable may be used uninitialized" warning.
Mon Apr 18 14:10:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
* parser/parser/Entity_Manager.cpp:
Removed not uses static const
* parser/parser/Entity_Manager.i:
Initialise pointer with 0
Sun Feb 13 23:54:25 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
From Lothar Werzinger <lothar at xcerla dot com>
* apps/svcconf/Svcconf_Handler.cpp:
Enhanced error messages.
Wed Jan 5 14:08:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
* common/DefaultHandler.{h,cpp,i}:
* common/NamespaceSupport.{h,cpp,i}:
* common/Transcode.{h,cpp,i}:
* examples/SAXPrint/Print_Handler.{cpp,i}:
Removed .i file and updated h/cpp file
* common/Makefile.am:
Updated
Tue Aug 17 19:07:11 2004 J.T. Conklin <jtc@acorntoolworks.com>
* common/NamespaceSupport.cpp:
Changed ACE_NEW_RETURN to use "NS_Node_T" instead of "struct
NS_Node_T" --- the latter triggers a gcc 3.3 parser bug when
used with the "new (std::nothrow)" version of ACE_NEW_RETURN.
Fortunately, the "struct" is unnecessary.
Sat Feb 21 23:51:25 2004 . <.@isis.vanderbilt.edu>
* common/Exception.h:
* common/Exception.cpp:
* common/SAXExceptions.h:
* common/SAXExceptions.cpp:
Fixed a few bugs in the way the exceptions were set-up in the
case when exceptions=0. Provided implementations for operator
assignment and duplicate(). This should fix problems with
throwing and catching exceptions when exceptions=0.
Sat Jan 31 20:06:57 2004 Krishnakumar B <kitty@cse.wustl.edu>
* parser/parser/Parser.cpp (parse_PE_reference): Added ACE_TEXT
to satisfy WCHAR windows builds. Thanks to Johnny for reporting
these errors.
Fri Jan 30 16:04:43 2004 Krishnakumar B <kitty@cse.wustl.edu>
* parser/parser/Parser.cpp: Rewrote a simple string manipulation
involving ACE_String_Base<char>::operator +() to use const char*
instead of char, so that we don't need an explicit template
instantiation for it.
* examples/SAXPrint/main.cpp: Added missing explicit template
instantiations for ACE_Auto_Basic_Ptr.
Thanks to Olli Savia <ops@iki.fi> for reporting problems with
explicit template instantiation on LynxOS.
Thu Jan 8 18:40:34 2004 Krishnakumar B <kitty@nospam.invalid.domain>
* common/CharStream.h: Added a new rewind() method so that we can
reuse the same parser instance to parse the same file multiple
times.
* common/FileCharStream.cpp:
* common/HttpCharStream.h:
* common/HttpCharStream.cpp:
* common/StrCharStream.cpp:
* common/ZipCharStream.cpp:
Fixed implementation of rewind().
* common/Mem_Map_Stream.cpp:
Fixed memory leak caused by the Svc_Handler not getting deleted.
* apps/svcconf/Makefile.ACEXML_XML_Svc_Conf_Parser:
* parser/parser/Makefile.ACEXML_Parser:
* examples/SAXPrint/Makefile.SAXPrint:
* common/Makefile.ACEXML:
* tests/Makefile.ContentHandler_Test:
* tests/Makefile.HttpCharStream_Test:
* tests/Makefile.NamespaceSupport_Test:
* tests/Makefile.Transcoder_Test:
Updated dependencies.
* examples/SAXPrint/main.cpp:
Added code to test the parser to parse the same file multiple
times. This still needs some cleaning.
* parser/parser/Entity_Manager.h:
* parser/parser/Entity_Manager.i:
* parser/parser/Entity_Manager.cpp:
Use a pointer to ACE_Hash_Map_Manager_Ex and delete it on every
reset() of the Entity_Manager. This should fix all the problems
with SIGFPE's when we try to recover from a parse error.
* parser/parser/Parser.cpp:
* parser/parser/ParserContext.h:
* parser/parser/ParserContext.inl:
Fixed memory leaks reported by Ken Sedgewick <ken@bonsai.com>.
This should fix Bugzill bug 1694. While at it, fix bugs in
handling of entity references in INCLUDE/IGNORE sections,
ATTLIST sections.
Thu Dec 18 13:13:57 2003 Krishnakumar B <kitty@nospam.invalid.domain>
* common/Transcode.h (ACEXML_Transcoder):
* common/Transcode.cpp (ACEXML_Transcoder):
Renamed the ACEXML_Transcoder::STATUS enum to use ACEXML
prefixes. Thanks to Johnny Willemsen <jwillemsen@remedy.nl> for
reporting the clash with native #defines on Tru64.
Sat Jul 19 18:38:50 UTC 2003 Don Hinton <dhinton@dresystems.com>
* ACEXML/apps/svcconf/Svcconf.h:
* ACEXML/common/*.h:
* ACEXML/parser/*.h:
* ACEXML/parser/parser/*.h:
Added "/**/" between the #include and filename for pre.h and
post.h so Doxygen won't include them in the file reference tree
graphs.
Fri Jul 18 10:29:55 2003 Krishnakumar B <kitty@nospam.invalid.domain>
* tests/NamespaceSupport_Test.cpp (ACE_TMAIN): Added
initialization of ACEXML_NamespaceSupport so that we don't
crash.
* tests/ContentHandler_Test.cpp: Removed "</xml>" at the end of
the ACEXML_StrCharStream. XML is not HTML. Added a print
statement to the catch clause so that we know what is happening
when exception occurs.
Mon Jul 14 18:49:01 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl>
* apps/svcconf/Makefile:
* common/Makefile:
* examples/SAXPrint/Makefile:
* parser/parser/Makefile:
* tests/Makefile:
Removed windows specific rules. They are not needed and only
cause problems when using a different command shell then cmd
like msys. This solves errors in the MinGW build.
Sat Jul 5 13:33:36 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl>
* Makefile:
Removed windows specific rules. They are not needed and only
cause problems when using a different command shell then cmd
like msys. This solves errors in the MinGW build.
Fri Jun 27 12:55:33 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl>
* parser/parser/Entity_Manager.h:
* parser/parser/Entity_Manager.i:
Removed not useful const return qualifier to resolve intel
compiler warnings.
Thu Jun 26 01:47:03 UTC 2003 Don Hinton <dhinton@dresystems.com>
* parser/parser/Parser.i:
Added (int) cast to table index to get rid of a warning.
Tue Jun 24 23:31:44 2003 Nanbor Wang <nanbor@cs.wustl.edu>
* apps/svcconf/Svcconf.cpp: Turned off validation temporarily when
handling svc.conf files. All of the converted svc.conf.xml
files do not have associate doctype at the moment.
Tue Jun 24 15:38:49 UTC 2003 Don Hinton <dhinton@dresystems.h>
* common/NamespaceSupport.i:
Added include of ACE.h.
Sun Jun 1 09:09:22 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
* parser/parser/Parser.cpp:
* parser/parser/Entity_Manager.cpp: Added explicit template
instantiations.
Fri May 30 14:16:33 2003 Krishnakumar B <kitty@spam.invalid.domain>
* examples/svcconf/.depend.Makefile.Svcconf:
* examples/svcconf/Makefile:
* examples/svcconf/Makefile.Svcconf:
* examples/svcconf/Makefile.Svcconf.bor:
* examples/svcconf/Makefile.bor:
* examples/svcconf/README:
* examples/svcconf/Svcconf.dsp:
* examples/svcconf/Svcconf.dsw:
* examples/svcconf/Svcconf.mpc:
* examples/svcconf/Svcconf_Handler.cpp:
* examples/svcconf/Svcconf_Handler.h:
* examples/svcconf/Svcconf_Handler.i:
* examples/svcconf/main.cpp:
Removed directories causing problems with Win XP release.
* ACEXML.dsw:
* Makefile:
* Makefile.bor:
* apps/svcconf/Makefile:
* apps/svcconf/Makefile.ACEXML_XML_Svc_Conf_Parser.bor:
* apps/svcconf/Makefile.bor:
* common/Makefile:
* common/Makefile.ACEXML.bor:
* common/Makefile.bor:
* examples/SAXPrint/Makefile:
* examples/SAXPrint/Makefile.SAXPrint.bor:
* examples/SAXPrint/Makefile.bor:
* parser/parser/Makefile:
* parser/parser/Makefile.ACEXML_Parser.bor:
* parser/parser/Makefile.bor:
* tests/.depend.Makefile.ContentHandler_Test:
* tests/.depend.Makefile.HttpCharStream_Test:
* tests/.depend.Makefile.NamespaceSupport_Test:
* tests/.depend.Makefile.Transcoder_Test::
* tests/Makefile:
* tests/Makefile.ContentHandler_Test:
* tests/Makefile.ContentHandler_Test.bor:
* tests/Makefile.HttpCharStream_Test.bor:
* tests/Makefile.NamespaceSupport_Test.bor:
* tests/Makefile.Transcoder_Test.bor:
* tests/Makefile.bor:
More build related delicacies needed updating because of the
previous change.
Fri May 30 13:56:40 2003 Krishnakumar B <kitty@spam.invalid.domain>
* common/XML_Common.dsp: Removed old dsp left over from previous
merge.
Fri May 30 13:54:57 2003 Krishnakumar B <kitty@spam.invalid.domain>
* parser/parser/Parser.dsp: Removed this erroneous dsp file left
over from the merge.
Fri May 30 13:50:11 2003 Krishnakumar B <kitty@spam.invalid.domain>
* common/ZipCharStream.h: Removed broken logic to undefine macro
version of read. We don't want read to be a macro in ACEXML.
Present because of brokenness in ZZIPLIB.
Fri May 30 13:36:39 2003 Krishnakumar B <kitty@spam.invalid.domain>
* parser/parser/Parser.cpp (parse_ignoresect): Fixed a couple of
warnings. Break out of infinite loop.
* apps/svcconf/.depend.Makefile.ACEXML_XML_Svc_Conf_Parser:
* common/.depend.Makefile.ACEXML:
* examples/SAXPrint/.depend.Makefile.SAXPrint:
* examples/svcconf/.depend.Makefile.Svcconf:
* parser/parser/.depend.Makefile.ACEXML_Parser:
Added missing dependency files. This should clear out the red.
* examples/svcconf/main.cpp:
* common/HttpCharStream.cpp:
* parser/parser/Parser.i:
Fixed warnings with BCB. Thanks to Johnny for reporting these.
Thu May 29 23:13:40 2003 Krishnakumar B <kitty@spam.invalid.domain>
* examples/SAXPrint/SAXPrint_Handler.cpp: Fixed some minor
warnings.
Thu May 29 23:09:27 2003 Krishnakumar B <kitty@spam.invalid.domain>
* parser/parser/Makefile.Parser:
Removed extra file left over by mistake.
Thu May 29 23:00:24 2003 Krishnakumar B <kitty@spam.invalid.domain>
* tests/Makefile.ContentHandler_Test:
* tests/Makefile:
This file got left out by mistake during the big merge.
Thu May 29 22:03:40 2003 Krishnakumar B <kitty@spam.invalid.domain>
* ACEXML/ACEXML.mwc:
* ACEXML/ChangeLog:
* ACEXML/apps/svcconf/ACEXML_XML_Svc_Conf_Parser.dsp:
* ACEXML/apps/svcconf/Makefile.ACEXML_XML_Svc_Conf_Parser:
* ACEXML/apps/svcconf/Makefile.ACEXML_XML_Svc_Conf_Parser.bor:
* ACEXML/common/ACEXML.dsp:
* ACEXML/common/Makefile.ACEXML:
* ACEXML/common/Makefile.ACEXML.bor:
* ACEXML/examples/SAXPrint/Makefile.SAXPrint:
* ACEXML/examples/SAXPrint/Makefile.SAXPrint.bor:
* ACEXML/examples/svcconf/Makefile:
* ACEXML/examples/svcconf/Makefile.Svcconf:
* ACEXML/examples/svcconf/Makefile.Svcconf.bor:
* ACEXML/examples/svcconf/Svcconf.mpc:
* ACEXML/parser/parser/ACEXML_Parser.dsp:
* ACEXML/parser/parser/Makefile.ACEXML_Parser:
* ACEXML/parser/parser/Makefile.ACEXML_Parser.bor:
* ACEXML/parser/parser/Makefile.Parser:
* ACEXML/tests/Makefile.ContentHandler_Test.bor:
* ACEXML/tests/Makefile.HttpCharStream_Test:
* ACEXML/tests/Makefile.HttpCharStream_Test.bor:
* ACEXML/tests/Makefile.NamespaceSupport_Test:
* ACEXML/tests/Makefile.NamespaceSupport_Test.bor:
* ACEXML/tests/Makefile.Transcoder_Test:
* ACEXML/tests/Makefile.Transcoder_Test.bor:
New files to build ACEXML generated using MPC.
* ACEXML/apps/svcconf/svcconf.dtd:
Moved the DTD from a hidden location to a prominent one.
* ACEXML/examples/SAXPrint/namespaces.xml:
New file to test namespace support.
* ACEXML/common/ZipCharStream.cpp:
* ACEXML/common/ZipCharStream.h:
New files to support reading files from within a ZIP archive as
a stream.
* ACEXML/parser/parser/ParserContext.cpp:
* ACEXML/parser/parser/ParserContext.h:
* ACEXML/parser/parser/ParserContext.inl:
New files to support a per stream context encountered when
parsing references.
* ACEXML/parser/parser/ParserInternals.cpp:
* ACEXML/parser/parser/ParserInternals.h:
Move some common functions from Parser.cpp to these files.
* ACEXML/ACEXML.dsw:
* ACEXML/Makefile:
* ACEXML/Makefile.bor:
* ACEXML/apps/svcconf/Makefile:
* ACEXML/apps/svcconf/Makefile.bor:
* ACEXML/common/Makefile:
* ACEXML/common/Makefile.bor:
* ACEXML/examples/SAXPrint/Makefile:
* ACEXML/examples/SAXPrint/Makefile.bor:
* ACEXML/examples/SAXPrint/SAXPrint.dsp:
* ACEXML/examples/SAXPrint/SAXPrint.mpc:
* ACEXML/examples/svcconf/Makefile.bor:
* ACEXML/examples/svcconf/Svcconf.dsp:
* ACEXML/parser/parser/Makefile:
* ACEXML/parser/parser/Makefile.bor:
* ACEXML/tests/ContentHandler_Test.cpp:
* ACEXML/tests/ContentHandler_Test.dsp:
* ACEXML/tests/HttpCharStream_Test.cpp:
* ACEXML/tests/HttpCharStream_Test.dsp:
* ACEXML/tests/Makefile:
* ACEXML/tests/Makefile.bor:
* ACEXML/tests/NamespaceSupport_Test.dsp:
* ACEXML/tests/Transcoder_Test.dsp:
Build related files changed with the introduction of MPC to
build ACEXML.
* ACEXML/examples/SAXPrint/ns.svc.conf.xml:
* ACEXML/examples/SAXPrint/svc.conf.xml:
New files to test specific features of the parser.
* ACEXML/apps/svcconf/Svcconf.cpp:
* ACEXML/common/Attributes.h:
* ACEXML/common/Attributes_Def_Builder.h:
* ACEXML/common/CharStream.h:
* ACEXML/common/DefaultHandler.cpp:
* ACEXML/common/Encoding.cpp:
* ACEXML/common/Encoding.h:
* ACEXML/common/Exception.cpp:
* ACEXML/common/FileCharStream.cpp:
* ACEXML/common/FileCharStream.h:
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/HttpCharStream.h:
* ACEXML/common/InputSource.cpp:
* ACEXML/common/InputSource.h:
* ACEXML/common/LocatorImpl.cpp:
* ACEXML/common/LocatorImpl.h:
* ACEXML/common/Mem_Map_Stream.cpp:
* ACEXML/common/NamespaceSupport.cpp:
* ACEXML/common/NamespaceSupport.h:
* ACEXML/common/SAXExceptions.cpp:
* ACEXML/common/StrCharStream.cpp:
* ACEXML/common/StrCharStream.h:
* ACEXML/common/StreamFactory.cpp:
* ACEXML/common/Transcode.cpp:
* ACEXML/common/Transcode.h:
* ACEXML/common/Transcode.i:
* ACEXML/examples/SAXPrint/Print_Handler.cpp:
* ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
* ACEXML/examples/SAXPrint/main.cpp:
* ACEXML/examples/svcconf/main.cpp:
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
* ACEXML/parser/parser/Parser.i:
* ACEXML/parser/parser/Entity_Manager.cpp:
* ACEXML/parser/parser/Entity_Manager.h:
* ACEXML/parser/parser/Entity_Manager.i:
Merge from the Validator branch. It is not close to conformance
related to Validation but is quite stable as a parser which
recognizes the complete XML grammar.
Fri Jan 24 20:28:22 2003 Krishnakumar B <kitty@insanely.long.id.truncated>
* parser/parser/Parser.cpp (pop_context): Bail out if there is
only one element on the context stack. Bad things [TM] will happen
if we pop the only context available.
Mon Nov 25 04:25:15 2002 Krishnakumar B <kitty@cs.wustl.edu>
* parser/parser/Parser.cpp (reset):
* parser/parser/Parser.h:
Fixed a bunch of compilation errors. Removed unnecessary
creation and destroyal of ACEXML_Strings which seems to speed up
the parser quite a bit.
* examples/SAXPrint/SAXPrint_Handler.cpp:
* examples/SAXPrint/main.cpp:
Don't report startPrefixMapping() and endPrefixMapping() as they
obstruct the pretty-printing of SAXPrint. They are bogus anyway.
Wed Nov 20 22:58:12 2002 Krishnakumar B <kitty@cs.wustl.edu>
* parser/parser/Parser.cpp (parse_char_reference):
Fixed stupid thinko in conditional parsing of a hex character
reference.
* common/Mem_Map_Stream.cpp:
We can use the old way of fetching on-demand and don't need to
use a while loop.
* common/NamespaceSupport.cpp:
Fixed a long-standing bug with core dumping. With these changes,
we are able to parse the XML specification itself. Is this
called Meta or what ?
Wed Nov 20 20:44:56 2002 Krishnakumar B <kitty@cs.wustl.edu>
* common/Mem_Map_Stream.cpp (grow_file_and_remap):
Fixed bug where we were trying to remap two different files at
the same location without closing the first.
* common/HttpCharStream.cpp (get_url):
Don't try to parse an empty file. Removes a nasty SIGSEGV.
Wed Nov 20 01:06:26 2002 Krishnakumar B <kitty@cs.wustl.edu>
* common/Mem_Map_Stream.cpp:
Minor indenting changes.
* tests/HttpCharStream_Test.cpp:
Modified test to show bug in ACE_File_Addr.
Tue Nov 19 20:46:35 2002 Krishnakumar B <kitty@cs.wustl.edu>
* examples/SAXPrint/Print_Handler.cpp (warning):
Missed syncing the function prototypes last time.
Tue Nov 19 20:18:09 2002 Krishnakumar B <kitty@cs.wustl.edu>
* parser/parser/Parser.h:
* parser/parser/Parser.cpp (normalize_systemid):
Fix an off-by-one error in normalization. The document's base
URI is never empty. Now we parse relative document URI
correctly.
Implement the previously unimplemented parsing from a systemId.
* common/InputSource.cpp:
* common/InputSource.h:
Implement creating an InputSource from a systemId.
* common/CharStream.h:
Added a new method getSystemId().
* common/FileCharStream.cpp:
* common/FileCharStream.h:
* common/HttpCharStream.cpp:
* common/HttpCharStream.h:
* common/ZipCharStream.cpp:
* common/ZipCharStream.h:
* common/StrCharStream.cpp:
* common/StrCharStream.h:
Added implementation for getSystemId().
* examples/SAXPrint/Print_Handler.cpp:
* examples/SAXPrint/SAXPrint_Handler.cpp:
Synched up the printing of exception messages.
* examples/SAXPrint/main.cpp:
Fixed broken internal string version of a sample XML file.
Tue Nov 19 15:02:06 2002 Krishnakumar B <kitty@cs.wustl.edu>
* apps/svcconf/XML_Svc_Conf_Parser.dsp:
* common/XML_Common.dsp:
* examples/SAXPrint/SAXPrint.dsp:
* parser/debug_validator/Debug_Validator.dsp:
* parser/parser/Parser.dsp:
Modified to accomodate zlib and zziplig. Will probably change
before the merge.
* parser/parser/Parser.cpp:
Try to parse external DTD only if validation is required.
Mon Nov 18 22:29:39 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/Makefile:
Deleted this file in the previous check-in. Re-add it.
Mon Nov 18 22:19:47 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/common.mpc:
* ACEXML/parser/parser/parser.mpc:
* ACEXML/parser/debug_validator/validator.mpc:
* ACEXML/apps/svcconf/svcconf.mpc:
* ACEXML/examples/svcconf/Svcconf.mpc:
* ACEXML/examples/SAXPrint/saxprint.mpc:
* ACEXML/tests/tests.mpc:
* ACEXML/ACEXML.mwc:
New MPC files and Workspace file.
* ACEXML/common/Makefile.XML_Common:
* ACEXML/apps/svcconf/Makefile.XML_Svc_Conf_Parser:
* ACEXML/parser/parser/Makefile.Parser:
* ACEXML/parser/debug_validator/Makefile.Validator:
* ACEXML/examples/SAXPrint/Makefile.SAXPrint:
* ACEXML/examples/svcconf/Makefile.Svcconf:
* ACEXML/tests/Makefile.HttpCharStream_Test:
* ACEXML/tests/Makefile.NamespaceSupport_Test:
* ACEXML/tests/Makefile.Transcoder_Test:
New Makefiles generated by MPC.
* ACEXML/common/Makefile:
* ACEXML/parser/parser/Makefile:
* ACEXML/parser/Makefile:
* ACEXML/examples/Makefile:
* ACEXML/apps/Makefile:
* ACEXML/apps/svcconf/Makefile:
* ACEXML/examples/SAXPrint/Makefile:
* ACEXML/tests/Makefile:
Removed old Makefiles.
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/common/StreamFactory.cpp:
* ACEXML/common/ZipCharStream.cpp:
* ACEXML/common/ZipCharStream.h:
Fixed compilation errors.
Mon Nov 18 20:30:30 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/CharStream.h:
* ACEXML/common/Encoding.cpp:
* ACEXML/common/FileCharStream.cpp:
* ACEXML/common/FileCharStream.h:
* ACEXML/common/StrCharStream.cpp:
* ACEXML/common/StrCharStream.h:
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/HttpCharStream.h:
Fixed a number of minor typos and debugging statements.
* ACEXML/common/LocatorImpl.cpp: Check for a valid string before
assigning it to the new Locator.
* ACEXML/common/NamespaceSupport.cpp:
Make sure that we don't have a null prefix before trying to
dereference the prefix.
* ACEXML/common/ZipCharStream.cpp:
* ACEXML/common/ZipCharStream.h:
New stream which reads files from a ZIP archive.
* ACEXML/common/StreamFactory.cpp:
Modified to accomodate ZipCharStream.
* ACEXML/examples/SAXPrint/Print_Handler.cpp:
* ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
* ACEXML/examples/SAXPrint/main.cpp:
Commented out a lot of unnecessary debug statements.
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
Lots of bugfixes. Finally we parse the XML version of XHTML
specification without dumping core.
Sat Nov 16 21:18:55 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
More bugs fixed. Add support for parsing PE references within
attribute list declarations and clean up the same. Add support
for parsing PE references within element declarations.
Tue Nov 12 19:48:34 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/parser/parser/ParserContext.cpp:
* ACEXML/parser/parser/ParserContext.h:
* ACEXML/parser/parser/ParserContext.inl:
New files which hold the ParserContext needed to handle the
switching of input streams on the fly.
* ACEXML/parser/parser/ParserInternals.cpp:
* ACEXML/parser/parser/ParserInternals.h:
Moved some generic code from Parser.cpp to here.
* ACEXML/apps/svcconf/Makefile:
* ACEXML/common/Makefile:
* ACEXML/parser/parser/Makefile:
Updated dependencies.
* ACEXML/common/Attributes_Def_Builder.h:
No need to typedef in C++.
* ACEXML/common/DefaultHandler.cpp:
Minor typos.
* ACEXML/common/Encoding.cpp:
If auto-detection of encoding fails, assume that it is UTF-8.
* ACEXML/common/Exception.cpp:
Change the error message from ACE_DEBUG to ACE_ERROR.
* ACEXML/common/FileCharStream.cpp: Handle BOM of UTF-8 in
addition to UTF-16. Cleanup unnecessary parens.
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/HttpCharStream.h:
Add support for auto-detection of encoding.
* ACEXML/common/InputSource.cpp:
* ACEXML/common/InputSource.h:
Fixes for use with ACEXML_Parser_Context.
* ACEXML/common/LocatorImpl.cpp:
* ACEXML/common/LocatorImpl.h:
Fixed bug in copy constructor which resulted in locator
information not getting set properly.
* ACEXML/common/NamespaceSupport.cpp:
* ACEXML/common/NamespaceSupport.h:
Implement reset() method.
* ACEXML/common/SAXExceptions.cpp:
Change the error message from ACE_DEBUG to ACE_ERROR.
* ACEXML/common/StrCharStream.cpp:
Handle copying of bytes according to sizeof (ACE_WCHAR).
* ACEXML/common/StreamFactory.cpp: Create the appropriate stream
given an URI. We don't try to normalize the URI here. It is done
in the Parser.
* ACEXML/common/Transcode.cpp:
* ACEXML/common/Transcode.i:
Moved some very big functions from .i to .cpp.
* ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
* ACEXML/examples/SAXPrint/main.cpp:
Updates to reflect the new calling convention in the Parser.
* ACEXML/parser/parser/Entity_Manager.cpp:
* ACEXML/parser/parser/Entity_Manager.h:
* ACEXML/parser/parser/Entity_Manager.i:
Implemented support for resolving SYSTEM and PUBLIC ids from
the Entity_Manager.
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
* ACEXML/parser/parser/Parser.i:
Implemented support for external parameter and entity
references. Rewrote a lot of the basic parsing functionality to
adhere to the standard. Implment partial support for validation
of XML files.
Fri Oct 25 15:44:04 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/parser/parser/Parser.i: Handle end-of-line as required by
the spec. Specifically any sequence of 0x0D or 0x0D 0x0A should
be normalized to a 0x0A before passing to the XML processor.
* ACEXML/parser/parser/Parser.cpp: Remove checks for 0x0D as it is
handled tranparently now.
Thu Oct 24 21:06:44 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/NamespaceSupport.cpp: Define strings normally and
not as an array.
* ACEXML/common/Attributes_Def_Builder.h: No need to typedef in C++.
Thu Oct 24 01:52:46 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML\parser\parser\Parser.cpp: Moved out the declaration of
variables outside case labels. MSVC doesn't like it.
Wed Oct 23 22:24:59 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/parser/parser/Parser.cpp: Fixed a stupid thinko in array
initialization.
Wed Oct 23 17:27:14 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/Encoding.cpp:
* ACEXML/common/Encoding.h:
Use UTF-16 instead of UTF-16LE/UTF-16BE as the specification
doesn't require mentioning the endianness of the input.
* ACEXML/common/Transcode.h: Fixed some minor typos.
* ACEXML/examples/SAXPrint/namespaces.xml: New file which tests
out the namespaces feature much better.
* ACEXML/apps/svcconf/Makefile:
* ACEXML/parser/parser/Makefile:
Updated dependencies.
* ACEXML/parser/parser/ParserErrors.h: New file which contains the
error codes of all the error spit out by the parser.
* ACEXML/examples/SAXPrint/Print_Handler.cpp:
* ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
Make sure that the characters() function describes the arguments
as start and length instead of start and end.
* ACEXML/parser/parser/Parser.dsp: Added ParserErrors.h to the
project file.
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
Use minor codes when reporting error in the parser. This cleans
up a lot of repeated error messages and indenting so that we
don't need to spill over 80 columns and have a standardized way
of reporting errors. Rewrote parse_cdata() so that is is much
simpler. Removed try_grow_cdata() as it is no longer needed.
Handle the case when the parser was accepting invalid character
references().
Local Variables:
mode: change-log
add-log-time-format: (lambda () (progn (setq tz (getenv "TZ")) (set-time-zone-rule "UTC") (setq time (format-time-string "%a %b %e %H:%M:%S %Z %Y" (current-time))) (set-time-zone-rule tz) time))
indent-tabs-mode: nil
End:
|