The purpose of TC1250 is to check the capability of referencing external files from XHTML, like images and Microsoft Office files.
The ReqIF header contains all data that is mandatory according to the ReqIF XML schema.
No ReqIF Tool Extensions are contained in the ReqIF file
|
ReqIF element name |
Multiplicity |
Description |
|
SpecObjectType |
1 |
one SpecObjectType with 1 attribute |
|
SpecificationType |
1 |
one SpecificationType with no additional attributes |
|
Specification |
1 |
one Specification for all SpecObjects |
|
SpecHierarchy |
* |
One SpecHierarchy per SpecObject, Specification is structured as a flat list |
|
SpecObject |
7 |
1 SpecObject for an image 2 SpecObjects for Microsoft Word (.doc, .docx) 2 SpecObjects for Microsoft Excel (.xls, .xlsx) 2 SpecObjects for Microsoft Powerpoint (.ppt, .pptx) |
|
AttributeDefinition/ AttributeValue/ DatatypeDefinition |
See chapter SpecObjectType (for Attribute Definitions). See chapter SpecObjects (with attribute values) for Attribute Values |
|
|
Attribute Name |
ReqIF Attribute Type (AttributeDefinition) |
Properties |
Description |
|
ReqIF.Text |
XHTML |
|
The XHTML attribute value that references external files. |
The following ZIP-Archive contains a HTML file (TC1250.html) that describes the SpecObjects and their attribute values :
Each table cell represents a value of the ReqIF.Text attribute. For example, the first value references an external image with the following XHTML elements:
<div>START -- <b>Image (.png)</b> -- START</div>
<object data="files/rmf-logo-300.png" type="image/png" width="600" height="300"></object>
<div>END -- <b>Image (.png)</b> -- END</div>
The files that are referenced are contained in a folder named files.
In ReqIF.coreContent the data is identical to the data in the Reference Test Input File, with the following exceptions:
a) If tool doesn’t fully support XHTML then
· AttributeValueXHTML.theValue contains the simplified XhtmlContent.
· AttributeValueXHTML.isSimplified is set to true.