OASIS Open Document Format for Office Applications (OpenDocument) TC

  • 1.  What was the story with missing default values for optional attributes again?

    Posted 02-26-2013 09:32
    Hi there, prompted by a question from a LibreOffice hacker - I find history of discussions prior to 1.2, that removed a:defaultValue from rng and into prose [1], and I find work on determining under-specified default values, including implementation differences [2]. My question: did that ever conclude, is it still pending, or was it consciously abandoned? And depending on the answer, should we log bugs for missing defaults? ;) [1] https://wiki.oasis-open.org/office/proposal%3Adefault-values [2] https://www.oasis-open.org/apps/org/workgroup/office/document.php?document_id=27982 Regards, -- Thorsten Behrens SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg; GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Attachment: signature.asc Description: Digital signature


  • 2.  Re: [office] What was the story with missing default values for optional attributes again?

    Posted 02-26-2013 15:30
    The story goes back to RelaxNG problem from 2008, see below for details [3,4]. On 26.02.2013 10:28, Thorsten Behrens wrote: > Hi there, > > prompted by a question from a LibreOffice hacker - I find history of > discussions prior to 1.2, that removed a:defaultValue from rng and > into prose [1], and I find work on determining under-specified default > values, including implementation differences [2]. My question: did > that ever conclude, is it still pending, or was it consciously > abandoned? > > And depending on the answer, should we log bugs for missing defaults? > ;) A bug report sounds good to me. Be aware that there exists a XSL stylesheet to extract the default values from the XML of the ODF specification. I have once done several fixes on that myself. The result from the extraction [5] is used for instance by the Apache ODF Toolkit project (incubating). I have in mind, that Michael handed all scrips over to Rob, right? [3] https://lists.oasis-open.org/archives/office-comment/200805/msg00014.html [4] https://lists.oasis-open.org/archives/office/200805/msg00133.html [5] http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/codegen/resources/config.xml?revision=1291683&view=markup (at the very end) Regards, Svante > > [1] https://wiki.oasis-open.org/office/proposal%3Adefault-values > [2] https://www.oasis-open.org/apps/org/workgroup/office/document.php?document_id=27982 > > Regards, >


  • 3.  Re: [office] What was the story with missing default values for optional attributes again?

    Posted 02-27-2013 09:07
    Svante Schubert wrote: > The story goes back to RelaxNG problem from 2008, see below for details > [3,4]. > Hi Svante, thanks for the background - yep, was aware of those mails - > The result from the extraction [5] is used for instance by the Apache > ODF Toolkit project (incubating). I have in mind, that Michael handed > all scrips over to Rob, right? > Would indeed be good to salvage those scripts, even better to have them somewhere public. The attribute list in odfdom/src/codegen/resources/config.xml though does not appear to be complete at all? Cheers, -- Thorsten Behrens SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg; GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Attachment: signature.asc Description: Digital signature


  • 4.  Re: [office] What was the story with missing default values for optional attributes again?

    Posted 02-27-2013 12:27
    On 27.02.2013 10:06, Thorsten Behrens wrote: > Svante Schubert wrote: >> The story goes back to RelaxNG problem from 2008, see below for details >> [3,4]. >> > Hi Svante, > > thanks for the background - yep, was aware of those mails - > >> The result from the extraction [5] is used for instance by the Apache >> ODF Toolkit project (incubating). I have in mind, that Michael handed >> all scrips over to Rob, right? >> > Would indeed be good to salvage those scripts, even better to have > them somewhere public. I believe the best is to bring the sources to the Apache ODF Toolkit, where I already found the XSLT to extract default values from a single file [1]. By doing so we have all sources at a single place, which is important when fixes would be applied and developers wouldn't search for development sources in the OASIS rep. It is only tooling around the spec anyway. > The attribute list in > odfdom/src/codegen/resources/config.xml though does not appear to be > complete at all? AFAIK ODF does not specify a default value for every optional attribute. I agree that this is problematic in terms of interoperability. Do you have some examples? PS: The editorial problems regarding default value once mentioned [2] seem to be fixed in the ODF 1.2 specification. Regards, Svante [1] http://svn.apache.org/viewvc/incubator/odf/trunk/xslt-runner/sample_xslt/add-default-values.xsl?view=markup [2] http://markmail.org/message/op6ypjlhreffqm4b > > Cheers, >


  • 5.  Re: [office] What was the story with missing default values for optional attributes again?

    Posted 02-27-2013 13:17
    Svante Schubert wrote: > > Would indeed be good to salvage those scripts, even better to have > > them somewhere public. > > I believe the best is to bring the sources to the Apache ODF Toolkit, > where I already found the XSLT to extract default values from a single > file [1]. By doing so we have all sources at a single place, which is > important when fixes would be applied and developers wouldn't search for > development sources in the OASIS rep. It is only tooling around the spec > anyway. > Hi Svante, unless the scripts depend on functionality from the ODF Toolkit, I would strongly suggest to host them at OASIS - their predominent purpose being spec editing and maintenance. They are so deeply tied in with this TC's work that splitting e.g. draft spec and xslt tool hosting appear absurd to me. > AFAIK ODF does not specify a default value for every optional attribute. > I agree that this is problematic in terms of interoperability. > Do you have some examples? > The question yesterday was triggered e.g. by the chart:error-* attribs. Cheers, -- Thorsten Behrens SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg; GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Attachment: signature.asc Description: Digital signature


  • 6.  Re: [office] What was the story with missing default values for optional attributes again?

    Posted 02-27-2013 13:27
    On Wednesday 27 February 2013 14:12:52 Thorsten Behrens wrote: > Svante Schubert wrote: > > > Would indeed be good to salvage those scripts, even better to have > > > them somewhere public. > > > > I believe the best is to bring the sources to the Apache ODF Toolkit, > > where I already found the XSLT to extract default values from a single > > file [1]. By doing so we have all sources at a single place, which is > > important when fixes would be applied and developers wouldn't search for > > development sources in the OASIS rep. It is only tooling around the spec > > anyway. > > Hi Svante, > > unless the scripts depend on functionality from the ODF Toolkit, I > would strongly suggest to host them at OASIS - their predominent > purpose being spec editing and maintenance. They are so deeply tied in > with this TC's work that splitting e.g. draft spec and xslt tool > hosting appear absurd to me. > > > AFAIK ODF does not specify a default value for every optional attribute. > > I agree that this is problematic in terms of interoperability. > > Do you have some examples? > > The question yesterday was triggered e.g. by the chart:error-* > attribs. > > Cheers, another example being vertical-rel, horizontal-rel vertical-pos horizontal-pos depending on anchor-type /Camilla


  • 7.  Re: [office] What was the story with missing default values for optional attributes again?

    Posted 03-07-2013 18:10
    <office@lists.oasis-open.org> wrote on 02/26/2013 10:29:37 AM: > From: Svante Schubert <svante.schubert@gmail.com> > To: office@lists.oasis-open.org, > Date: 02/26/2013 10:40 AM > Subject: Re: [office] What was the story with missing default values > for optional attributes again? > Sent by: <office@lists.oasis-open.org> > > The story goes back to RelaxNG problem from 2008, see below for details > [3,4]. > > On 26.02.2013 10:28, Thorsten Behrens wrote: > > Hi there, > > > > prompted by a question from a LibreOffice hacker - I find history of > > discussions prior to 1.2, that removed a:defaultValue from rng and > > into prose [1], and I find work on determining under-specified default > > values, including implementation differences [2]. My question: did > > that ever conclude, is it still pending, or was it consciously > > abandoned? > > > > And depending on the answer, should we log bugs for missing defaults? > > ;) > A bug report sounds good to me. > Be aware that there exists a XSL stylesheet to extract the default > values from the XML of the ODF specification. I have once done several > fixes on that myself. > The result from the extraction [5] is used for instance by the Apache > ODF Toolkit project (incubating). I have in mind, that Michael handed > all scrips over to Rob, right? > I believe the needed scripts were all included as samples in the XSLTRunner app in the ODF Toolkit. I searched my email, but I don't see any other scripts sent from Michael.  However, he did write up some detailed instructions on the wiki here: https://wiki.oasis-open.org/office/How_to_prepare_ODF_specification_documents Regards, -Rob > [3] > https://lists.oasis-open.org/archives/office-comment/200805/msg00014.html > [4] https://lists.oasis-open.org/archives/office/200805/msg00133.html > [5] > http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/codegen/ > resources/config.xml?revision=1291683&view=markup > (at the very end) > > Regards, > Svante > > > > > [1] https://wiki.oasis-open.org/office/proposal%3Adefault-values > > [2] https://www.oasis-open.org/apps/org/workgroup/office/ > document.php?document_id=27982 > >   > > Regards, > > > > > --------------------------------------------------------------------- > 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 >