logo       

xhtml compatibility guideline: msg#00045

java.enhydra.xmlc

Subject: xhtml compatibility guideline

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


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

News | FAQ | advertise