From 2479eb115f11d824e0501898931abe921ab602cc Mon Sep 17 00:00:00 2001 From: Botond Baranyi <botond.baranyi@ericsson.com> Date: Wed, 18 Sep 2019 17:32:04 +0200 Subject: [PATCH] Documented xsd2ttcn command line option '-N' (bug 550942) Change-Id: I6e47da65d6b9689816d69cef68120055840054e8 Signed-off-by: Botond Baranyi <botond.baranyi@ericsson.com> --- usrguide/referenceguide/9-xsd_to_ttcn-3_converter.adoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usrguide/referenceguide/9-xsd_to_ttcn-3_converter.adoc b/usrguide/referenceguide/9-xsd_to_ttcn-3_converter.adoc index ea394536b..365888f39 100644 --- a/usrguide/referenceguide/9-xsd_to_ttcn-3_converter.adoc +++ b/usrguide/referenceguide/9-xsd_to_ttcn-3_converter.adoc @@ -30,7 +30,7 @@ An XML Schema is represented by a set of schema documents forming a complete spe The command line syntax of the converter is the following: [source] -xsd2ttcn [-ceghmopstVwx] [-f file] [-J file] schema.xsd [-schema.xsd…] +xsd2ttcn [-ceghmNopstVwx] [-f file] [-J file] schema.xsd [-schema.xsd…] or @@ -69,6 +69,10 @@ Instructs the converter to generate TTCN-3 code allowing type substitution. + Instructs the converter to only generate the `UsefulTtcn3Types` and `XSD` predefined modules. +* `-N` ++ +Instructs the converter to generate the definitions of XML schemas with no target namespaces into separate TTCN-3 modules (one module per XML schema). By default all definitions with no target namespace are generated into a single TTCN-3 module. + * `-o` + Generates all definitions into one module, called `XSD_Definitions`, instead of generating separate modules for each target namespace. The module contains one group for each target namespace. -- GitLab