[Opendnssec-develop] [OpenDNSSEC] #116: RelaxNG schema does not allow weeks in duration values

OpenDNSSEC owner-dnssec-trac at kirei.se
Fri Mar 19 15:12:45 UTC 2010


#116: RelaxNG  schema does not allow weeks in duration values
--------------------------------------+-------------------------------------
Reporter:  jaroslav.benkovsky@…       |       Owner:  rb     
    Type:  defect                     |      Status:  new    
Priority:  minor                      |   Component:  Unknown
 Version:  1.0.0                      |    Keywords:         
--------------------------------------+-------------------------------------
 OpenDNSSEC documentation somehow uncertainly mentions W as a possible
 character in interval values in configuration files (e.g. kasp.xml):

 documentation/using-opendnssec:


 letters  ... W ... are designators for each of the date and time elements
 and are not replaced.

 W is the week designator that follows the value for the number of weeks.

 However, RelaxNG does not allow W for interval type fields:

 {{{
 # ods-ksmutil update all
 SQLite database set to: /var/opendnssec/kasp.db
 zonelist filename set to /etc/opendnssec/zonelist.xml.
 kasp filename set to /etc/opendnssec/kasp.xml.
 Repository sca6000 found
 Capacity set to 1000.
 RequireBackup set.
 /etc/opendnssec/kasp.xml:150: element Lifetime: Relax-NG validity error :
 Type duration doesn't allow value 'P8W'
 /etc/opendnssec/kasp.xml:150: element Lifetime: Relax-NG validity error :
 Error validating datatype duration
 /etc/opendnssec/kasp.xml:150: element Lifetime: Relax-NG validity error :
 Element Lifetime failed to validate content
 Error validating file "/etc/opendnssec/kasp.xml"
 }}}

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/116>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list