Lightweight DITA SC

 View Only
  • 1.  template specialization tool to GitHub

    Posted 10-19-2016 20:25
    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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-schema.xsl Description: [Saxon-EE] Treating @specmodel attribute as having value 'sequence'. Start location: 100:0 System ID: C:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-schema.xsl Description: [Saxon-EE] Treating @specmodel attribute as having value 'sequence'. Start location: 100:0 ----------


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

    Posted 10-19-2016 21:15
    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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-schema.xsl Description: [Saxon-EE] Treating @specmodel attribute as having value 'sequence'. Start location: 100:0 System ID: C:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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


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

    Posted 10-20-2016 13:39
    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 < mark@markgiffin.com > 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/s pecialization/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:UsersMarkDocuments
    efsd italightweight-ditadita2rng 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:UsersMarkDocuments
    efsd italightweight-ditadita2rng create-schema.xsl Description: [Saxon-EE] Treating @specmodel attribute as having value 'sequence'. Start location: 100:0 System ID: C:UsersMarkDocuments
    efsd italightweight-ditadita2rng 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:UsersMarkDocuments
    efsd italightweight-ditadita2rng 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/app s/org/workgroup/portal/my_work groups.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/app s/org/workgroup/portal/my_work groups.php


  • 4.  RE: [dita-lightweight-dita] template specialization tool to GitHub

    Posted 10-20-2016 17:05




    Hi, Carlos.
     
    When’s a good time to call?
     
    Regards,
    Tim.
     
     
    From: Carlos Evia [mailto:cevia@vt.edu]

    Sent: Thursday, October 20, 2016 9:39 AM
    To: Mark Giffin <mark@markgiffin.com>; Tim Grantham <tgrantham@timgrantham.com>
    Cc: dita-lightweight-dita@lists.oasis-open.org
    Subject: 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 < mark@markgiffin.com > 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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-schema.xsl
    Description: [Saxon-EE] Treating @specmodel attribute as having value 'sequence'.
    Start location: 100:0

    System ID: C:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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





     







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

    Posted 10-20-2016 18:36
    Can I sit in too? Mark On 10/20/2016 10:05 AM, Tim Grantham wrote: Hi, Carlos.   When’s a good time to call?   Regards, Tim.     From: Carlos Evia [ mailto:cevia@vt.edu ] Sent: Thursday, October 20, 2016 9:39 AM To: Mark Giffin <mark@markgiffin.com> ; Tim Grantham <tgrantham@timgrantham.com> Cc: dita-lightweight-dita@lists.oasis-open.org Subject: 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 < mark@markgiffin.com > 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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-schema.xsl Description: [Saxon-EE] Treating @specmodel attribute as having value 'sequence'. Start location: 100:0 System ID: C:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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  


  • 6.  RE: [dita-lightweight-dita] template specialization tool to GitHub

    Posted 10-20-2016 18:47




    Hi, Mark.
     
    Forgot to copy you. Next week I’ll write up release notes that include a how-to and send it to you and Carlos for review.
     
    Regards,
    Tim.
     


    From: Mark Giffin [mailto:mark@markgiffin.com]

    Sent: Thursday, October 20, 2016 2:36 PM
    To: Tim Grantham <tgrantham@timgrantham.com>; Carlos Evia <cevia@vt.edu>
    Cc: dita-lightweight-dita@lists.oasis-open.org
    Subject: Re: [dita-lightweight-dita] template specialization tool to GitHub


     
    Can I sit in too?

    Mark

    On 10/20/2016 10:05 AM, Tim Grantham wrote:


    Hi, Carlos.
     
    When’s a good time to call?
     
    Regards,
    Tim.
     
     
    From: Carlos Evia [ mailto:cevia@vt.edu ]

    Sent: Thursday, October 20, 2016 9:39 AM
    To: Mark Giffin <mark@markgiffin.com> ; Tim Grantham
    <tgrantham@timgrantham.com>
    Cc: dita-lightweight-dita@lists.oasis-open.org
    Subject: 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 < mark@markgiffin.com > 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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-schema.xsl
    Description: [Saxon-EE] Treating @specmodel attribute as having value 'sequence'.
    Start location: 100:0

    System ID: C:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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:UsersMarkDocuments
    efsditalightweight-ditadita2rngcreate-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