OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Well-Formed SNAFU

[ Lists Home | Date Index | Thread Index ]
  • From: Paul Grosso <pgrosso@arbortext.com>
  • To: "XML Developer" <xml-dev@ic.ac.uk>
  • Date: Sun, 06 Jun 1999 11:48:16 -0500

At 10:13 1999 06 05 -0700, Tim Bray wrote:
>At 10:10 AM 6/5/99 -0500, WorldNet wrote:
>>I've noticed that Netscape Communicator 4.x ignores <br/> and haven't tried
>>same with IE4.x as I've upgraded to IE5. What techniques are going to be
>>developed to account for this backwards compatibility issue 
>
>Admittedly a kludge, but "<br />" (note the space) works just
>fine.  <br></br> kind of works, but in legacy browsers actually 
>inserts *two* blank lines (sigh). -T.

But getting the space into <br /> and having it stay there through 
round trips in XML-aware editors and such is not always possible,
and <br></br> doesn't really work, as Tim says.

However, something like:

  <br class="html-compatibility-mode"/>

(any attribute value assignment would do) works in most HTML browsers
(certainly in NS4.x and IE 3-5) and is something that can be done (and 
will not get undone) by any editing tool.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS