[xsd-users] Parsing the Collada 1.3.1 XSD
mark_barnes at playstation.sony.com
mark_barnes at playstation.sony.com
Thu Jan 5 14:15:42 EST 2006
On Thu, 2006-01-05 at 20:04 +0200, Boris Kolpackov wrote:
> Marcus writes:
> >
> I tried to find COLLADA schema 1.4 but all I can get is 1.3.1. I could
> run xsd on it see if there are any warnings wrt anonymous types and code
> bloat.
The 1.4 schema will be released today I expect. It'll be at khronos.org.
> Right, if technique_common inside camera is of a completely different
> type compared to technique_common inside light, there is no code bloat.
> Nothing significant will be achieved if those types are explicitly named.
> However, if you have a schema like this:
>
>
> <element name="technique_common">
> <complexType>
> ...
> </complexType>
> </element>
>
>
> <complexType name="Camera">
> <sequence>
> <element ref="technique_common"/>
> </sequence>
> </complexType>
>
>
> <complexType name="Light">
> <sequence>
> <element ref="technique_common"/>
> </sequence>
> </complexType>
>
>
> Then Camera and Light types will each have its own copy of the
> technique_common type. Those copies will be identical and can
> be replaced with one global type:
Sure and we do that more in the 1.4 schema. The schema is quite a bit
bigger then 1.3.1 was since we added FX and PhX features.
Regards,
Marcus
--
Mark Barnes
COLLADA Project Lead, tel:+1.650.655.7342
Sony Computer Entertainment America
http://research.scea.com
More information about the xsd-users
mailing list