Martin quoted Peter saying
> >*Character sets can be considered a type of datatype. They
> both define a
> > set of characters that are legal within an element or attribute.
> > Therefore, I believe there is a case for combining these 2
> areas into
> > one task.
Some (may be too quick) reactions:
1. A character repertoire certainly has to do with datatypes. XML Schema and Relax NG already allow to define a simple datatype to be restricted to a specified set of characters.
BUT:
2. For mixed content (like typical text documents) this does not work, however.
3 In general, document schema writers will probably want to let the valid character repertoires depend on element type (like <formula> or <paragraph>) and/or the xml:lang attribute for "normal" texts, and to be inheritable.
If any combination of m allowed languages and n element types with mixed content will have to be redefined explicitly as having a language specific content model, this would result in m*n element type definitions.
Diederik
-- DSDL members discussion list To unsubscribe, please send a message with the command "unsubscribe" to dsdl-discuss-request@dsdl.org (mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)Received on Thu Sep 30 17:35:18 2004
This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:28 UTC