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

Compare with Current View Page History

Version 1 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'?>
<!--

    Copyright 2017 smartics, Kronseder & Reiner GmbH

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->

<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