[Laszlo-dev] copyright problem

P T Withington ptw at pobox.com
Thu May 15 06:37:34 PDT 2008


I think we all got caught up in the XHTML bandwagon for a while and  
thought it was the right thing.  We now know that it is not (because  
Firefox is the only browser that _actually_ processes XHTML, and it is  
so strict that it will display nothing at all if you have the  
slightest error, and we are not actually serving our XHTML as  
application/xhtml+xml as is required.  All the browsers are treating  
our XHTML as invalid HTML that they process in quirks mode, which is a  
bad thing.  So, we should change this to generate HTML 4.1 IMO.  See: http://webkit.org/blog/68/understanding-html-xml-and-xhtml/ 
  for more background, but you probably knew all this.)

On 2008-05-15, at 08:56 EDT, Lou Iorio wrote:

> There is a problem in trunk/quick-index.html (LPP-5863) where the  
> copyright is displayed
> like this:
>
> Copyright ?? 2002-2008
>
> This problem does not exist on my local build (Mac), but it shows up  
> in the nightly build.
>
> I tried to fix this in trunk/quick-index.xsl by replacing the  
> copyright symbol with the entity
> ©
>
> Again, this works on my local build, but not nightly.
>
> The only thing I see that I don't get is this in the xsl file:
>
>    <xsl:output
>      doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
>      doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1- 
> strict.dtd" />
>
> I don't know if this is related to the problem, but why are we  
> outputting xhtml?
> I'd like to remove this and see if it fixes the problem, but I  
> thought I'd check to
> see if there's a good reason for it being there.
>
> Lou



More information about the Laszlo-dev mailing list