The org.xml.sax package

Miles Sabin msabin at
Thu May 27 12:58:33 BST 1999

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,

          // SAX2 stuff here
            // SAX2 stuff here
          // SAX2 stuff here
            // SAX2 stuff here

      // SAX1 stuff here
        // 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.



Miles Sabin                          Cromwell Media
Internet Systems Architect           5/6 Glenthorne Mews
+44 (0)181 410 2230                  London, W6 0LJ
msabin at           England

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