[MarkLogic Dev General] textarea closing missing
Williams, Paul
Paul.Williams at flatironssolutions.com
Mon Jul 16 13:13:01 PDT 2007
Hi Mike -
Just to make sure we're talking apples and apples, I've attached an html
file containing both forms. So, when you open this file in IE6, you
don't see the closing body and html tags inside the textarea? I.e.,
both textarea boxes look the same (empty) to you?
If so, there must be a config setting somewhere that tells your IE6 to
assume XHTML while mine assumes its normal HTML. I see the end tags
inside the second text area in both IE6 and Firefox 1.5. So both of
these are expecting the HTML version with an end tag.
But, my original question was prompted by curiosity as to what changed
between MLS 3.1 and 3.2 to make it produce the shorthand XHTML version
of an empty TEXTAREA element instead of the HTML version which requires
an end tag.
Thanks for responding.
-- Paul
[Land] (402) 592-8218
[Air] (402) 203-2232
> -----Original Message-----
> From: general-bounces at developer.marklogic.com [mailto:general-
> bounces at developer.marklogic.com] On Behalf Of Michael Blakeley
> Sent: Friday, July 13, 2007 5:50 PM
> To: General Mark Logic Developer Discussion
> Subject: Re: [MarkLogic Dev General] textarea closing missing
>
> Paul,
>
> Both forms work for me, using IE 6.0.2800.1106. That is, I see an
empty
> textarea on the resulting page.
>
> -- Mike
>
> Williams, Paul wrote:
> >> For example, this seems to work for me, in IE6:
> >>
> >> <html xmlns="http://www.w3.org/1999/xhtml">
> >> <body>
> >> <textarea></textarea>
> >> </body>
> >> </html>
> >
> > That's because that is valid HTML. It should work even without the
> > XHTML namespace declaration. You have the end tag in there instead
of
> > the shorthand "<textarea/>" which is not valid HTML. Try this...
> >
> > <html xmlns="http://www.w3.org/1999/xhtml">
> > <body><textarea/></body>
> > </html>
> >
> > You'll see that since the textarea is never legally closed, the rest
of
> > the page shows up as contents of the text box when rendered in IE6
> > regardless of the XHTML namespace.
> >
> > -- Paul
> > _______________________________________________
> > General mailing list
> > General at developer.marklogic.com
> > http://xqzone.com/mailman/listinfo/general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20070716/4edda8f4/test.html
More information about the General
mailing list