[xsd-users] anonymous types

frederic heem frederic.heem at telsey.it
Thu Oct 27 12:55:49 EDT 2005


Hi Boris,
In the Call Control Xml, anonymous types are used a lot and this bloats the 
code unless the command line option --morph-anonymous is used.
Would it be possible to perform automatic morphing  by appending Type to the 
class name ?  ccxml.xsd contains about 30 anonymous type and the command line 
would be quite long.

	<xsd:element name="accept">
		<xsd:complexType>
			<xsd:attribute name="connectionid" type="ECMAScript.expression"/>
			<xsd:attribute name="hints" type="ECMAScript.expression"/>
		</xsd:complexType>

would become be equivalent to 

		<xsd:complexType name="acceptType">
			<xsd:attribute name="connectionid" type="ECMAScript.expression"/>
			<xsd:attribute name="hints" type="ECMAScript.expression"/>
		</xsd:complexType>
	<xsd:element name="accept" type="ccxml:acceptType"/>

How do other xsd compiler manage this problem ?

-- 
*****     -----     *****     -----     *****    

Frederic Heem

Software Designer
R&D - Telsey SpA Telecommunications
Viale Industria, 1
31055 Quinto di Treviso (TV)
ITALY
Tel. direct phone: (+39) 0422 377819
Tel. (+39) 0422 377711
Fax. (+39) 0422 470920
website ==> www.telsey.it

PRIVACY AND CONFIDENTIALITY NOTICE 
This email and any attachments are confidential and are intended for the 
addressee only.
If you have received this message by mistake, please contact us immediately 
and then
delete the message from your system. You must not copy, distribute, disclose 
or act upon
the contents of this email.




More information about the xsd-users mailing list