[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

re: SAX2: Missing isSpecified show-stops DOM building

  • From: David Megginson <david@m...>
  • To: xml-dev@l...
  • Date: Wed, 28 Feb 2001 21:08:38 -0500

dom building
Ingo Macherius writes:

 > I would be very grateful if some of the SAX-debate veterans could
 > comment on this, or even point out a way how I can help getting
 > this into SAX 2.0.1.

My much-delayed next SAX2 release will be a bug-fix-only release, with
JUnit tests (finally!), and it will be my last one.  When I finally
dig myself out of the various holes I'm in and get that release out,
we'll have to decide where and by whom SAX2 will be maintained -- the
new maintainer(s) may be very open to change, or may be very
conservative about it.

In the meantime, the best place to start is by developing and
promoting a new feature and interface.  Try something like this:

  Feature: http://www.foo.org/sax/features/attribute-specified-info
  Read-only

  If true, the Attributes object passed in startElement events will
  also implement the AttributeSpecifiedInfo interface, and can be cast
  to it.

and then something like

  public interface AttributeSpecifiedInfo
  {
    public boolean isSpecified (int index);
    public boolean isSpecified (String uri, String localName);
    public boolean isSpecified (String qName);
  }

Publish this in a normal spec-y format (i.e. lots of references,
definitions, etc.) and then either convince a couple of XML parser
writers to support it, or write patches yourself against the OSS
parsers like Xalan.  If it catches on, then you'll have a strong case
for arguing for inclusion in future versions of SAX.


All the best,


David

-- 
David Megginson                 david@m...
           http://www.megginson.com/

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.