(no subject)

Jeremy Rew <[email protected]> Wed, 18 Sep 2002 11:13:49 +0800
Newsgroups gmane.comp.web.zope.parsed-xml
Message-ID <5.1.1.6.0.20020918110405.00b5f638@localhost>
I am having a problem with ParsedXML.
I have imported the example.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 Example.zexp and only 
if it is unchanged.

Is this a bug, or a configuration problem? Any help would be excellent.

Thanks,
Jeremy