GarryJolleyRogers - Wed Nov 25 2009 - Version 1.17
Parent topic: ClosedTopicSchemaDiscussionSDD09

AudienceDefinitionAndUse

XML supports the specification of a natural language through use of the "lang" attribute on an element. SDD means to extend this notion to support applications that recognize more properties of a human user than just language. As of Version 0.62 an AudienceDefinition object has three required attributes:

It is the attributes which most applications will find most useful, because they will use the latter two in tailoring user interfaces. A typical use of Audience references might be in a CharacterDefinition that has several different text parts, each with a different intended Audience. The application could select the accompanying text based on the Audience.

In addition to those attributes there are two subelements - a label and a description, both strings. 0.62 ascribes no enforceable semantics to these, but the intent is captured by the schemadoc entry:

<xs:documentation source="G. Hagedorn" xml:lang="en">An audience is a combination of language (including dialect) and expertise (pupil, beginner, expert). Multiple audiences can be defined for the same language and expertise, distinguished only by their label.</xs:documentation>

Presumably, the label and description of an audience would be in the language and perhaps presumed ability of the audience, if an application is going to be able to make use of them for descriptions of the audience itself. However, such a description is not really within the scope of SDD, so there is no semantic recommendation at this writing.

A documentation element in the 0.62 schema records the committee's design intention for the integers in the ExpertiseLevel. They are described by this schema doc element on the

<xs:documentation source="G. Hagedorn" xml:lang="en">ExpertiseLevel is restricted to values from 1-5. These categories allow to communicate expected expertise between different applications using the SDD schema. The recommended interpretation is:
 1 = elementary school (year 1 to 6);
 2 = middle school (year 7 to 10);
 3 = high school (year 11 above) and general public (trying to avoid any specialized terminology or jargon);
 4 = university students or (partly) trained personnel (using terminology, but avoiding or explaining problematic terminology);
 5 = experts (using the full range of terminology).</xs:documentation>

In 0.91, AudienceDefinitions are described in the GeneralDeclarations section and referenced in many places by keyrefs in attributes always of name "audience".

-- Main.BobMorris - 05 Oct 2003/ Gregor Hagedorn 28. May 2004


In 1.0 versions, AudienceRelationID, which defines the pattern for Audience keys, is defined by restriction from UBIF's RelationID. However, that must be an integer, whereas we intend(?) to have mnemonic audience keys in SDD, using some brief strings like en5. XML Spy2004v4 does not enforce this (undesirable) constraint, though Apache does (I think) and so does the embedded parser in Stylus Studio Home Edition -- Main.BobMorris - 17 Dec 2004