[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: New entries file format.

From: <ghudson_at_MIT.EDU>
Date: 2003-01-28 06:26:41 CET

On Mon, 2003-01-27 at 23:31, Karl Fogel wrote:
 I think it's because the escaping rules for attributes are
 
    a) different from those for cdata
    b) not entirely clear, at least not without much research
    c) not implemented (or anyway enforced) consistently by XML parsers

I think you're making the situation overly vague. I was surprised and
irritated to learn that XML attribute values are normalized, but the
rules are quite clear once you're pointed in the right direction:

  http://www.w3.org/TR/REC-xml#AVNormalize

Since undeclared attributes are assumed to be CDATA, we should be okay
as long as we quote #x9, #xA, and #xD characters in attribute values.
It's possible that the rules are not implemented consistently by XML
parsers, but I have seen no evidence of that claim.

I am -1 on this change unless a better argument can be presented for
making it.

(And, I'd just like to say again that I hate XML.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:21:14 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.