Uploaded image for project: 'OpenDNSSEC TRAC Import'
  1. OpenDNSSEC TRAC Import
  2. ODSTRACIMPORT-116

RelaxNG schema does not allow weeks in duration values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: Unknown
    • Labels:
      None

      Description

      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"
      

        Attachments

          Activity

            People

            Assignee:
            rickard Rickard Bellgrim
            Reporter:
            jaroslav.benkovsky@nic.cz jaroslav.benkovsky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: