manage_main <select ... /> don't work with Mozilla
Hi, The last builds of Mozilla do not accept anymore this kind of HTML tags: <select .... /> I have discuss with Moz developers and they say it's not in the standard. So now we must use something like <select ...>. All the other tags must follow the same syntax, of course. The problem with the management interface of Zope is it uses '/>' in many places. So it's not possible to use Moz for creating new objects for example. So should it be possible to do something about it :-) Cyril
Cyril Elkaim wrote:
Hi,
The last builds of Mozilla do not accept anymore this kind of HTML tags: <select .... /> I have discuss with Moz developers and they say it's not in the standard. So now we must use something like <select ...>. All the other tags must follow the same syntax, of course.
The problem with the management interface of Zope is it uses '/>' in many places. So it's not possible to use Moz for creating new objects for example.
So should it be possible to do something about it :-)
Cyril
So then Mozilla doesn't support XHTML?? That is where that whole trailing slash convention is coming from. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
On Thu, 15 Mar 2001, Casey Duncan wrote:
Cyril Elkaim wrote:
Hi,
The last builds of Mozilla do not accept anymore this kind of HTML tags: <select .... /> I have discuss with Moz developers and they say it's not in the standard. So now we must use something like <select ...>. All the other tags must follow the same syntax, of course.
The problem with the management interface of Zope is it uses '/>' in many places. So it's not possible to use Moz for creating new objects for example.
So should it be possible to do something about it :-)
Cyril
So then Mozilla doesn't support XHTML?? That is where that whole trailing slash convention is coming from.
<select> should have a corresponding </select> right? In which case no, it should not have a trailing slash. They are only needed for single tags that have no corresponding close, eg <br /> <hr /> etc. -Matt -- Matt Hamilton matth@netsight.co.uk Netsight Internet Solutions, Ltd. Business Vision on the Internet http://www.netsight.co.uk +44 (0)117 9090901 Web Hosting | Web Design | Domain Names | Co-location | DB Integration
Matt wrote:
<select> should have a corresponding </select> right? In which case no, it should not have a trailing slash. They are only needed for single tags that have no corresponding close, eg <br /> <hr /> etc.
I agree but in the management interface of Zope it's not the case. You have <select ... /> Some stuff... </select> and you should have <select> stuff </select>. That's the reason why it doesn't work anymore with Mozilla. Cyril
On 15 Mar 2001, you wrote in local.zope.dev:
Matt wrote:
<select> should have a corresponding </select> right? In which case <no, it should not have a trailing slash. They are only needed for single tags that have no corresponding close, eg <br /> <hr /> etc.
I agree but in the management interface of Zope it's not the case. You have <select ... /> Some stuff... </select> and you should have <select> stuff </select>. That's the reason why it doesn't work anymore <with Mozilla.
It just seems to be one place in zope's code. OFS/dtml/main.dtml, line 43 needs the spurious slash removing.
Duncan Booth wrote:
On 15 Mar 2001, you wrote in local.zope.dev:
Matt wrote:
<select> should have a corresponding </select> right? In which case <no, it should not have a trailing slash. They are only needed for single tags that have no corresponding close, eg <br /> <hr /> etc.
I agree but in the management interface of Zope it's not the case. You have <select ... /> Some stuff... </select> and you should have <select> stuff </select>. That's the reason why it doesn't work anymore <with Mozilla.
It just seems to be one place in zope's code. OFS/dtml/main.dtml, line 43 needs the spurious slash removing.
It's always worth looking in the Collector for this sort of thing. http://classic.zope.org:8080/Collector/2020/view Submitted On: Mar 4, 2001 5:01 am -- Steve Alexander Software Engineer Cat-Box limited
Yes, I know, but that's what they say :-). I've already that problem with the script tag and they refuse to change this behavior, at least for now... Cyril
I have discuss with Moz developers and they say it's not
in the standard.
So now we must use something like <select ...>. All the other tags must follow the same syntax, of course.
So then Mozilla doesn't support XHTML?? That is where that whole trailing slash convention is coming from.
I think what he's saying is that Moz used to tolerate a form like: <select name="foo" /> ... </select> ...which doesn't make much sense (and appeared in the Zope UI by mistake). I believe that it is still ok to use the XHTML form for non-container tags, e.g.: <hr /> The 'select' tag problem in the Zope UI has since been fixed and the fix will be in 2.3.1 b2 (out today). Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
Brian wrote:
I think what he's saying is that Moz used to tolerate a form like:
<select name="foo" /> ... </select>
...which doesn't make much sense (and appeared in the Zope UI by mistake). I believe that it is still ok to use the XHTML form for non-container tags, e.g.:
<hr />
The 'select' tag problem in the Zope UI has since been fixed and the fix will be in 2.3.1 b2 (out today).
YES! Cyril
Brian Lloyd wrote:
I have discuss with Moz developers and they say it's not
in the standard.
So now we must use something like <select ...>. All the other tags must follow the same syntax, of course.
So then Mozilla doesn't support XHTML?? That is where that whole trailing slash convention is coming from.
I think what he's saying is that Moz used to tolerate a form like:
<select name="foo" /> ... </select>
...which doesn't make much sense (and appeared in the Zope UI by mistake). I believe that it is still ok to use the XHTML form for non-container tags, e.g.:
<hr />
The 'select' tag problem in the Zope UI has since been fixed and the fix will be in 2.3.1 b2 (out today).
BTW, this has been discussed in Bugzilla here: http://bugzilla.mozilla.org/show_bug.cgi?id=71577 -- Gilles Durys
On Thu, Mar 15, 2001 at 08:32:14AM -0700, Casey Duncan wrote:
Cyril Elkaim wrote:
Hi,
The last builds of Mozilla do not accept anymore this kind of HTML tags: <select .... /> I have discuss with Moz developers and they say it's not in the standard. So now we must use something like <select ...>. All the other tags must follow the same syntax, of course.
The problem with the management interface of Zope is it uses '/>' in many places. So it's not possible to use Moz for creating new objects for example.
So should it be possible to do something about it :-)
Cyril
So then Mozilla doesn't support XHTML?? That is where that whole trailing slash convention is coming from.
Hmm.. I am not sure if the Mozilla people are interpreting this right. The XHTML spec does say that tags that must have a seperate closing tag according to the HTML spec (they are not empty, they just don't have content), are best rendered in XHTML with a closing tag as well. But, wether or not the Mozilla browser is right in rejecting <select /> and <p />, if the Zope DTML contains such tags, we are not following the XHTML recommendation and I consider that as a bug. Could you someone file a Collector issue? -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------
participants (8)
-
Brian Lloyd -
Casey Duncan -
Cyril Elkaim -
duncan@rcp.co.uk -
Gilles Durys -
Martijn Pieters -
Matt Hamilton -
Steve Alexander