SAX2r3 bug: NamespaceSupport.declarePrefix() does not throw exception

Norman Walsh <[email protected]> Thu, 22 Apr 2004 15:16:40 -0400
Newsgroups gmane.text.xml.sax.devel,gmane.text.xml.devel
Message-ID <[email protected]>
/ David Megginson <[email protected]> was heard to say:
| I'd appreciate it if anyone interested could look over the prerelease of SAX2r3:
|
|    http://sourceforge.net/project/showfiles.php?group_id=29449

The method

   org.xml.sax.helpers.NamespaceSupport.declarePrefix()

needs a patch to throw IllegalStateException in cases when a prefix is
declared after looking up a name in the current Namespace context, or
after pushing another context on top of it. The method should throw
the exception according to the javadoc.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <[email protected]> | 
http://nwalsh.com/            |
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAiBoZOyltUcwYWjsRAp/1AJ4tU5cNVGCiYXKdFEP/uHG78989TgCgmnu5
CLQH2cJKugyAN1afbUsZwaE=
=j4YK
-----END PGP SIGNATURE-----