From 3bf42ed8ccc93a3ff5fdabb9153b887018075acc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 19 Jan 2010 11:44:48 +0200 Subject: Add support for selective polymorphic in C++/Tree New options: --polymorphic-type, --polymorphic-type-all. --- documentation/xsd.1 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'documentation/xsd.1') diff --git a/documentation/xsd.1 b/documentation/xsd.1 index 743f1af..762d865 100644 --- a/documentation/xsd.1 +++ b/documentation/xsd.1 @@ -739,6 +739,31 @@ are replaced with new lines. Generate polymorphism-aware code. Specify this option if you use substitution groups or .BR xsi:type . +Use the +.B --polymorphic-type +or +.B --polymorphic-type-all +option to specify which type hierarchies are polymorphic. + +.IP "\fB\--polymorphic-type \fItype\fR" +Indicate that +.I type +is a root of a polymorphic type hierarchy. The compiler can often +automatically determine which types are polymorphic based on the +substitution group declarations. However, you may need to use this +option if you are not using substitution groups or if substitution +groups are defined in another schema. You need to specify this option +when compiling every schema file that references +.IR type . +The +.I type +argument is an XML Schema type name that can be optionally qualified +with a namespace in the +.IB namespace # name +form. + +.IP "\fB\--polymorphic-type-all\fR" +Indicate that all types should be treated as polymorphic. .IP "\fB\--generate-serialization\fR" Generate serialization functions. Serialization functions convert -- cgit v1.1