Hi Clytie, *, On Sat, Sep 13, 2008 at 2:03 PM, Clytie Siddall <[EMAIL PROTECTED]> wrote: > Hi everyone :) > > Sorry I couldn't answer this earlier.
No problem. > On 30/07/2008, at 7:10 AM, Christian Lohmaier wrote: >> On Mon, Jul 14, 2008 at 2:51 PM, Clytie Siddall <[EMAIL PROTECTED]> >> wrote: >> >> http://vi.openoffice.org/about-downloads.html >> >> Have you experienced the problem since the last post? > > Yes. :( Now I can see it broken as well, and I also see that it stats with displaying the byte-order mark as if the page was treated as having iso-8859-1 charset. >>> [...] >> I'd expect the removal of head is more likely to cause the problem... >> Or that the page is not a complete html page, but only the body. >> (well, actually not even that, it has the closing tags, but misses the >> opening ones) >> >> If the problem occurs, please try to make it a full (x)html page, i.e with >> <html><head><body> tags. > > I did that today, hoping it would fix the problem, but I just checked again, > and the page is munged. :( > [...] > I used: > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > > I am unsure if I should change the "EN" to "VI, so I haven't. That shouldn't matter, but my parser complains here: about-downloads.html|1| parser error : SYSTEM or PUBLIC, the URI is missing || <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> i.e. the "http://www.w3.org/TR/html4/loose.dtd" is missing. But you should use XHTML (transistional) anyway, since that is what Collabnet will force on the page anyway. And declaring it as HTML, but not obeying to the rules of HTML might confuse the CollabNet parser. the link element in head is closed ( with /> ) - I suggest turning it into XHTML-transitional to avoid problems resulting from that. I'll send you a diff that turns the page into valid XHTML transitional. It is rather big, because there are lots of <br> that have to be turned in <br/> - apart from that there are not many differences. Once a </p> moved (since <ul> are not allowed inside <p>), <img> tags closed, attributes quoted. > in the hope that the server would notice it more often. It doesn't seem to > have helped. If the xhtml alone doesn't help, one can further add a <?xml version="1.0" encoding="utf-8" ?> at the very top > The really confusing thing is that none of our other pages are affected, and > they all use the same header etc.. I wonder if it's because the download > page has so many hits, while the other pages are very quiet so far. Don't think so - maybe it is also the BOM that confuses CollabNet's parser (should not, but who knows) Or maybe it treats the content-type declaration case-sensitive (opposed to the HTTP standard) and doesn't recognize it because it is in all-lowercase and not "Content-Type" (even less likely than the above) > Any help you can offer will be warmly appreciated. :) Let's see if declaring it as xhtml and conforming to it solves the problem. ciao Christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]