[OpenAFS-devel] Patch for XML switch for vos examine

Derek Atkins warlord@MIT.EDU
Thu, 29 Apr 2010 11:18:32 -0400


Steve Simmons <scs@umich.edu> writes:

> On Apr 26, 2010, at 8:47 PM, Derek Atkins wrote:
>
>> Steve Simmons <scs@umich.edu> writes:
>> 
>>> On Apr 20, 2010, at 3:44 PM, Jeffrey Hutzelman wrote:
>>> 
>>>>> would it be better to have <ip version="4" address="192.168.1.1" /> ?
>>>>> Would that be better to anticipate ipv6?
>>>> 
>>>> No, I don't think so.  IMHO it is better to think of IPv6 as a different protocol, rather than as a new version of an existing protocol.  
>>> 
>>> Surely there must be some prior art on how to express ipv4 vs. ipv6 in
>>> XML?___
>> 
>> Ascii format?
>
> I'm thinking tags and dtd, not the value.

Maybe you could base it off the IPFIX schema?

http://www.iana.org/assignments/xml-registry/schema/ipfix.xsd

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available