[Zope] Error Type: ExpatError

Fred Drake fdrake at gmail.com
Wed Oct 12 22:41:56 EDT 2005


On 10/12/05, Garito <garito at sistes.net> wrote:
> What do you need?

In this bit of code:

Module Products.Yanged.SitioYanged, line 268, in ObtenerNodo
266 |
267 |           if 'NodoRaiz' not in args:
268>|                   args['NodoRaiz'] =
parseString(self.Dame({'nombre': self.getId() +
'.mm'}).index_html(self.REQUEST, self.REQUEST.RESPONSE))
269 |           if 'Nodos' not in args: args['Nodos'] =
args['NodoRaiz'].childNodes
270 |           if 'Nivel' not in args: args['Nivel'] = 0

The expression

    self.Dame({'nombre': self.getId() + '.mm'})

is providing something that's being passed to the XML parser (the
parseString() function).  That string is the data that's in question;
if you can get that string and send it to me (as a file attachment,
preferably), I'll try to figure out what's happening.  The "Yanged"
product I've never heard of, and don't know anything about its code. 
But I know something about the XML parser being used.  :-)


  -Fred

--
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Society attacks early, when the individual is helpless." --B.F. Skinner


More information about the Zope mailing list