Next in thread → Next in month →

Clarification needed on @locktitle behaviour

From
Aruce Mevin <>
Date
2010-09-01T15:55:00+00:00
ID
Thread
Clarification needed on @locktitle behaviour
I don't know where I was 
looking, that I couldn't see the default. Weird.
 
The purpose of @locktitle is to 
compel the processor to use the navtitle. By default (when locktitle="no"), the 
processor uses other criteria to determine whether or not to use the 
navtitle if it is present. So we talk about what those other criteria might 
be?
 
If locktitle="yes" but there is 
no navtitle specified, do we leave it up to the implementer to decide whether to 
ignore it or report a user error?
 
    
/B


  
  
  From: Doug Morrison 
  [mailto:]
Sent: Friday, August 27, 2010 5:08 
  PM
To: 
Subject: Re: [dita] 
  Clarification needed on @locktitle behaviour


  On 27/08/2010 16:41, Bruce Nevin (bnevin) wrote: 
  I assume the default value for @locktitle is "yes". (I 
    see #IMPLIED in the description but I don't see the default value stated.) 
    
The default value for @locktitle is "no". To 
  quote from its description in http://docs.oasis-open.org/dita/v1.2/cd03/spec/common/topicref-atts.html 
  :

This attribute makes sure the navtitle element or attribute is used 
  if it is present. If locktitle isn't set 
  to "yes", the navtitle is ignored and text is retrieved 
  from the target.

I.e. if you want to use a navtitle you have to 
  explicitly set locktitle to "yes" - hence its default, implied value must be 
  "no".
Regards,

Doug Morrison
Information Architect
http://dita4all.com
Next in thread → Next in month →