You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

 

If a doctype relies on defaults, the declaration is quite short.

Example

The example provides labels and texts and a list of related doctypes.

<?xml version='1.0'?>

<doctype
  xmlns="http://smartics.de/xsd/projectdoc/doctype/1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  id="discoverability"
  base-template="type"
  provide-type="none"
  category="threat-characteristic">
  <resource-bundle>
    <l7n>
      <name plural="Discoverabilities">Discoverability</name>
      <description>
        The assumed chance that the security vulnerability can be exploited.
      </description>
      <about>
        Document the chance that a possible threat can be discovered.
      </about>
    </l7n>
    <l7n locale="de">
      <name plural="Entdeckbarkeiten">Entdeckbarkeit</name>
      <description>
        Die angenommene Chance, dass die Sicherheitslücke für einen Angriff
        entdeckt werden kann.
      </description>
      <about>
        Dokumentieren Sie die Wahrscheinlichkeit, dass eine Sicherheitslücke
        entdeckt werden kann.
      </about>
    </l7n>
  </resource-bundle>

  <related-doctypes>
    <id>affected-users</id>
    <id>damage-potential</id>
    <id>exploitability</id>
    <id>mitigation-level</id>
    <id>reproducibility</id>
    <id>threat-category</id>
    <id>threat-type</id>
  </related-doctypes>
</doctype>

The related doctypes are used to render links from the doctype's home and index page.

  • No labels