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

  • From: David Megginson <ak117@f...>
  • To: xml-dev@i...
  • Date: Sun, 4 Jan 1998 13:37:04 -0500

Tim Bray writes:

 > Agreed.  Could we change the first method to
 > startDocument(String root, String DTDSysID, String DTDPubID)
 > these obviously each being null in the event the document doesn't
 > provide them? -Tim

This is a great idea, but it will require an implementation to queue
events.  For example, if I have

  <?foo bar?>
  <!DOCTYPE doc SYSTEM "doc.dtd">

I have to queue the PI event(s) until I have found the DOCTYPE, so
that I will know the root element type and the URI of the external
DTD.  If this information is important (and others have argued that it
is), then a separate docType() event would probably be appropriate.


All the best,


David

-- 
David Megginson                 ak117@f...
Microstar Software Ltd.         dmeggins@m...
      http://home.sprynet.com/sprynet/dmeggins/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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