OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   SAX2: relative ordering of startDocument() & startDTD() events?

[ Lists Home | Date Index | Thread Index ]
  • From: Michael Fuller <msf@io.mds.rmit.edu.au>
  • To: XML-DEV <xml-dev@xml.org>
  • 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.




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS