Andrew Beekhof wrote:
> On 7/11/07, Alan Robertson <[EMAIL PROTECTED]> wrote:
>> Andrew Beekhof wrote:
>> > On 7/11/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.
>
> well they have the same ancestry (SGML)
> but it never occurred to me that <tag/> would actually be forbidden.
> thats pretty dumb.
>
>> XHTML might be that way,
>
> it is.
> its also w3c's (7 year old) successor to HTML4 and what i'm writing for
>
>> 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.
Actually, SGML doesn't permit <tag/> either, IIRC.
And, I'd be writing to the least common denominator, or have a switch
for xml vs html4. The idea of running it through the verifier I think
is a good one. It will detect which your page _says it conforms to_,
and judge it accordingly.
--
Alan Robertson <[EMAIL PROTECTED]>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/