[oXygen-user] New Schematron rule for DITA maps

Jarno Elovirta Jarno.Elovirta at citec.com
Mon Aug 22 04:50:46 CDT 2011


Hi Eliot and Radu,

I implemented this in <https://github.com/jelovirt/dita-schematron/issues/1>. If you feel you'd like to have a separate validation phase (and a new schema file) for map validation, please add an item and I'll add it.

Cheers,

Jarno

________________________________________
From: oxygen-user-bounces at oxygenxml.com [oxygen-user-bounces at oxygenxml.com] On Behalf Of Radu Coravu [radu_coravu at sync.ro]
Sent: Monday, August 22, 2011 11:37 AM
To: oxygen-user at oxygenxml.com
Subject: Re: [oXygen-user] New Schematron rule for DITA maps

Hi Eliot,

Indeed we added default validation scenarios for DITA topics which also
use some Schematron validation stages but we did not add such validation
scenarios out of the box for DITA Maps. Oxygen 13 will be released in a
week or two so maybe in the next version we'll try to implement some
Schematron rules also for DITA Maps.

The warning about the use of navtitle was available in the DITA
Schematron checks provided initially by Jarno Elovirta but I commented
it out as the Schematron was not applied on the DITA Maps anyway and
also because I considered the check kind of severe. The DITA 1.2 spec
says something like:

> Beginning with DITA 1.2, the preferred way to specify the navigation title in a map is with the navtitle element, available inside the topicmeta element.

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


On 8/21/2011 4:23 PM, Eliot Kimber wrote:
> If an element of class mapgroup-d/topichead has neither a @navtitle
> attribute nor a topicmeta/navtitle element, it should be flagged with a
> warning as it will act as a topicgroup in that case.
>
> Ideally<topichead>  would require topicmeta/navtitle but of course that's
> not possible with DTD or XSD alone.
>
> Might also be useful to warn about the use of @navtitle, which is
> deprecated.
>
> Cheers,
>
> E.
>

_______________________________________________
oXygen-user mailing list
oXygen-user at oxygenxml.com
http://www.oxygenxml.com/mailman/listinfo/oxygen-user


More information about the oXygen-user mailing list