[#7055] More on VC++ 2005 — Austin Ziegler <halostatue@...>

Okay. I've got Ruby compiling. I'm attempting to get everything in

17 messages 2006/01/05
[#7058] Re: More on VC++ 2005 — nobuyoshi nakada <nobuyoshi.nakada@...> 2006/01/06

Hi,

[#7084] mathn: ugly warnings — hadmut@... (Hadmut Danisch)

Hi,

22 messages 2006/01/10
[#7097] Re: mathn: ugly warnings — Daniel Berger <Daniel.Berger@...> 2006/01/10

Hadmut Danisch wrote:

[#7098] Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/10

Daniel Berger wrote:

[#7118] Re: Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/12

*Dean Wampler *<deanwampler gmail.com> writes:

[#7226] Fwd: Re: Question about massive API changes — "Sean E. Russell" <ser@...>

Hello,

23 messages 2006/01/28
[#7228] Re: Question about massive API changes — Caleb Tennis <caleb@...> 2006/01/28

>

Re: [PATCH] Add XHTML 1.0 Output Support to Ruby CGI

From: Wilson Bilkovich <wilsonb@...>
Date: 2006-01-23 15:58:36 UTC
List: ruby-core #7192
On 1/21/06, James Britt <ruby@jamesbritt.com> wrote:
> Paul Duncan wrote:
> ...
>
> > Note the addition of an XML declaration after the document type
> > declaration.  While the XHTML spec doesn't _require_ an XML declaration,
> > it strongly recommends it, especially if the document is being served
> > with a content type of 'text/html'.  I haven't changed the default
> > Content-Type for XHTML output from the default value of 'text/html';
> > I'll elaborate on that a bit more later.  I've also deliberately put the
> > XML declaration after the DOCTYPE declaration.  Even though my spidey
> > sense tells me that it should be the other way around, the spec does not
> > appear to require the XML declaration before the DOCTYPE declaration
> > and, more importantly, certain browsers (hello, Internet Explorer!)
> > behave incorrectly if the DOCTYPE declaration doesn't come first.
>
> If I understand the XML prolog production rule correctly, the (optional)
> XML decl must come before the doctype decl
>
> prolog  ::= XMLDecl? Misc* (doctypedecl Misc*)?
>
> http://www.w3.org/TR/REC-xml/#NT-prolog
>

I've always simply left the XML declaration off, since it melts
Internet Explorer.
I think it's better to omit it than to put it in a nonstandard location.


In This Thread