<!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:17:41 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>0006585: LanguageSpec handling of import statements shall support both implicit &amp; explicit mappings - 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 01: TTCN-3 Core Language</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">0006585</td><td class="print">Part 01: TTCN-3 Core Language</td><td class="print">Technical</td><td class="print">public</td><td class="print">11-07-2013 10:18</td><td class="print">11-07-2013 16:42</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">Gyorgy Rethy</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">high</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">fixed</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"></td><td class="print" colspan="4">&#160;</td></tr><tr><td class="print-category">Target Version</td><td class="print">v4.6.1 (published 2014-06)</td><td class="print-category">Fixed in Version</td><td class="print">v4.6.1 (published 2014-06)</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">8.2.3.6</td></tr><tr class="print"><td class="print-category">Source  (company  - Author)</td><td class="print" colspan="4">STF460</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">0006585: LanguageSpec handling of import statements shall support both implicit &amp; explicit mappings</td></tr><tr class="print"><td class="print-category">Description</td><td class="print" colspan="5">issue was raised by 3GPP, see mail discussion with Shicheng Hu:<br />
Hi Gyorgy and All<br />
&#160;<br />
Thanks for the explanation. I understand better about the pros and cons.<br />
&#160;<br />
As you all know, the 3GPP conformance test suites are globally used for the UE certification.  There are two basic requirements<br />
&#160;<br />
1. The test suites delivered by STF160 should be unique as the standardised test suites.<br />
2. Copyrights of the test suites belong to ETSI and the other 3GPP organizational partners.<br />
&#160;<br />
Now, because of the two mapping options I have the following problems.<br />
&#160;<br />
1. The 3GPP test suites should be analysed by all existing tools. The import XSD statement in the 3GPP test suites must be slightly adapted for the mapping options,  and the imported XSD modules must be replaced with the mapped TTCN modules. Therefore,  STF160 is no more in the position to provide a &quot;unique&quot; delivery for the UE certifications. The high risk is what happens if the UE to be certified passes the test with one mapping option, but fails the test in another mapped option?<br />
&#160;<br />
2. The explicit mapping option is relying on the tools and has introduced a Copyrights problem. The generated mapped TTCN modules by the tool (from the original XSD modules) is a piece of software. Its copyrights are owned by the tool makers. ETSI has no copyrights on this piece of TTCN codes. This is against the current copyrights principle for the ETSI standards once a 3GPP delivery includes the mapped TTCN modules generated by the tools. As you know, the copyrights have the commercial implications.<br />
&#160;<br />
3. On the top, there is a big tool interoperability problem with the explicit mapping, supposing the Part 9 is correct. The mapped TTCN modules generated by one tool cannot ne accepted by the others.   <br />
&#160;<br />
My preference is to stick the explicit mapping, despite of the technical difficulties. Your comments are welcome.<br />
&#160;<br />
Br<br />
Shicheng<br />
________________________________________<br />
From: GyÃ¶rgy RÃ©thy [<a href="mailto:mailto:gyorgy.rethy@ericsson.com">mailto:gyorgy.rethy@ericsson.com</a>] <br />
Sent: 08 July 2013 17:47<br />
To: Shicheng Hu<br />
Cc: STF460<br />
Subject: RE: XSD import<br />
Hi Shicheng,<br />
<br />
It is not so straightforward. Both ways has their pros and cons. XSD differs from the TTCN-3 type system significantly both in philosophy, in concrete language components and ways  of restricting and combining those components. So, for example, if importing an ASN.1 type, it is relatively straightforward how the equivalent TTCN-3 type would look like, i.e. how to define the TTCN-3 instances of that type. It is far not so easy for types, attributes and elements imported from XSD.<br />
<br />
So, the clear benefit of the explicit mapping is that the user can SEE the generated TTCN-3 definitions that makes writing values and templates more easy. Another benefit is, that â€“ if needed â€“ the user may tweak the generated TTCN-3 types â€“ until the XML codec support the changes. Of course, it also has drawbacks, e.g. the user need to take an additional step to convert XSD to TTCN-3 modules, has to handle additional files in its project and in the version control system and shall not forget to re-generate the TTCN-3 modules if XSD is updated and a more difficult tool implementation.<br />
<br />
And, if course, implicit mapping has its pros and cons. Pros are e.g. the simpler handling of projects, less files, no forgotten updates etc. and the list of cons are the missing features that were the benefits for the explicit mapping â€“ so, more or less pros and cons are the opposite as with the explicit mapping.<br />
<br />
So, I think, there is no ideal solution, just different ones with different properties.<br />
<br />
Regards, Gyorgy<br />
<br />
From: Shicheng Hu [mailto:Shicheng.Hu@ETSI.ORG] <br />
Sent: 2013. jÃºlius 5. 16:55<br />
To: STF460@LIST.ETSI.ORG<br />
Subject: XSD import<br />
<br />
Hi Gyorgy and All<br />
&#160;<br />
I have an issue on XSD import in Part 9. Why does the standard allow the implicit and explicitly import XSD modules as two options? An implicit mapping makes much more sense. <br />
&#160;<br />
Br<br />
Shicheng<br />
</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"></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"><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;CR6585.doc (162,816) <span class="italic">11-07-2013 13:38</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2829&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;CR6585_v2.doc (166,912) <span class="italic">11-07-2013 14:52</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2830&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;CR6585_v3.doc (167,936) <span class="italic">11-07-2013 15:37</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=2832&amp;type=bug</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">11-07-2013 10:18</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">New Issue</td><td class="print"></td></tr><tr class="print"><td class="print">11-07-2013 10:18</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Clause Reference(s)</td><td class="print"> =&gt; 8.2.3.6</td></tr><tr class="print"><td class="print">11-07-2013 10:18</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Source  (company  - Author)</td><td class="print"> =&gt; STF460</td></tr><tr class="print"><td class="print">11-07-2013 10:20</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Status</td><td class="print">new =&gt; assigned</td></tr><tr class="print"><td class="print">11-07-2013 10:20</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Assigned To</td><td class="print"> =&gt; Jacob Wieland - Spirent</td></tr><tr class="print"><td class="print">11-07-2013 11:15</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Note Added: 0011535</td><td class="print"></td></tr><tr class="print"><td class="print">11-07-2013 11:16</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Project</td><td class="print">TTCN-3 Change Requests =&gt; Part 01: TTCN-3 Core Language</td></tr><tr class="print"><td class="print">11-07-2013 11:17</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Target Version</td><td class="print"> =&gt; v4.6.1 (published 2014-06)</td></tr><tr class="print"><td class="print">11-07-2013 13:38</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">File Added: CR6585.doc</td><td class="print"></td></tr><tr class="print"><td class="print">11-07-2013 13:39</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Note Added: 0011545</td><td class="print"></td></tr><tr class="print"><td class="print">11-07-2013 13:39</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Assigned To</td><td class="print">Jacob Wieland - Spirent =&gt; Ina Schieferdecker</td></tr><tr class="print"><td class="print">11-07-2013 13:39</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Status</td><td class="print">assigned =&gt; confirmed</td></tr><tr class="print"><td class="print">11-07-2013 14:52</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">File Added: CR6585_v2.doc</td><td class="print"></td></tr><tr class="print"><td class="print">11-07-2013 14:52</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">confirmed =&gt; assigned</td></tr><tr class="print"><td class="print">11-07-2013 14:52</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Assigned To</td><td class="print">Ina Schieferdecker =&gt; Gyorgy Rethy</td></tr><tr class="print"><td class="print">11-07-2013 14:52</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Assigned To</td><td class="print">Gyorgy Rethy =&gt; Jacob Wieland - Spirent</td></tr><tr class="print"><td class="print">11-07-2013 15:37</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">File Added: CR6585_v3.doc</td><td class="print"></td></tr><tr class="print"><td class="print">11-07-2013 15:38</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Note Added: 0011551</td><td class="print"></td></tr><tr class="print"><td class="print">11-07-2013 15:38</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Assigned To</td><td class="print">Jacob Wieland - Spirent =&gt; Ina Schieferdecker</td></tr><tr class="print"><td class="print">11-07-2013 15:38</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a></td><td class="print">Status</td><td class="print">assigned =&gt; confirmed</td></tr><tr class="print"><td class="print">11-07-2013 16:42</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">confirmed =&gt; resolved</td></tr><tr class="print"><td class="print">11-07-2013 16:42</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=81">Ina Schieferdecker</a></td><td class="print">Fixed in Version</td><td class="print"> =&gt; v4.6.1 (published 2014-06)</td></tr><tr class="print"><td class="print">11-07-2013 16:42</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; fixed</td></tr><tr class="print"><td class="print">11-07-2013 16:42</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">resolved =&gt; closed</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">
				(0011535)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				11-07-2013 11:15&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				STF discussion 2013-07-11:<br />
When the import statement contains a LanguageSpec string, this does not mandate importing from the original source files only, but means importing from the original (e.g. XSD) source file OR from an explicitly mapped TTCN-3 source file. This means that tools supporting explicit mapping, if the language string is present, shall accept only TTCN-3 modules complying with the mapping specification.			</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">
				(0011545)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				11-07-2013 13:39&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				please check			</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">
				(0011551)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=508">Jacob Wieland - Spirent</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				11-07-2013 15:38&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				please check again			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</body>
</html>
