logo       

Re: xhtml compatibility guideline: msg#00046

java.enhydra.xmlc

Subject: Re: xhtml compatibility guideline


Hi Petr,

Have you tested browser to find out which ones aren't compatible with the short tags (<br/>)?

It might be compelling to change things if it breaks a lot of browsers, but if the ony ones it is breaking are IE3 and NS3, then it isn't really worth fixing.  There is nothing in the spec (that I know of) to say to leave the extra space.  I think it is just a recommendation.  The thing is, how big of a deal is this?  I guess you will have to tell us if you notice any compatibility problems in your app because of the way XMLC's xhtml dom outputs <br/> instead of <br />.

Glad to hear things are working for you otherwise.  Now we have to build XHTML components in Barracuda to support XHTML as they only support HTML right now.  Shouldn't take a whole lot of effort.

Jake

At 03:49 PM 12/19/2002 +0100, you wrote:
Hi,

thanks to your help I finally got the damn xhtml source files compiled
and then generated by Enhydra. Good news is that everything seems to be
OK - no lost </h2> tags or anything like that. BTW, I was rather
surprised that the formatting of the original xhtml is preserved - i.e.
it didn't strip all the whitespaces and end-of-line characters like it
usually dooes for plain html. Why?

One important question: XHTML Compatibility Guidelines (compatibility of
XHTML with HTML browsers) says that the single tags without a closing
tag (<br />) should keep a space between the tag and the "/>"). The
XHTML files I have here follows this rule but the generated stream
doesn't contain it.

So source : <br />
but result: <br/>

It's weird considering that all other white spaces were preserved. I
would say that it should be the other way round - it should be one
LOOONG line (as enhydra likes to produce) but this particular important
white space should be preserved for the compatibility with HTML
browsers.

What do you think?

Petr


_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise