[Zope-xml] Trying to get 4Suite and XMLTransform up and running

Jean Jordaan jean at upfrontsystems.co.za
Wed Sep 11 11:25:12 EDT 2002


Jean Jordaan wrote:
> I'm in way beyond my depth here, 

Obviously ;)  Sorry for trying your patiences ..

> I guess '<xsl:include href="included.xsl" />' is really something
> completely different 

I've seen that it is completely different ..

I traced the parsing up to the '<xsl:include href="included.xsl" />'
line, and watched as the reference was resolved, quite correctly, to
   http://blommie:15080/xml/registry/included.xsl
and, eventually, tried to fetch that using urllib. And that's where
it hangs:

(Pdb) l
283                 h.putrequest('GET', selector)
284             if auth: h.putheader('Authorization', 'Basic %s' % auth)
285             if realhost: h.putheader('Host', realhost)
286             for args in self.addheaders: apply(h.putheader, args)
287             h.endheaders()
288  ->         if data is not None:
289                 h.send(data)
290             errcode, errmsg, headers = h.getreply()
291             fp = h.getfile()
292             if errcode == 200:
293                 return addinfourl(fp, headers, "http:" + url)
(Pdb) n
 > /usr/lib/python2.1.3/urllib.py(290)open_http()
-> errcode, errmsg, headers = h.getreply()
(Pdb) n

That 'getreply' never returns. 'included.xsl' is accessible to
anonymous. I'll step into 'getreply' tomorrow and see if I learn any
more ..

-- 
Jean Jordaan
Upfront Systems                         http://www.upfrontsystems.co.za





More information about the Zope-xml mailing list