ietf-mxcomp
[Top] [All Lists]

Re: XML name space (was: suggested new RRtype experiment)

2004-05-24 18:41:11


On May 24, 2004, at 8:01 PM, Bob Atkinson wrote:
  
IANA registration of XML tags is thus totally and completely redundant and irrelvant.
  

I'm not disagreeing with your interpretation of XML Schema. Douglas is suggesting a space-saving optimization whereby the longish (relatively speaking) <?xml .... banner is replaced with a smaller token (at least that's what I think he was saying). I also made a similar suggestion with replacing the xmlns declarations with an IANA registry as a space-saving optimization.

But as I said before, I think it is probably best to see the new schema and write some examples before attempting space-saving optimizations.

I say this because I attempted to create what I thought would be a reasonable XML instance of AOL's current SPF record today just to see how big it would be:

<?xml version="1.0" charset="US-ASCII"><ldap xmlns="urn:ietf:params:ns:marid1"><ip4>152.163.225.0/24</ ip4><ip4>205.188.139.0/24</ip4><ip4>205.188.144.0/24</ ip4><ip4>205.188.156.0/23</ip4><ip4>205.188.159.0/24</ ip4><ip4>64.12.136.0/23</ip4><ip4>64.12.138.0/24</ip4><ptr>mx.aol.com</ ptr><all eval="nuetral"/><binaries xmlns="urn:ietf:params:ns:mailbin1" types="NONE"></ldap>

Even adding in a make-believe extension and using the longish BCP 81 URN's, it still only worked out to 373 characters.

-andy