Menu

#151 default values on optional attributes

future
done
None
5(medium)
2017-03-02
2016-08-16
No

TEI has a number of elements that have optional attributes with default values, for example <p> has an optional @part, which has the default value "N". These attributes can crop up and cause problems when copying using XML aware processors, for example, perhaps also in other cases. There are settings in Oxygen and flags in commandline Saxon -expand:(on|off) for avoiding exlicit insertion of default values. However, isn't it sort of strange to have default but optional values?

perhaps TEI will also do something about this. Comments?

Related

Report Bugs: #151

Discussion

  • Hugh A. Cayless

    Hugh A. Cayless - 2016-08-16

    This is being gradually done in the TEI by Syd and Martin Holmes, I believe.

    On Tue, Aug 16, 2016 at 3:47 PM, Elli Mylonas ellimylonas@users.sf.net
    wrote:


    Status: unread
    Group: future
    Created: Tue Aug 16, 2016 07:47 PM UTC by Elli Mylonas
    Last Updated: Tue Aug 16, 2016 07:47 PM UTC
    Owner: nobody

    TEI has a number of elements that have optional attributes with default
    values, for example

    has an optional @part, which has the default
    value "N". These attributes can crop up and cause problems when copying
    using XML aware processors, for example, perhaps also in other cases. There
    are settings in Oxygen and flags in commandline Saxon -expand:(on|off)
    for avoiding exlicit insertion of default values. However, isn't it sort of
    strange to have default but optional values?

    perhaps TEI will also do something about this. Comments?

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/epidoc/bugs/151/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Report Bugs: #151

  • Elli Mylonas

    Elli Mylonas - 2016-08-16

    Thank you, I was looking for evidence in the TEI github with little success as I remember the conversation.

     
    • Hugh A. Cayless

      Hugh A. Cayless - 2016-08-16

      If you search the issues for "defaultVal" you'll see some of the work
      that's been done and that's underway.

      On Tue, Aug 16, 2016 at 4:51 PM, Elli Mylonas ellimylonas@users.sf.net
      wrote:

      Thank you, I was looking for evidence in the TEI github with little
      success as I remember the conversation.


      Status: unread
      Group: future
      Created: Tue Aug 16, 2016 07:47 PM UTC by Elli Mylonas
      Last Updated: Tue Aug 16, 2016 07:47 PM UTC
      Owner: nobody

      TEI has a number of elements that have optional attributes with default
      values, for example

      has an optional @part, which has the default
      value "N". These attributes can crop up and cause problems when copying
      using XML aware processors, for example, perhaps also in other cases. There
      are settings in Oxygen and flags in commandline Saxon -expand:(on|off)
      for avoiding exlicit insertion of default values. However, isn't it sort of
      strange to have default but optional values?

      perhaps TEI will also do something about this. Comments?

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/epidoc/bugs/151/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Report Bugs: #151

  • Elli Mylonas

    Elli Mylonas - 2016-09-20
    • status: unread --> accepted
    • assigned_to: Elli Mylonas
     
  • Elli Mylonas

    Elli Mylonas - 2016-09-20

    report back after TEI meeting so we have a status report and close

     
  • Elli Mylonas

    Elli Mylonas - 2016-09-20
    • status: accepted --> deferred
    • Group: future --> 8.23
     
  • Elli Mylonas

    Elli Mylonas - 2017-02-21
    • Group: 8.23 --> future
     
  • Elli Mylonas

    Elli Mylonas - 2017-03-02

    I've conferred with Syd and this is in progress for the TEI. We should wait for them to fix it. Can keep track of progres on TEI git issue is.

     
  • Elli Mylonas

    Elli Mylonas - 2017-03-02
    • status: deferred --> done
     

Log in to post a comment.

MongoDB Logo MongoDB