I'm not sure what standards you're talking about but it wouldn't be XSLT
compliant as you can see from section 16.2
(http://www.w3.org/TR/xslt#section-HTML-Output-Method).

In addition, the HTML standards
(http://www.w3.org/TR/html4/struct/global.html#edef-META) show that it
is forbidden to close the META tag.

I'm not sure why you think this is wrong.  It sounds like, if you've
been closing the tag, you're writing illegal HTML.

Gary

Wendell Beckwith wrote:
> 
> I have the question of why would we not output a closed tag.  It just seems
> wrong for no reason.  I can except that if you don't have an xsl:output and
> the first node is <html>, that it outputs html and inserts a meta tag, but
> what is the logic for outputing the Meta tag unclosed??  I'm new to xsl
> processing but not html and since I always open, close and properly nest my
> tags, this just seems like the wrong thing to do.  If the Meta tag (as well
> as any others) wwas closed them as far as I can tell, there would be no ill
> effects and be more standards compliant.
> 
> Wendell
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 1:13 AM
> To: [EMAIL PROTECTED]
> Subject: [Bug 3025] - HTML META tag not closed
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3025
> 
> [EMAIL PROTECTED] changed:
> 
>            What    |Old Value                   |New Value
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|                            |INVALID
> 
> ------- Additional Comments From [EMAIL PROTECTED]  2001-08-07
> 23:13 -------
> Wendell --
> Please have a careful look at sections 16 and 16.2 of the Recommendation.
> If
> you haven't specified an xsl:output method, and the first node is <html>,
> then
> the HTML output method is used, not the XML output method.  When the HTML
> output
> method is used, the meta tag (among others) is not output with an end-tag,
> only
> a start-tag.  If IE 5.5 is displaying this as HTML, it will work.  If it's
> trying to display it as XML it will fail, as you've seen.

Reply via email to