Re: [libnftables PATCH v3] src: xml: add versioning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2013/6/5 Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>:
> On Mon, Jun 03, 2013 at 05:58:38PM +0200, Arturo Borrero wrote:
>> All XML chunks now have a "version" attribute to help in future changes.
>
> Not sure this is the best approach after reading this:
>
> http://stackoverflow.com/questions/2014237/what-are-the-best-practices-for-versioning-xml-schemas
>
> Can you give it some read and get back to me with more feedback
> regarding the XML versioning approaches?
>

The version attribute could be add to the top level element (e.g.
<nftables> in the ruleset dump example I sent).
A drawback of this is that the version cannot be checked when parsing
loose/single elements.

--
Arturo Borrero González
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux