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


Help: OASIS Mailing Lists Help | MarkMail Help



   com.sun,xml.parser LexicalEventListener improvements

[ Lists Home | Date Index | Thread Index ]
  • From: roddey@us.ibm.com
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 2 Apr 1999 11:48:59 -0700

>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@java.sun.com.
>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@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


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

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