[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Fuller <msf@i...>
  • To: XML-DEV <xml-dev@x...>
  • Date: Sun, 6 Feb 2000 19:28:58 +1100


Quick question.

What's the relative ordering of the ContentHandler::startDocument()
and LexicalHandler::startDTD() and endDTD() events?

Is it:
    startDocument()
    startDTD()
	[... possibly startEntity()/endEntity() events]
    endDTD()
	[... various startElement()/endElement()/... events]
    endDocument()
or:
    startDTD()
	[... possibly startEntity()/endEntity() events]
    endDTD()
    startDocument()
	[... various startElement()/endElement()/... events]
    endDocument()

I presume the former...  I trust it isn't parser dependent.

Michael
____________________________________________
http://www.mds.rmit.edu.au/~msf/
Multimedia Databases Group, RMIT, Australia.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member