[Zope-Coders] Re: [ZC] 679/ 2 Comment "ZPT: bogus close tag </link> should be
removed"
Shawn Murphy
smurp@emergence.com
Wed, 20 Nov 2002 10:06:48 -0700 (MST)
Hmm. Well, at your suggestion I set the response header Content-Type to
text/xml, but I did so from within ZPT and did so by making a call out to
medusa's request object for the hit. This did correctly change the
delivered Content-Type. The same error occurred as I previously reported
when I put a 'binary' link tag into the document.
Just a note on how atypical my setup is (so you know how little of your
head scratching this bug is worth). I am not actually running Zope, I am
running a thing called Nooron which I am creating, which happens to use
A.M. Kuchling's Medusa-0.5.2 and depends (for the moment) on the presence
of a Zope-2.5.1 installation out of which ZPT is being loaded.
Thanks!
On Tue, 19 Nov 2002, Collector: Zope Bugs, Features, and Patches ... wrote:
> Issue #679 Update (Comment) "ZPT: bogus close tag </link> should be removed"
> Status Pending, Zope/bug medium
> To followup, visit:
> http://collector.zope.org/Zope/679
>
> ==============================================================
> = Comment - Entry #2 by Caseman on Nov 19, 2002 12:33 pm
>
> Just out of curiousity, is the content type for your page template set to "text/xml"? If not you should see if the behavior changes if you set it to that.
> ________________________________________
> = Request - Entry #1 by Anonymous User on Nov 19, 2002 12:27 pm
>
> Using ZPT to generate DocBook XML I tried
> to use the docbook binary LINK tag. But...
> ZPT raised some zany error about:
> "Close tag </link> should be removed"
> This looks like a bug/mangled feature
> in ZPT where it tries to do some automagical
> stuff with the HTML unary LINK tag.
>
> The following code in a ZPT triggers this error:
> <link linkend="anywhere">go</link>
>
> I am actually using the Zope 2.5.1 ZPT stuff
> outside of Zope (quite satisfactorily, otherwise)
> and that is where this error is popping up. I
> have not tested it in Zope itself. Sorry.
> ==============================================================
>
--
====================================================================
Shawn Murphy http://www.smurp.com
mailto:smurp@emergence.com http://www.noosphere.org
tel:+780-903-2428 http://www.emergence.com