[Home] [By Thread] [By Date] [Recent Entries]

  • From: Tim Bray <tbray@t...>
  • To: Jon Ferraiolo <jferraio@a...>, "Arnold, Curt" <Curt.Arnold@h...>
  • Date: Mon, 06 Mar 2000 15:30:10 -0800

At 03:11 PM 3/6/00 -0800, Jon Ferraiolo wrote:
>At 03:30 PM 3/6/00 -0700, you wrote:
>>Jon, Thanks for the reply to xml-dev.  Could you address any reasons why:
>>  <path d="M 100 100 L 200 200"/>
>>Could not be represented as:
>>  <path><d>M 100 100 L 200 200</d></path>
>>at least as an alternative format. 

Actually, the attribute format does have one advantage.  XML 1.0 contains
(IMHO) a design error whereby attribute values are "normalized", i.e the
white space is condensed, line breaks are pulled out, and so on.  This
would allow you to write

<path d="
      M
      100
      100
      L
      200
      200
">

and still have it show up in the app with just single space characters.

Sigh. -Tim

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member