[xsd-users] generated large file

Fukasawa Mitsuo fukasawa_mitsuo at nifty.com
Fri Mar 9 09:42:28 EST 2007


Hi,

The large file is generated when "ccmxl" is traslated using xsd-2.3.1.
  http://www.w3.org/TR/ccxml/ccxml.xsd

-------------------
[fukasawa at vmfc6 ccxml]$ xsd cxx-tree --morph-anonymous --generate-inline
--root-element ccxml ccxml.xsd
[fukasawa at vmfc6 ccxml]$ ls -l
-rw-rw-r-- 1 fukasawa fukasawa 80986946 Mar  9 11:24 ccxml.cxx   <== !?
-rw-rw-r-- 1 fukasawa fukasawa   130498 Mar  9 11:24 ccxml.hxx
-rw-rw-r-- 1 fukasawa fukasawa    87455 Mar  9 11:24 ccxml.ixx
--------------------

IMO, if default value is attached to attribute, an exessive idents is
generated.
The following is result to delete all "default" value.
--------------------
-rw-rw-r-- 1 fukasawa fukasawa 148253 Mar  9 11:25 ccxml.cxx    <== !!
-rw-rw-r-- 1 fukasawa fukasawa 131119 Mar  9 11:25 ccxml.hxx
-rw-rw-r-- 1 fukasawa fukasawa  87422 Mar  9 11:25 ccxml.ixx
-rw-rw-r-- 1 fukasawa fukasawa  19757 Mar  9 11:14 ccxml.xsd
-rw-rw-r-- 1 fukasawa fukasawa   5829 Feb 28 16:04 xml.xsd
--------------------

regards,
Mitsuo





More information about the xsd-users mailing list