<!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:16:44 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>0006735: Missing rules for transforming XSD namespaces into TTCN-3 module names - 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 09: Using XML with TTCN-3</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">0006735</td><td class="print">Part 09: Using XML with TTCN-3</td><td class="print">Clarification</td><td class="print">public</td><td class="print">21-04-2014 11:00</td><td class="print">26-01-2015 11:22</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">Tomas Urban</td><td class="print" colspan="4">&#160;</td></tr><tr class="print"><td class="print-category">Assigned To</td><td class="print">Gyorgy Rethy</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">minor</td><td class="print-category">Reproducibility</td><td class="print">N/A</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">v4.5.1 (published 2013-04)</td><td class="print" colspan="4">&#160;</td></tr><tr><td class="print-category">Target Version</td><td class="print">v4.6.1 (published 2015-06)</td><td class="print-category">Fixed in Version</td><td class="print">v4.5.2 (interim 2014)</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">5.2.2</td></tr><tr class="print"><td class="print-category">For STF discussion</td><td class="print" colspan="4"></td></tr><tr class="print"><td class="print-category">Source  (company  - Author)</td><td class="print" colspan="4">STF 475</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">0006735: Missing rules for transforming XSD namespaces into TTCN-3 module names</td></tr><tr class="print"><td class="print-category">Description</td><td class="print" colspan="5">The section 5.1.1 containing the rules for transformation of XSD namespaces into TTCN-3 module names refers to the chapter 5.2.2: The names of the TTCN 3 modules generated based on this clause shall be the result of applying the name transformation rules in clause 5.2.2 to the related target namespace.<br />
<br />
The section 5.2.2 provides good guidelines for transforming the module name so that it contains characters allowed in TTCN-3, but there are no rules for handling name clashes. In particular, there should be a dedicated rule saying what happens if transformation of several distinct namespace into TTCN-3 module yields the same result or results into a TTCN-3 keyword or a name of a predefined function (similar to the rules j, k and l for types, field names and enumerated items).<br />
<br />
It is also not known what rule for X-prefixing should be applied. Is the X character capitalized as for types (rules f, h) or uncapitalized as for field names(rules g, i)?<br />
<br />
In addition to that, the section 5.2.3 should contain rules for ordering namespaces before transformation takes place. These rules should take into account existence of the predefined &quot;NoTargetNamespace&quot; module for items without namespace so that it is known which namespace takes precedence during  tranformation in the unlikely case when there's another namespace that transforms to &quot;NoTargetNamespace&quot; as well.</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"><table border="0" width="100%" cellpadding="0" cellspacing="1"><tr><td class="print"><span class="nowrap">related to</span>&#160;</td><td class="print">0006777</td><td class="print">closed&#160;</td><td class="print"><span class="nowrap"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=514">Axel Rennoch</a></span>&#160;</td><td class="print">Normalization of target namespace values to be clarified&#160;</td></tr><tr><td class="print"><span class="nowrap">related to</span>&#160;</td><td class="print">0006734</td><td class="print">closed&#160;</td><td class="print"><span class="nowrap"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></span>&#160;</td><td class="print">Extension of the rule on same type identifiers&#160;</td></tr></table></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;CR6735_resolution_v1.doc (114,176) <span class="italic">16-06-2014 17:31</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=3034&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;CR6735_resolution_v2.doc (114,688) <span class="italic">17-06-2014 09:21</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=3036&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;CR6735_resolution_v3.doc (114,688) <span class="italic">19-06-2014 16:39</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=3061&amp;type=bug<br /><img src="http://oldforge.etsi.org/mantis/images/fileicons/doc.gif" alt="doc" />&#160;CR6735_resolution_v4.doc (115,200) <span class="italic">20-06-2014 08:51</span><br />http://oldforge.etsi.org/mantis/file_download.php?file_id=3067&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">21-04-2014 11:00</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">New Issue</td><td class="print"></td></tr><tr class="print"><td class="print">22-04-2014 08:32</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: 0012043</td><td class="print"></td></tr><tr class="print"><td class="print">15-06-2014 17:47</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; Gyorgy Rethy</td></tr><tr class="print"><td class="print">15-06-2014 17:47</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">15-06-2014 18:03</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 2015-06)</td></tr><tr class="print"><td class="print">16-06-2014 16: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">Note Added: 0012091</td><td class="print"></td></tr><tr class="print"><td class="print">16-06-2014 17:06</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 Edited: 0012091</td><td class="print">bug_revision_view_page.php?bugnote_id=12091#r23</td></tr><tr class="print"><td class="print">16-06-2014 17:06</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 Edited: 0012091</td><td class="print">bug_revision_view_page.php?bugnote_id=12091#r24</td></tr><tr class="print"><td class="print">16-06-2014 17:31</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Relationship added</td><td class="print">related to 0006777</td></tr><tr class="print"><td class="print">16-06-2014 17:31</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">File Added: CR6735_resolution_v1.doc</td><td class="print"></td></tr><tr class="print"><td class="print">16-06-2014 17:32</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 Edited: 0012091</td><td class="print">bug_revision_view_page.php?bugnote_id=12091#r25</td></tr><tr class="print"><td class="print">16-06-2014 17:33</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">Gyorgy Rethy =&gt; Tomas Urban</td></tr><tr class="print"><td class="print">16-06-2014 17:33</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">assigned =&gt; confirmed</td></tr><tr class="print"><td class="print">16-06-2014 17:33</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Resolution</td><td class="print">open =&gt; fixed</td></tr><tr class="print"><td class="print">17-06-2014 07:16</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: 0012093</td><td class="print"></td></tr><tr class="print"><td class="print">17-06-2014 09:21</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">File Added: CR6735_resolution_v2.doc</td><td class="print"></td></tr><tr class="print"><td class="print">17-06-2014 09:27</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: 0012098</td><td class="print"></td></tr><tr class="print"><td class="print">17-06-2014 12:17</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: 0012102</td><td class="print"></td></tr><tr class="print"><td class="print">17-06-2014 13:17</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">Relationship added</td><td class="print">related to 0006734</td></tr><tr class="print"><td class="print">17-06-2014 13:24</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">Note Added: 0012103</td><td class="print"></td></tr><tr class="print"><td class="print">17-06-2014 13:24</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">Assigned To</td><td class="print">Tomas Urban =&gt; Gyorgy Rethy</td></tr><tr class="print"><td class="print">19-06-2014 16: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">Note Added: 0012154</td><td class="print"></td></tr><tr class="print"><td class="print">19-06-2014 16:19</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 Edited: 0012154</td><td class="print">bug_revision_view_page.php?rev_id=50</td></tr><tr class="print"><td class="print">19-06-2014 16: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">Note Edited: 0012154</td><td class="print">bug_revision_view_page.php?rev_id=51</td></tr><tr class="print"><td class="print">19-06-2014 16:21</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 Edited: 0012154</td><td class="print">bug_revision_view_page.php?rev_id=52</td></tr><tr class="print"><td class="print">19-06-2014 16:25</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 Deleted: 0012154</td><td class="print"></td></tr><tr class="print"><td class="print">19-06-2014 16:38</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: 0012156</td><td class="print"></td></tr><tr class="print"><td class="print">19-06-2014 16:38</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 Edited: 0012156</td><td class="print">bug_revision_view_page.php?bugnote_id=12156#r54</td></tr><tr class="print"><td class="print">19-06-2014 16:39</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">File Added: CR6735_resolution_v3.doc</td><td class="print"></td></tr><tr class="print"><td class="print">19-06-2014 16:41</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 Edited: 0012156</td><td class="print">bug_revision_view_page.php?bugnote_id=12156#r55</td></tr><tr class="print"><td class="print">19-06-2014 16:41</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">Gyorgy Rethy =&gt; Tomas Urban</td></tr><tr class="print"><td class="print">19-06-2014 16:41</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">confirmed =&gt; assigned</td></tr><tr class="print"><td class="print">20-06-2014 07:49</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">Note Added: 0012166</td><td class="print"></td></tr><tr class="print"><td class="print">20-06-2014 07:49</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">Status</td><td class="print">assigned =&gt; resolved</td></tr><tr class="print"><td class="print">20-06-2014 07:49</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">Assigned To</td><td class="print">Tomas Urban =&gt; Gyorgy Rethy</td></tr><tr class="print"><td class="print">20-06-2014 08:02</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: 0012167</td><td class="print"></td></tr><tr class="print"><td class="print">20-06-2014 08:02</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">resolved =&gt; feedback</td></tr><tr class="print"><td class="print">20-06-2014 08:02</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">Resolution</td><td class="print">fixed =&gt; reopened</td></tr><tr class="print"><td class="print">20-06-2014 08:02</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">feedback =&gt; assigned</td></tr><tr class="print"><td class="print">20-06-2014 08:51</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">File Added: CR6735_resolution_v4.doc</td><td class="print"></td></tr><tr class="print"><td class="print">20-06-2014 08:53</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">Note Added: 0012172</td><td class="print"></td></tr><tr class="print"><td class="print">20-06-2014 08:53</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a></td><td class="print">Status</td><td class="print">assigned =&gt; confirmed</td></tr><tr class="print"><td class="print">24-06-2014 09:49</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 Edited: 0012156</td><td class="print">bug_revision_view_page.php?bugnote_id=12156#r63</td></tr><tr class="print"><td class="print">24-06-2014 09:54</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: 0012196</td><td class="print"></td></tr><tr class="print"><td class="print">24-06-2014 09:54</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">confirmed =&gt; closed</td></tr><tr class="print"><td class="print">24-06-2014 09:54</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Resolution</td><td class="print">reopened =&gt; fixed</td></tr><tr class="print"><td class="print">24-06-2014 09:54</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Fixed in Version</td><td class="print"> =&gt; v4.5.2 (interim 2014)</td></tr><tr class="print"><td class="print">26-01-2015 11:21</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Fixed in Version</td><td class="print">v4.5.2 (interim 2014) =&gt; v4.6.1 (published 2015-06)</td></tr><tr class="print"><td class="print">26-01-2015 11:22</td><td class="print"><a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=127">Gyorgy Rethy</a></td><td class="print">Fixed in Version</td><td class="print">v4.6.1 (published 2015-06) =&gt; v4.5.2 (interim 2014)</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">
				(0012043)
			</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">
				22-04-2014 08:32&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				I think first the namespaces should be ordered alphabetically/lexicographically where the non-existent namespace (yielding NoTargetNamespace) should be the smallest item for comparison, even smaller than the empty string (which would yield namespace X or x, in my opinion, it should be capitalized).<br />
