Bad use of XML Document??
I am trying to use XML Document to upload my stylesheets also. Is this a no-no? Error Type: Bad Request Error Value: Invalid or duplicate property id Traceback (innermost last): File E:\TREB\lib\python\ZPublisher\Publish.py, line 214, in publish_module File E:\TREB\lib\python\ZPublisher\Publish.py, line 179, in publish File E:\TREB\lib\python\Zope\__init__.py, line 201, in zpublisher_exception_hook File E:\TREB\lib\python\ZPublisher\Publish.py, line 165, in publish File E:\TREB\lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: add) File E:\TREB\lib\python\ZPublisher\Publish.py, line 102, in call_object (Object: add) File E:\WebSite\lib\python\Products\XMLDocument\XMLDocument.py, line 354, in add File E:\WebSite\lib\python\Products\XMLDocument\XMLDocument.py, line 239, in parse (Object: Manageable) File E:\WebSite\lib\python\Products\XMLDocument\Builder.py, line 149, in parse File E:\WebSite\lib\python\Products\XMLDocument\Builder.py, line 170, in start File E:\WebSite\lib\python\Products\XMLDocument\Node.py, line 690, in setAttribute (Object: Manageable) File E:\TREB\lib\python\OFS\PropertyManager.py, line 207, in _setProperty (Object: Manageable) Bad Request: (see above)
At 05:34 PM 10/19/99 -0500, you wrote:
I am trying to use XML Document to upload my stylesheets also. Is this a no-no?
What do you mean exactly by this? If you are trying to use an XML Document to hold non-XML content then this is a bad idea :-) If on the other hand you are trying to associate XML with a CSS style sheet, then this is a fine idea, though your CSS since is not XML thus should be stored in a DTML Document or a File.
Error Type: Bad Request Error Value: Invalid or duplicate property id
This implies that there's an attribute in your XML which Zope doesn't like... Hope this helps. -Amos
participants (2)
-
Amos Latteier -
dale w lance