SAX2 RFD: LexicalHandler draft v.1.1

roddey at us.ibm.com roddey at us.ibm.com
Mon Mar 22 21:01:06 GMT 1999




>From: Lars Marius Garshol <larsga at ifi.uio.no>
>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 at ic.ac.uk
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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list