RELAX-NG KIWI Schema Documentation

Marcus Schäfer

Wrote original XSD Schema 

Khalil Ahmed

Original Stylesheet 

Thomas Schraitle

Rewrote XSD into RNC Modified XSLT stylesheet to output DocBook refentry 

Legal Notice

This product includes software developed by Khalil Ahmed (http://www.techquila.com).

Published: 05/08/2008


Table of Contents

file — A filename
params — Parameters to pass to the test program
path — A path
req — A single requirement
requirements — In requirements you define what files/directories or packages has to be present in your image to run the test.
test — A single test
test_case — This schema specifies the format of the tests for kiwi images.
type — There are three types of requirements: file, directory and rpm-package

file

file — A filename

Content Model

file ::= 

Attributes

No attributes available.


params

params — Parameters to pass to the test program

Content Model

params ::= 

Attributes

No attributes available.


path

path — A path

Content Model

path ::= 

Attributes

No attributes available.


req

req — A single requirement

Content Model

req ::= 

Attributes

AttributeTypeUseDocumentation
type TEXT Required 
place TEXT RequiredThere are two places for required data: extern and intern external data is searched outside of the image tree. internal date is searched inside the image tree

requirements

requirements — In requirements you define what files/directories or packages has to be present in your image to run the test.

Content Model

requirements ::= (req)+

Attributes

No attributes available.


test

test — A single test

Content Model

test ::= file,
  path?,
  (params)*

Attributes

AttributeTypeUseDocumentation
type TEXT RequiredProgram type can be either script or binary
place TEXT RequiredThere are two places for test programs: extern and intern external programs are called outside of the image tree. internal programs are called inside of the image using the chroot command

test_case

test_case — This schema specifies the format of the tests for kiwi images.

Content Model

test_case ::= requirements,
  (test)*

Attributes

AttributeTypeUseDocumentation
  TEXT RequiredAny attributes from the xsi namespace Useful for xsi:noNamespaceSchemaLocation, for example
name TEXT RequiredThe name of the testcase
description TEXT RequiredDescription of what this testcase does
summary TEXT RequiredA short summary of the test

type

type — There are three types of requirements: file, directory and rpm-package

Content Model

type ::= 

Attributes

No attributes available.