Re: [dita-lightweight-dita] template specialization tool to GitHub

From
Carlos Evia <>
Date
2016-10-20T13:38:40+00:00
ID
Thread
Re: [dita-lightweight-dita] template specialization tool to GitHub
It looks good!... but I think I need a tutorial (I am expected to talk about this at the TC meeting 11/01). I was able to generate the RELAX NG grammar from my sample template, but didn't know where to go next. I would like to write a how-to for the README.md file in the specialization sub-folder of our GitHub repo. 
Tim, want to chat with me and walk me through the steps so I can write it up?

Thank you,

Carlos

-- 

Carlos Evia, Ph.D.

Director of Professional and Technical Writing

Associate Professor of Technical Communication

Department of English

Center for Human-Computer Interaction

Virginia Tech

Blacksburg, VA 24061-0112

(540)200-8201

On Wed, Oct 19, 2016 at 5:14 PM, Mark Giffin <> wrote:
By the way, the schema output from the tool includes the class hierarchy for specialized items. I was not sure about this in the main TC meeting yesterday. This is good for interoperability.

Mark Giffin

Mark Giffin Consulting, Inc.

http://markgiffin.com/

On 10/19/2016 1:24 PM, Mark Giffin wrote:

I have committed the first pass at the LWDITA template-based specialization tool to the LWDITA GitHub repo here:

https://github.com/oasis-open/dita-lightweight/tree/master/specialization/template-tool 

I managed to test this with two templates and it worked, nice job Tim Grantham!

On Birgit's marketing template that was discussed in the last meeting, the tool created an RNG schema, but it also had a couple warnings and comments, see below.

Mark Giffin

Mark Giffin Consulting, Inc.

http://markgiffin.com/

----------

System ID: C:\Users\Mark\Documents\refs\dita\lightweight-dita\dita2rng\create-schema.xsl

Description: [Saxon-EE] WARNING: @specmodel cannot be equal to 'choice' if base element has a content model of 'sequence'.

Start location: 99:0

System ID: C:\Users\Mark\Documents\refs\dita\lightweight-dita\dita2rng\create-schema.xsl

Description: [Saxon-EE] Treating @specmodel attribute as having value 'sequence'.

Start location: 100:0

System ID: C:\Users\Mark\Documents\refs\dita\lightweight-dita\dita2rng\create-schema.xsl

Description: [Saxon-EE] WARNING: @specmodel cannot be equal to 'choice' if base element has a content model of 'sequence'.

Start location: 99:0

System ID: C:\Users\Mark\Documents\refs\dita\lightweight-dita\dita2rng\create-schema.xsl

Description: [Saxon-EE] Treating @specmodel attribute as having value 'sequence'.

Start location: 100:0

----------

---------------------------------------------------------------------

To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail.  Follow this link to all your TCs in OASIS at:

https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php

---------------------------------------------------------------------

To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail.  Follow this link to all your TCs in OASIS at:

https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php