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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: XML-DEV <xml-dev@xml.org>
  • Date: 06 Feb 2000 20:42:26 -0500

Michael Fuller <msf@io.mds.rmit.edu.au> writes:

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

Yes.

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

No.

I suppose that the documentation in DeclHandler should make this
clearer -- I'll add it to the TODO list.


All the best,


David

-- 
David Megginson                 david@megginson.com
           http://www.megginson.com/




 

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

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