[Expat-checkins] expat/tests runtests.c,1.43,1.44
Fred L. Drake, Jr.
fdrake at acm.org
Fri Jan 24 14:19:56 EST 2003
Karl Waclawek writes:
> Now - quick thought: Didn't we just document that
> the startNameSpaceDeclHandler does not get called
> when no startElementHandler is set? And isn't
> addBinding (the function which checks for the error)
> the one that would be called to call the startNamespaceDeclHandler?
>
> Try adding a startElementHandler.
Aha! Works like a charm! So it seems the check for an empty URL
needs to happen sooner, outside any dependence on the callbacks, since
this isn't a reporting issue but non-conformance with the "Namespaces
in XML" specification.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation
More information about the Expat-checkins
mailing list