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.2
generates
> <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