On 7/12/07, DAIKI MATSUDA <[EMAIL PROTECTED]> wrote:
> >> Hello, all.
> >>
> >> I found a little bug in crm_mon source code (crm/admin/crm_mon.c). It
> >> can create HTML file with --as-html option. But it includes not <br>
> >> tag but <br/> for carriage return code. I think <br> may be correct
> >> and attach the patch. Could you confirm?
> >
> > no. those tags should be closed in correctly formed HTML
> > it just like xml really...
>
>
> HTML doesn't allow the <xml/> type options. HTML is NOT really just
> like XML. XHTML might be that way, but HTML 4 certainly isn't. I'd
> run it through one of the HTML verifiers like that at the w3c to make
> sure, but I just looked in my HTML4 book to verify what I just said.
>
>
> --
> Alan Robertson <[EMAIL PROTECTED]>
Thank you for reply, Andrew and Alan.
http://www.w3.org/TR/html401/struct/text.html#edef-BR
In upper URL, it is displayed that "Start tag: required, End tag:
forbidden". So, if <xml/> style were allowed in HTML4, I think that
'/' in <br/> is not needed. Because its '/' is for the end tag.
its required in XHTML which is what crm_mon is producing
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/