Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document Properties Marker
overridefalse


Short DescriptionAn example of a simple type-like doctype.
Doctypesectionhide
NameDiscoverybility Examplehide
Short Name
Parent

Parent Property
parent-doctype#ANY
property-nameName


Subject
Name List
doctypesubject
propertySubject

Categories
Name List
doctypecategory
propertyCategories

Tags

Tag List
namesexample
propertyTags

hide
Iteration

Iteration
valuefinished

hide
Sort Key000010hide


...

Section
titleExample

The example provides labels and texts and a list of related doctypes. Since this doctype relies on defaults, the declaration is quite short.

Code Block
languagexml
<?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><l10n>
      <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>l10n>
    <l7n<l10n 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>l10n>
  </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.

...