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

  • From: roddey@u...
  • To: xml-dev@i...
  • Date: Mon, 22 Mar 1999 13:59:32 -0700




>From: Lars Marius Garshol <larsga@i...>
>Date: 21 Mar 1999 18:14:13 +0100
>Subject: Re: SAX2 RFD: LexicalHandler draft v.1.1
>
>* David Megginson
>|
>|     public abstract void xmlDecl (String version,
>|                    String encoding,
>|                    String standalone)
>|   throws SAXException;
>
>Should we perhaps make standalone a boolean instead?  It can only have
>two values anyway, and this will spare us a lot of
>standalone.equals(this or that).
>

I did that at first with my internal event APIs, but it didn't work out.
There is then no way of knowing whether the document *really* said yes or
no, or whether it was just no there at all and the default was used. This
prevents the recreation of the original document.



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/ and on CD-ROM/ISBN 981-02-3594-1
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