com.sun,xml.parser LexicalEventListener improvements

roddey at roddey at
Fri Apr 2 20:50:38 BST 1999

>I believe that the class LexicalEventListener is the proposed basis for
>the new javax.xml extension. In private conversation with Dave Brownwell
>of Sun Microsystems I made the suggestions below. While refusing these
>ideas Dave suggested that I poll the users on XML-DEV to determine their
>reactions. I hope you will agree with these suggestions and contact Dave
>via xml-feedback at
>1. The startElement() method should indicate if it is an empty element.
>    i.e. whether the element ends with a /> tag or not.

I do this currently in my internl callbacks and believe its the best thing
to do, since it saves an extra callback and allows for better recreation of
the original document (I just can't pass that info on via SAX right now.) I
would definitely vote strongly for this.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list