W3C home > Mailing lists > Public > www-qa-wg@w3.org > July 2002

modules and profiles

From: Lofton Henderson <lofton@rockynet.com>
Date: Wed, 24 Jul 2002 07:50:59 -0600
Message-Id: <5.1.0.14.2.20020723171125.02989020@rockynet.com>
To: www-qa-wg@w3.org
A lucid discussion of a relationship between profiles and modules...

http://www.w3.org/TR/smil20/smil-modules.html#smilModulesNSModularizationProfiling

" A Module is a collection of semantically-related XML elements, 
attributes, and attribute values that represents a unit of functionality. 
Modules are defined in coherent sets. This coherency is expressed in that 
the elements of these modules are associated with the same namespace.

A Language Profile is a combination of modules. Modules are atomic, i.e. 
they cannot be subset when included in a language profile.
Furthermore, a module specification may include a set of integration 
requirements, to which language profiles that include the module must comply.

Commonly, there is a main language profile that incorporates nearly all the 
modules associated with a single namespace. For example, the SMIL 2.0 
language profile uses most of the SMIL 2.0 modules. Usually, the same name 
is used to loosely reference both - "SMIL 2.0" in the example. Also, the 
name "profile" is used to mean "language profile".

Other language profiles can be specified that are subsets of the larger 
one, or that incorporate a mixture of modules associated with
different namespaces. SMIL 2.0 Basic is an example of the first, XHTML+SMIL 
of the latter.

A special module in a language profile is the so-called Structure Module, 
in that it contains the root element of the language profile, e.g. <smil> 
or <html>. Any language profile that incorporates modules associated with a 
single namespace will include the Structure module associated with that 
namespace. "

[...more details, cut...]

And another interesting reference...

http://www.w3.org/TR/smil20/smil-modules.html#smilModulesNSSMILConformance
Received on Wednesday, 24 July 2002 09:48:09 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:13:10 GMT