[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Well-Formed SNAFU

  • From: Paul Grosso <pgrosso@a...>
  • To: "XML Developer" <xml-dev@i...>
  • Date: Sun, 06 Jun 1999 11:48:16 -0500

Re: Well-Formed SNAFU
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@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.