<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<link rel="stylesheet" type="text/css" href="http://oldforge.etsi.org/mantis/css/default.css" />
	<script type="text/javascript"><!--
		if(document.layers) {document.write("<style>td{padding:0px;}<\/style>")}
	// --></script>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Cache-Control" content="no-cache" />
	<meta http-equiv="Pragma-directive" content="no-cache" />
	<meta http-equiv="Cache-Directive" content="no-cache" />
	<meta http-equiv="Expires" content="Tue, 17 Dec 2024 09:18:59 GMT" />
	<link rel="shortcut icon" href="/mantis/images/favicon.ico" type="image/x-icon" />
	<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Text Search" href="http://oldforge.etsi.org/mantis/browser_search_plugin.php?type=text" />	<link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Issue Id" href="http://oldforge.etsi.org/mantis/browser_search_plugin.php?type=id" />	<title>0004640: TCI-CD Type interface not complete - ETSI's Bug Tracker</title>
<script type="text/javascript" src="/mantis/javascript/min/common.js"></script>
<script type="text/javascript">var loading_lang = "Loading...";</script><script type="text/javascript" src="/mantis/javascript/min/ajax.js"></script>
</head>
<body>
<br /><table class="width100" cellspacing="1"><tr><td class="form-title" colspan="6"><div class="center">ETSI's Bug Tracker - Part 06: TTCN-3 Control Interface</div></td></tr><tr><td class="form-title" colspan="6">View Issue Details</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr class="print-category"><td class="print" width="16%">ID</td><td class="print" width="16%">Project</td><td class="print" width="16%">Category</td><td class="print" width="16%">View Status</td><td class="print" width="16%">Date Submitted</td><td class="print" width="16%">Last Update</td></tr><tr class="print"><td class="print">0004640</td><td class="print">Part 06: TTCN-3 Control Interface</td><td class="print">Technical</td><td class="print">public</td><td class="print">23-12-2008 11:50</td><td class="print">01-09-2010 14:11</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr class="print"><td class="print-category">Reporter</td><td class="print">Andrej Pietschker</td><td class="print" colspan="4">&#160;</td></tr><tr class="print"><td class="print-category">Assigned To</td><td class="print">Ina Schieferdecker</td><td class="print" colspan="4">&#160;</td></tr><tr class="print"><td class="print-category">Priority</td><td class="print">normal</td><td class="print-category">Severity</td><td class="print">major</td><td class="print-category">Reproducibility</td><td class="print">always</td></tr><tr class="print"><td class="print-category">Status</td><td class="print">closed</td><td class="print-category">Resolution</td><td class="print">won't fix</td><td class="print" colspan="2">&#160;</td></tr><tr class="print"><td class="print-category">Platform</td><td class="print"></td><td class="print-category">OS</td><td class="print"></td><td class="print-category">OS Version</td><td class="print"></td></tr><tr class="print"><td class="print-category">Product Version</td><td class="print">v3.4.1 (published 2008-09)</td><td class="print" colspan="4">&#160;</td></tr><tr><td class="print-category">Target Version</td><td class="print">v4.3.1 (published 2011-06)</td><td class="print-category">Fixed in Version</td><td class="print"></td><td class="print" colspan="2">&#160;</td></tr><tr class="print"><td class="print-category">Clause Reference(s)</td><td class="print" colspan="4">7.2.2.2.</td></tr><tr class="print"><td class="print-category">Source  (company  - Author)</td><td class="print" colspan="4">&#160;&#160;&#160;&#160;G&amp;D - Andrej Pietschker, Peter Mittermaier</td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr class="print"><td class="print-category">Summary</td><td class="print" colspan="5">0004640: TCI-CD Type interface not complete</td></tr><tr class="print"><td class="print-category">Description</td><td class="print" colspan="5">In 7.3.2.2.1 the function decode is described and it should retrun the value if it is of a compatible type as the decodingHypothesis, else the distinct value null.<br />
<br />
If a type restriction is applied during the definition of a TTCN-3 type this information is not available during decoding. <br />
E.g. type charstring MyString length(3) then decoding &quot;ABCD&quot; as MyString should yield null. However a TCI interface function is missing to query such restrictions such as length, pattern, or value.</td></tr><tr class="print"><td class="print-category">Steps To Reproduce</td><td class="print" colspan="5"></td></tr><tr class="print"><td class="print-category">Additional Information</td><td class="print" colspan="5">In the proposal to 4.1.1 a function for arrays is introduced in 7.2.2.2.11: getOffset(). Similar functions are needed for other type restrictions.</td></tr><tr class="print"><td class="print-category">Tags</td><td class="print" colspan="5">No tags attached.</td></tr><tr class="print"><td class="print-category">Relationships</td><td class="print" colspan="5"></td></tr><tr class="print"><td class="print-category">Attached Files</td><td class="print" colspan="5"></td></tr><tr><td class="print-spacer" colspan="6"><hr size="1" /></td></tr><tr><td class="form-title">Issue History</td></tr><tr class="print-category"><td class="row-category-history">Date Modified</td><td class="row-category-history">Username</td><td class="row-category-history">Field</td><td class="row-category-history">Change</td></tr><tr class="print"><td class="print">23-12-2008 11:50</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=507">Andrej Pietschker</a></td><td class="print">New Issue</td><td class="print"></td></tr><tr class="print"><td class="print">23-12-2008 11:50</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=507">Andrej Pietschker</a></td><td class="print">Status</td><td class="print">new =&gt; assigned</td></tr><tr class="print"><td class="print">23-12-2008 11:50</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=507">Andrej Pietschker</a></td><td class="print">Assigned To</td><td class="print"> =&gt; Ina Schieferdecker</td></tr><tr class="print"><td class="print">23-12-2008 11:50</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=507">Andrej Pietschker</a></td><td class="print">Clause Reference(s)</td><td class="print"> =&gt; 7.2.2.2.</td></tr><tr class="print"><td class="print">23-12-2008 11:50</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=507">Andrej Pietschker</a></td><td class="print">Source  (company  - Author)</td><td class="print"> =&gt;     G&amp;D - Andrej Pietschker, Peter Mittermaier</td></tr><tr class="print"><td class="print">12-01-2009 17:32</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Target Version</td><td class="print"> =&gt; Edition 4.2.1 (not yet published)</td></tr><tr class="print"><td class="print">09-12-2009 17:11</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0009130</td><td class="print"></td></tr><tr class="print"><td class="print">09-12-2009 17:11</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Target Version</td><td class="print">Edition 4.2.1 (not yet published) =&gt; Edition 5.1.1 (not yet published)</td></tr><tr class="print"><td class="print">01-09-2010 14:10</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Note Added: 0009676</td><td class="print"></td></tr><tr class="print"><td class="print">01-09-2010 14:11</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Status</td><td class="print">assigned =&gt; closed</td></tr><tr class="print"><td class="print">01-09-2010 14:11</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Resolution</td><td class="print">open =&gt; won't fix</td></tr></table>
<br />
<table class="width100" cellspacing="1">
<tr>
	<td class="form-title" colspan="2">
		Notes	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0009130)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				09-12-2009 17:11&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				OpenTTCN suggest to base that extension on an existing interface extension they have. If time permits, the TCI extension can be developed in 2010:<br />
