[Zope] hiperdom
Bak@kedai
bak@nstp.com.my
Thu, 18 Jan 2001 12:38:29 +0800
hello all
scuse my ignorance. i have this[1] in a hiperdom instance (partial text from
hiperdom howto). but i got this[2] error when i clicked change.
i know it's me not understanding XML well enough.
pointers/help please
p/s - maybe, the default text in a newly created hiperdom instance should be
something similar to what a new dtml method/document gives now?
-----8<-------------
[1]
<?xml version='1.0'?>
<html><head><title hdom:text="title">title</title></head>
<body>
<h3 hdom:text="id">me h3</h3>
</body></html>
[2]
</P>
<P><STRONG>DOMException</STRONG></P>
Sorry, a Zope error occurred.<p>
<!--
Traceback (innermost last):
File /tmp/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module
File /tmp/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish
File /tmp/Zope/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: hdom)
File /tmp/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish
File /tmp/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: manage_edit)
File /tmp/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object
(Object: manage_edit)
File /home/kdie/Zope/lib/python/Products/HiperDom/HiperDomTemplate.py, line
177, in manage_edit
(Object: hdom)
File /home/kdie/Zope/lib/python/Products/HiperDom/HiperDomTemplate.py, line
322, in _updateDom
(Object: hdom)
File /home/kdie/Zope/lib/python/Products/HiperDom/DomWrapper.py, line 168,
in todom
File /usr/lib/python1.5/site-packages/xml/dom/ext/reader/PyExpat.py, line
166, in startElement
File /usr/lib/python1.5/site-packages/xml/dom/Document.py, line 215, in
createAttributeNS
(Object: Node)
DOMException: DOM Error Code 14: Namespace operation results in malformed or
invalid name or name declaration.
-->
--
http://www.kedai.com.my/kk
http://www.kedai.com.my/eZine
Help me save me from myself...