<br />
Then, after applying the mapping-rules, if nameclashes occur, it is clear which namespace gets which number, dependent on the above ordering.<br />
<br />
In my opinion, no two modules can have the NoTargetNamespace as all schemas without namespace are all collected in the NoTargetNamespace module (they all have the same namespace, i.e. none). Using the no-namespace as smallest element in the ordering ensures that all actual namespaces which yield NoTargetNamespace will be numbered. That way, NoTargetNamespace is unambiguously the module for all definitions without a namespace.			</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">
				(0012091)
			</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">
				16-06-2014 16:18&#160;&#160;&#160;
				<br />(edited on:&#32;16-06-2014 17:32)			</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				See proposed resolution in CR6735_resolution_v1.doc. <br />
<br />
Rule to order target namespace values before converting them to TTCN-3 is added to 5.2.2 a). New rule m) is added to postfix clashing module names.<br />
<br />
A rule to use the target namespace values *before* converting them to TTCN-3 module names is added to clause 5.2.3.<br />
<br />
Clause 2.2. of &quot;Namespaces in XML 1.0 (Second Edition)&quot; disallows empty character string as XML namespace, hence no additional rule is needed for this case (no X substitution).<br />
<br />
Correct, no two modules can have the name NoTargetNamespace, as XSD documents without a namespace are collected into it and &quot;NoTargetNamespace&quot; is not a valid namespace value.<br />
<br />
			</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">
				(0012093)
			</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">
				17-06-2014 07:16&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Why the exception in 5.2.2 e) for namespaces, since there is already a way to resolve the nameclashes, what is that exception good for?<br />