<br />
&gt; Hello Dr Ina and dear tool smiths,<br />
<br />
&gt; &gt; Dear all,<br />
&gt; &gt;<br />
&gt; &gt; we have been asked by Giesecke&amp;Devrient to extend the TCI-CD interface so<br />
&gt; &gt; that an inspection of the type restrictions would be possible at runtime -<br />
&gt; &gt; see <a href="http://t-ort.etsi.org/view.php?id=4640">http://t-ort.etsi.org/view.php?id=4640</a> [<a href="http://t-ort.etsi.org/view.php?id=4640" target="_blank">^</a>]<br />
<br />
&gt; OpenTTCN asnwers your questions:<br />
&gt; &gt; May we ask if<br />
&gt; &gt; 1. you have comparable use cases<br />
&gt; yes.<br />
&gt; &gt; 2. you see the need for the described functionality in TCI-CD<br />
&gt; yes.<br />
&gt; &gt; 3. you would welcome a respective interface extension to <br />
&gt; become part of<br />
&gt; &gt; the standard<br />
&gt; yes.<br />
&gt; <br />
&gt; OpenTTCN tool has an interface extension you have described, as our<br />
&gt; extension to TCI-CD API. The documentation of ANSI C version <br />
&gt; of this API<br />
&gt; is publicly available at:<br />
&gt; <a href="http://wiki.openttcn.com/docs/2.57.0/sdk4c/api/tci__cons_8h.html">http://wiki.openttcn.com/docs/2.57.0/sdk4c/api/tci__cons_8h.html</a> [<a href="http://wiki.openttcn.com/docs/2.57.0/sdk4c/api/tci__cons_8h.html" target="_blank">^</a>]<br />
&gt; I think we wanted to make the interface as ANSI TCI-CD like <br />
&gt; as possible.<br />
&gt; <br />
&gt; We are willing to submit a proposal for the interface extension, if<br />
&gt; requested and time permits.<br />
&gt; <br />
&gt; Kind regards,<br />
&gt; Vesa-Matti			</td>
		</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="print-spacer" colspan="2">
		<hr size="1" />
	</td>
</tr>
<tr>
	<td class="nopad" valign="top" width="20%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				(0009676)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				01-09-2010 14:10&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Having reviewed and discussed the responses from the vendors and the OpenTTCN proposal, this CR will be rejected due to the following reasons:<br />
<br />
- TE as of today handles subtypes - via the decodingHypothesis these constraints are respected <br />
<br />
- it was discussed that type constraint reflection at CD would be of limited use - constraints can be treated sufficiently via the TE			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</body>
</html>
