Hi!

We also hit that problem. We solved it by using an WOString to insert those comments (with HTML escaping turned off, I think, but not sure).

  Yours

Miguel Arroz

On 2008/11/25, at 18:52, Ramsey Lee Gurley wrote:

Hi all,

I'm trying to do something using IE's conditional comments (http://juicystudio.com/article/object-paranoia.php ) and what starts as

<!--[if IE]>
<object id="IEQT"
       classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
       width="320"
       height="270">
   <param name="src" value="magpie2_demo.qt.smil"/>
   <param name="autoplay" value="true"/>
   <param name="controller" value="true"/>
</object>
<![endif]-->
<!--[if !IE]> <-->
<object id="NonIEQT"
       data="magpie2_demo.qt.smil"
       type="video/quicktime"
       width="320"
       height="270">
  <param name="autoplay" value="-1"/>
  <param name="controller" value="-1"/>
</object>
<!--> <![endif]-->
Comes out on the page looking like:
<object id="NonIEQT"
       data="magpie2_demo.qt.smil"
       type="video/quicktime"
       width="320"
       height="270">
  <param name="autoplay" value="-1"/>
  <param name="controller" value="-1"/>
</object>
<![endif]-->
Is there some way to preserve these comments? It seems like a bug either way given that trailing <![endif]--> isn't stripped. Is this something WO is doing? Comments appear to be preserved in the build folder.
Thanks all,
Ramsey

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com

This email sent to [EMAIL PROTECTED]


...........................
http://www.survs.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to