declare xmlspace = preserve <textarea></textarea> => <textarea/>
declare xmlspace = preserve <textarea> </textarea> => <textarea> </textarea>If placing some whitespace in the textarea is unacceptable, you might be able to push IE6 into a more standards-compliant mode (http://hsivonen.iki.fi/doctype/ has some info on this).
For example, this seems to work for me, in IE6: <html xmlns="http://www.w3.org/1999/xhtml"> <body> <textarea></textarea> </body> </html> The default namespace seems to push IE6 into xhtml mode. -- Mike Williams, Paul wrote:
Hmmm. Thanks Mike, but this really isn't a space preservation issue. Our code looks like this: ===============================================return ...<textarea id="annotationText"></textarea> ... =============================================== MLS 3.1 properly generated the HTML as: ...<textarea id="annotationText"></textarea>... But MLS 3.2 generates this: ...<textarea id="annotationText"/>... That would be fine for an XHTML browser, but IE 6 doesn't play nice with this because a textarea element in HTML must have an end tag. So, the question is: what changed in MLS 3.2 so that it's not generating valid HTML here? Nothing changed in our code. -- Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Blakeley Sent: Friday, July 13, 2007 12:42 PM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] textarea closing missing Paul, The xmlspace declaration should help: declare xmlspace = preserve <textarea> </textarea> => <textarea> </textarea> -- Mike Williams, Paul wrote:We recently updated to MLS 3.2 and discovered that some HTML being generated for a form is no longer correct. The form uses an empty TEXTAREA element which was generated properly in MLS 3.1 as <textarea></textarea> (closing tag is mandatory). But MLS 3.2generates<textarea/>, which doesn't fly well. We changed to <textarea> </textarea> as a workaround, but would like to know if we missed a config setting or something. Anybody else seen this?-- Paul------------------------------------------------------------------------_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
