[tei-council] <quotation>

Gabriel Bodard gabriel.bodard at kcl.ac.uk
Tue Dec 11 09:49:37 EST 2012


Aha, I see. Thanks.

Is this "convention of the annotation" then something we might want to 
take advantage of, if we want to make default attribute values useful to 
at least some users?

I have to say that I'm with Wendell, however, and don't like the idea of 
default attributes anyway anyhow. If I don't specify @marks on 
<quotation>, that means I am not specifying whether some or any or all 
quotations marks are preserved or not. (What assumptions you want to 
make about that is another question.) The default value of all missing 
attributes should be @*='unspecified', in other words.

(I suppose a default value on a _required_ attribute might make sense, 
if only as a convenience for data-entry.)

On 11/12/2012 11:37, Sebastian Rahtz wrote:
> On 11 Dec 2012, at 11:13, Gabriel Bodard <gabriel.bodard at kcl.ac.uk> wrote:
>> On 11/12/2012 09:48, Sebastian Rahtz wrote:
>>>    a) we can't implement default values in RELAXNG schemas
>>
>> As an aside on this discussion, can someone explain to me, given the
>> above statement from Sebastian is true (as I have always understood it
>> to be), what is meant by the option in the latest versions of Oxygen to:
>> "Add default attribute values" [in RNG]? (See
>> http://www.oxygenxml.com/doc/ug-editor/topics/relax-ng-preferences-page.html)
>
> The default values are put in the schema by a trick, as an annotation. RELAX NG
> per se does not understand this, but oxygen folks follow the convention
> of the annotation. and of course it will depend on whether you associate a schema
> which your document.
>
> but the waters are muddy, I may not be seeing clearly.
>

-- 
Dr Gabriel BODARD
(Research Associate in Digital Epigraphy)

Department of Digital Humanities
King's College London
26-29 Drury Lane
London WC2B 5RL

Email: gabriel.bodard at kcl.ac.uk
Tel: +44 (0)20 7848 1388
Fax: +44 (0)20 7848 2980

http://www.digitalclassicist.org/
http://www.currentepigraphy.org/



More information about the tei-council mailing list