Re: expat/tests runtests.c,1.43,1.44

"Fred L. Drake, Jr." <[email protected]>
Newsgroups gmane.text.xml.expat.cvs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.