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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: The org.xml.sax package

[ Lists Home | Date Index | Thread Index ]
  • From: Miles Sabin <msabin@cromwellmedia.co.uk>
  • To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
  • Date: Thu, 27 May 1999 11:57:10 +0100

David Megginson wrote,
> It shouldn't be -- SAX's package name (org.xml.sax.*) 
> is secure.  The only issue is that we cannot 
> arbitrarily create package names outside of that 
> hierarchy, since OASIS may use those for other 
> purposes.

Certainly. But there is a bit of a structural problem
here: SAX1 occupies the root of the org.xml.sax
namespace. Andy's proposal would have to be recast
something like this,

  org
    xml
      sax
        parser
          // SAX2 stuff here
          helpers
            // SAX2 stuff here
        dom
          // SAX2 stuff here
          helpers
            // SAX2 stuff here

      // SAX1 stuff here
      helpers
        // SAX1 stuff here

I don't know about you, but to me this sort of
structure suggests that SAX2 is a *subsidiary* part of
SAX1. That's not what he had in mind: for better or
worse he's suggesting a (mostly compatible given
adapters) *replacement* SAX2 API. For me that implies 
they should be peer packages, rather than having a 
parent-child relationship.

Of course, whether you see things that way or not
depends on what kind of java package structure
conventions you adopt, but I think most people follow
the 'sub-package is sub-component' line.

This isn't fatal to Andy's proposal, but it is a bit
of a wart on an idea that otherwise I'm beginning to
warm to.

> Personally, I think that it's a good thing for SAX 
> that its Java package name is built on a .ORG domain 
> that is (now) controlled by a non-profit organization 
> dedicated to advancing XML, rather than by a
> for-profit company (even a nice one like Megginson 
> Technologies).

Agreed, and I hope noone interpreted my comments as
casting aspersions on OASIS.

Cheers,


Miles

-- 
Miles Sabin                          Cromwell Media
Internet Systems Architect           5/6 Glenthorne Mews
+44 (0)181 410 2230                  London, W6 0LJ
msabin@cromwellmedia.co.uk           England

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