[Zope-xml] ParsedXML 'meta_type' problem
Jeremy Rew
huxley1 at westnet.com.au
Fri Sep 6 00:50:28 EDT 2002
I am having a problem with ParsedXML.
I have imported the Examples.zexp, and they work fine. The problem is that
when I change, or replace any data in the XML file, or create an example of
my own I get the following error:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: meta_type
Traceback (innermost last):
File /usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 150,
in publish_module
File /usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 114,
in publish
File /usr/Zope-2.5.1-linux2-x86/lib/python/Zope/__init__.py, line 159, in
zpublisher_exception_hook
File /usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 98,
in publish
File /usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 88,
in mapply (Object: viewEntry)
File /usr/Zope-2.5.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 39,
in call_object (Object: viewEntry)
File /usr/Zope-2.5.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 127, in
__call__ (Object: viewEntry)
File /usr/Zope-2.5.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 473, in __call__ (Object: viewEntry)
File /usr/Zope-2.5.1-linux2-x86/lib/python/DocumentTemplate/DT_In.py, line
695, in renderwob (Object: childNodes)
File /usr/Zope-2.5.1-linux2-x86/lib/python/DocumentTemplate/DT_Var.py, line
250, in render (Object: firstChild.data) (Info: ('firstChild.data', u'To be
or not to be', {'fmt': 'structured-text', '': '"firstChild.data"'}))
File /usr/Zope-2.5.1-linux2-x86/lib/python/DocumentTemplate/DT_Var.py, line
355, in structured_text AttributeError: (see above)
This error occurs even if I edit the original XML file that works, and then
change it back to exactly how it was from within the xml editor.
The only XML file that will work is the one from the Examples.zexp and only
if it is unchanged.
Has anyone else had this problem? Any help would be excellent.
Thanks,
Jeremy
More information about the Zope-xml
mailing list