Well-Formed SNAFU

WorldNet csgallagher at worldnet.att.net
Mon Jun 7 16:46:08 BST 1999


> David Brownell wrote:
> >Paul Grosso wrote:
> >>    <br class="html-compatibility-mode"/>
> >Hmm, interesting.  I'd not seen that one before.  I wonder how
> >widely that one is accepted?

> From: owner-xml-dev at ic.ac.uk [mailto:owner-xml-dev at ic.ac.uk]On Behalf Of
> Tim Bray
> Yes, new (and clever).  I suspect that will work on any browser known
> to humankind. -T.

Yes, using <br class="html-compatibility-mode"/> does seem to work in NC4.x
and IE5.x using...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/transitional.dtd">

Would the same hold true using 'strict'? I need to question for
understanding wether the class itself needs to be defined somewhere as I've
been needing to do with CSS? Does it not or is the recognition of the
html-compatibility-mode attribute value something the parsing agent
recognizes via the DOCTYPE mechanism? The document I'm using as a learning
model was created using MS Word 2000...which arguably will be IMHO how most
XML documents in the near future will be created by the larger population of
users that in turn will require modification and refinement by others.


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list