[Opendnssec-develop] KSK vs ZSK

John Dickinson jad at jadickinson.co.uk
Thu Mar 12 17:00:48 UTC 2009


On 5 Mar 2009, at 21:06, Jakob Schlyter wrote:

> On 5 mar 2009, at 21.17, Olaf Kolkman wrote:
>
>> Extensions... that reminds me that I once tried to extend an XML  
>> schema that I used in a configuration and was happy I had a version  
>> attribute defined so that my parser knew that the schema had changed.
>
> yes, we should version the schema once finalised.
>
I suspect (but I am no xml expert) that it would be a good idea to add  
a namespace to the xml

Index: kasp.rnc
===================================================================
--- kasp.rnc	(revision 280)
+++ kasp.rnc	(working copy)
@@ -2,6 +2,8 @@

  datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes"

+default namespace od = "http://www.opendnssec.org/ns/kasp/1"
+
  start = element kasp {

  	# Parameters about the key rollover procedure itself
Index: kasp.xml
===================================================================
--- kasp.xml	(revision 280)
+++ kasp.xml	(working copy)
@@ -2,7 +2,7 @@

  <!-- $Id$ -->

-<kasp>
+<kasp xmlns="http://www.opendnssec.org/ns/kasp/1">
  	
  	<rollover>
  	  <interval>PT3600S</interval>


We can then use namespaces to version the xml. There is a discussion  
here (but it is a bit old and maybe someone can point us in a more up- 
to-date direction)

http://www.w3.org/2001/tag/doc/versioning-xml

John
---
John Dickinson
http://www.jadickinson.co.uk







More information about the Opendnssec-develop mailing list