[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simple] Expressing XML support for common-policy and extensions
After reading Jonathan's common-policy-caps draft [1] and the related pres-policy-caps [2] and geopriv-policy-caps [3], I came to the realization that the subsequent documents all do exactly the same thing.
Once the protocol components related to XCAP have been dealt with, the specification of a document format and schema is largely a copy-and-paste job. This is nice in one respect - these documents are very simple and elegant - but a long time spent with code triggers the refactoring neurons. Where a pattern exists, there is redundant code.
In order to use capabilities, every common-policy extension requires a matching capabilities specification. That extra specification contains little, or no, additional value.
With this thought in mind I have taken the problem and applied an additional layer of abstraction to create a document format that should address all extensions. In some way, this is inspired by the elegant simplicity of Schematron [4]. I hope that this one draft will suffice where many would have been before:
http://www.ietf.org/internet-drafts/draft-thomson-simple-expressing-xml-support-00.txt
I think that the solution retains much of the simplicity of the original offering, while providing enough flexibility to accommodate future extensions. I also suspect that it could be easier to implement, and it will certainly be easier to maintain.
So, I'd like some feedback, if you have time to read the draft. Is this an acceptable tradeoff between the various factors (simplicity, specification work, etc...)? I have some ideas on how this could be integrated with the existing capabilities work, is that a good idea?
Cheers,
Martin
[1] http://www.ietf.org/internet-drafts/draft-ietf-simple-common-policy-caps-00.txt
[2] http://www.ietf.org/internet-drafts/draft-ietf-simple-pres-policy-caps-00.txt
[3] http://www.ietf.org/internet-drafts/draft-guenther-geopriv-policy-caps-03.txt
[4] http://www.schematron.com/overview.html
------------------------------------------------------------------------------------------------
This message is for the designated recipient only and may
contain privileged, proprietary, or otherwise private information.
If you have received it in error, please notify the sender
immediately and delete the original. Any unauthorized use of
this email is prohibited.
------------------------------------------------------------------------------------------------
[mf2]
_______________________________________________
Simple mailing list
Simple at ietf.org
https://www1.ietf.org/mailman/listinfo/simple