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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX2: Namespace proposal

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: "Clark C. Evans" <clark.evans@manhattanproject.com>
  • Date: Mon, 20 Dec 1999 06:48:19 -0500 (EST)

Clark C. Evans writes:

 > This looks very similar to what Ray had proposed a few days ago.

Actually, it's part of what we all came up with for SAX2 last
spring...

 > On Sun, 19 Dec 1999, James Clark wrote:
 > > No.  I need to be able to build a tree that includes the all the
 > > namespace scoping information.  Something like:
 > > 
 > > interface NamespaceDeclHandler {
 > >   void startNamespaceDecl(String prefix, String namespace);
 > >   void endNamespaceDecl();
 > > }
 > > 
 > > with calls to start/endNamespaceDecl outside the calls to the
 > > corresponding start/endElement would do it.
 > 
 > In this case, perhaps leave startElement alone:
 > 
 >   void startElement(String name, AttributeList atts);

Unfortunately, using only the NamespaceDeclHandler makes more work for
applications that care just about Namespace-qualified names, and makes
those applications less efficient (since the parser has probably
already done the work that the application will have to do over): I
agree with James and Tim that such applications will be the most
common, and we should optimize for them.


All the best,


David

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

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 unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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)



  • Follow-Ups:
    • unsubscribe
      • From: Manoranjan Dash <mdash@techbooks.com>



 

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

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