logo       

Re: xhtml compatibility guideline: msg#00047

java.enhydra.xmlc

Subject: Re: xhtml compatibility guideline

On So, 2002-12-21 at 08:18, Jacob Kjome wrote:
> Have you tested browser to find out which ones aren't compatible with the
> short tags (<br/>)?

no. I just read that the space should be there, that's all. There are
too many browsers today to test them all.

> There is nothing in the spec (that I know of) to say to leave the
> extra space. I think it is just a recommendation.

it is a suggestion how to produce an XHTML that is readable by current
browsers.

> Glad to hear things are working for you otherwise.

They actually don't. I run into something very serious. My javascript
stopped working. I spent a day by debugging it until I found out that
Enhydra sends the stream as "text/xml" and in such case "document.forms"
is undefined - basically the whole DOM is not working for javascript.

I tried to modify the stream type to "text/xhtml" but then my Galeon
tried to save it as a binary data. The only way when it worked like it
should (including the javascript) was when I hacked it to type
"text/html".

So my question: is is possible to get the javascript working in the
"text/xml" mode or is it better to tell XMLC to generate the pages as
"text/html"? Is there any switch for this?

Petr


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise