You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Mark S. Kent" <ma...@vistyx.com> on 2001/10/25 17:47:14 UTC

[C2] using HTML "nowrap" in a

This is weird.

I just tried putting a "nowrap" param to my <TD> tag in my XSL file like
this:
  <td nowrap>

to prevent the table cell in HTML from wrapping and got this error on the
screen:
  Error creating the resource
    Failed to execute pipeline.

and in the log:
   org.xml.sax.SAXParseException: Attribute name "td" must be followed by
the '=' character.

I was able to get "around" this by changing my tag to this:
  <td nowrap="">

While obviously not valid HTML, the browser still takes it (IE anyway --
haven't tested with NetScrape)

Comments?
-Mark


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] using HTML "nowrap" in a

Posted by Michael A Nachbaur <mi...@nachbaur.com>.
I think Netscape requires you to specify "nowrap='nowrap'".  Irritating, but
alas, reality. :(
-man

----- Original Message -----
From: "Mark S. Kent" <ma...@vistyx.com>
To: <co...@xml.apache.org>
Sent: Thursday, October 25, 2001 8:47 AM
Subject: [C2] using HTML "nowrap" in a <TD>


> This is weird.
>
> I just tried putting a "nowrap" param to my <TD> tag in my XSL file like
> this:
>   <td nowrap>
>
> to prevent the table cell in HTML from wrapping and got this error on the
> screen:
>   Error creating the resource
>     Failed to execute pipeline.
>
> and in the log:
>    org.xml.sax.SAXParseException: Attribute name "td" must be followed by
> the '=' character.
>
> I was able to get "around" this by changing my tag to this:
>   <td nowrap="">
>
> While obviously not valid HTML, the browser still takes it (IE anyway --
> haven't tested with NetScrape)
>
> Comments?
> -Mark
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] using HTML "nowrap" in a

Posted by Marty McClelland <mm...@eduprise.com>.
I use
nowrap="nowrap"

This approach has worked so far for any standalone html attributes I've
encountered.  So, likewise
noshade="noshade"

marty
----- Original Message -----
From: Mark S. Kent <ma...@vistyx.com>
To: <co...@xml.apache.org>
Sent: Thursday, October 25, 2001 8:47 AM
Subject: [C2] using HTML "nowrap" in a <TD>


> This is weird.
>
> I just tried putting a "nowrap" param to my <TD> tag in my XSL file like
> this:
>   <td nowrap>
>
> to prevent the table cell in HTML from wrapping and got this error on the
> screen:
>   Error creating the resource
>     Failed to execute pipeline.
>
> and in the log:
>    org.xml.sax.SAXParseException: Attribute name "td" must be followed by
> the '=' character.
>
> I was able to get "around" this by changing my tag to this:
>   <td nowrap="">
>
> While obviously not valid HTML, the browser still takes it (IE anyway --
> haven't tested with NetScrape)
>
> Comments?
> -Mark
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] using HTML "nowrap" in a

Posted by Erik Bruchez <eb...@unet.urbanet.ch>.
Check section 4.5 here:

http://www.w3.org/TR/xhtml1/#diffs

-Erik

Drasko Kokic wrote:

> Yeah, really wierd ... that some people still don't
> realise that things like <td nowrap>, or not properly
> ended <br> and <img> tags ... or even better, the
> <select><option></select> construction ... are simply
> NOT valid XML :-)
> 
> 
> --- "Mark S. Kent" <ma...@vistyx.com> wrote:
> 
>>This is weird.
>>
>>I just tried putting a "nowrap" param to my <TD> tag
>>in my XSL file like
>>this:
>>  <td nowrap>
>>
>>to prevent the table cell in HTML from wrapping and
>>got this error on the
>>screen:
>>  Error creating the resource
>>    Failed to execute pipeline.
>>
>>and in the log:
>>   org.xml.sax.SAXParseException: Attribute name
>>"td" must be followed by
>>the '=' character.
>>
>>I was able to get "around" this by changing my tag
>>to this:
>>  <td nowrap="">
>>
>>While obviously not valid HTML, the browser still
>>takes it (IE anyway --
>>haven't tested with NetScrape)
>>
>>Comments?
>>-Mark



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] using HTML "nowrap" in a

Posted by Drasko Kokic <dr...@yahoo.com>.
Yeah, really wierd ... that some people still don't
realise that things like <td nowrap>, or not properly
ended <br> and <img> tags ... or even better, the
<select><option></select> construction ... are simply
NOT valid XML :-)


--- "Mark S. Kent" <ma...@vistyx.com> wrote:
> This is weird.
> 
> I just tried putting a "nowrap" param to my <TD> tag
> in my XSL file like
> this:
>   <td nowrap>
> 
> to prevent the table cell in HTML from wrapping and
> got this error on the
> screen:
>   Error creating the resource
>     Failed to execute pipeline.
> 
> and in the log:
>    org.xml.sax.SAXParseException: Attribute name
> "td" must be followed by
> the '=' character.
> 
> I was able to get "around" this by changing my tag
> to this:
>   <td nowrap="">
> 
> While obviously not valid HTML, the browser still
> takes it (IE anyway --
> haven't tested with NetScrape)
> 
> Comments?
> -Mark
> 
> 
>
---------------------------------------------------------------------
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail:
> <co...@xml.apache.org>
> For additional commands, e-mail:
> <co...@xml.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>