<br />
<a href="http://www.example.org/">http://www.example.org/</a> [<a href="http://www.example.org/" target="_blank">^</a>] and <a href="http://www.example.org/Ü/">http://www.example.org/Ü/</a> [<a href="http://www.example.org/Ü/" target="_blank">^</a>] would still result in the same (base)namespace because of the underscore-collapsing-rule and this would lead to double-underscores when appending the suffix.<br />
<br />
Why not keep the same rules as for other names?			</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">
				(0012098)
			</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">
				17-06-2014 09:27&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				See CR6735_resolution_v2.doc.<br />
<br />
We have discussed this with Tomas, it would be better to leave the trailing _ in module names, but not to add another one when postfixing the module name. The reason is that the kind of<br />
<a href="http://www.example.org">http://www.example.org</a> [<a href="http://www.example.org" target="_blank">^</a>] vs. <a href="http://www.example.org/">http://www.example.org/</a> [<a href="http://www.example.org/" target="_blank">^</a>] case is more frequent than <a href="http://www.example.org/">http://www.example.org/</a> [<a href="http://www.example.org/" target="_blank">^</a>] vs. <a href="http://www.example.org/Ü/">http://www.example.org/Ü/.</a> [<a href="http://www.example.org/Ü/" target="_blank">^</a>]<br />
It would be better if in the first case users could see the difference also  in the generated module names.<br />
<br />
I have also added that module names shall also be prefixed, when it is clashing with a definition name in the same module.			</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">
				(0012102)
			</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">
				17-06-2014 12:17&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				The module names being generated should be independent of the contents of the modules, as they should be the same as seen from all modules. Basically, first all module names shall be generated and then the names of the contents of the module. So, the name of a definition inside a target-namespace should never have any influence on the name of a module. Only the set of namespaces should be the deciding factor.			</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">
				(0012103)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				17-06-2014 13:24&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				I agree with Jacob. The resolution of name clashes should go from top to bottom, not vice versa. The proposed solution doesn't take into account the use of module identifiers in import clauses too. When adding import dependencies, the amount of definitions to check for name clashes would significantly grow and make the procedure inefficient. See also the related issue <a href="/mantis/view.php?id=6734" title="[closed] Extension of the rule on same type identifiers" class="resolved">0006734</a>.			</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">
				(0012156)
			</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">
				19-06-2014 16:38&#160;&#160;&#160;
				<br />(edited on:&#32;24-06-2014 09:49)			</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				OK. Taking into account the probability of such a name clash, I think it is a low-probability case, but for this reason it can be either ways. I have changed it that the module names are generated first and the definition names are postfixed (or postfix is shifted) in case of name clash.<br />
<br />
Rule m) in ~_v2 become rule j) and rule k) (old j)) is extended with module names. No other change in the document!<br />
<br />
Pls. review CR6735_resolution_v3.doc.<br />
<br />
			</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">
				(0012166)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				20-06-2014 07:49&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				I found no problems in the last draft. The proposal resolves the described issue and it is ready to be included in the next version of standard.			</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">
				(0012167)
			</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">
				20-06-2014 08:02&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Sorry, I have to slightly disagree with Tomas.<br />
<br />
In rule k) the sub-sentence<br />
<br />
&quot;is identical to the name of the TTCN-3 module the definitions is being placed to&quot; is neither grammatically correct nor does it describe what we intend.<br />
<br />
As I understoot it, it should be more on the line of<br />
<br />
&quot;is identitcal to the name of the TTCN-3 module generated for its target namespace or one of the modules imported into that module&quot;			</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">
				(0012172)
			</td>
		</tr>
		<tr>
			<td class="print">
				<a href="http://oldforge.etsi.org/mantis/view_user_page.php?id=659">Tomas Urban</a>&#160;&#160;&#160;
			</td>
		</tr>
		<tr>
			<td class="print">
				20-06-2014 08:53&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				I modified the mentioned sub-sentence: the original sentence was made gramatically correct and a clause on imported modules was added as well.			</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">
				(0012196)
			</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">
				24-06-2014 09:54&#160;&#160;&#160;
							</td>
		</tr>
		</table>
	</td>
	<td class="nopad" valign="top" width="85%">
		<table class="hide" cellspacing="1">
		<tr>
			<td class="print">
				Implemented in master copy V4.5.2.			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
</body>
</html>
