summaryrefslogtreecommitdiff
path: root/ACEXML
diff options
context:
space:
mode:
authorkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-12 03:06:34 +0000
committerkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-03-12 03:06:34 +0000
commite3fb77de22d563db9216fac7f6e687cb71f8cfe5 (patch)
tree4e6e076a6e6180a7c78780bec3ed95b075838a4b /ACEXML
parent47a6db007b0ae8bfdc9cdd0bad0e6ad81d201d79 (diff)
downloadATCD-e3fb77de22d563db9216fac7f6e687cb71f8cfe5.tar.gz
Mon Mar 11 21:05:26 2002 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'ACEXML')
-rw-r--r--ACEXML/parser/parser/Parser.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/ACEXML/parser/parser/Parser.cpp b/ACEXML/parser/parser/Parser.cpp
index 379093aa02a..7ff342bd92e 100644
--- a/ACEXML/parser/parser/Parser.cpp
+++ b/ACEXML/parser/parser/Parser.cpp
@@ -126,7 +126,15 @@ ACEXML_Parser::parse (ACEXML_InputSource *input,
this->parse_xml_prolog (xmlenv);
ACEXML_CHECK;
}
- // @@ Should startDocument come before or after parsing the DTD definition?
+ // The nesting of events reported should be as follows:
+ // startDocument
+ // startDTD
+ // ....
+ // endDTD
+ // startElement
+ // ....
+ // endElement
+ // endDocument
this->content_handler_->startDocument (xmlenv);
ACEXML_CHECK;