OASIS Open Document Format for Office Applications (OpenDocument) TC

Expand all | Collapse all

Re: ODF Conformance

Rob Weir

Rob Weir02-12-2009 11:05

Rob Weir

Rob Weir02-12-2009 13:30

Rob Weir

Rob Weir02-12-2009 16:01

  • 1.  Re: ODF Conformance

    Posted 02-06-2009 10:19
    On Wednesday 04 February 2009, you wrote:
    > Hi David,
    > 
    > I'm wondering how your thoughts are currently regarding ODF conformance, 
    > and the discussion on the TC list.
    > 
    > If I understand correctly, originally you were concerned that the new 
    > conformance language would eliminate some extensions that KOffice wrote 
    > into documents.  Michael's latest proposal allows extensions in 
    > 


  • 2.  RE: [office] Re: ODF Conformance

    Posted 02-06-2009 22:35
    David,
    
    Thank you for pointing out that there are useful and benign uses of foreign
    elements in 


  • 3.  Re: [office] Re: ODF Conformance

    Posted 02-09-2009 19:15
    On Friday 06 February 2009, Dennis E. Hamilton wrote:
    > David,
    > 
    > Thank you for pointing out that there are useful and benign uses of foreign
    > elements in 


  • 4.  Re: [office] Re: ODF Conformance

    Posted 02-09-2009 09:41
    Hi David,
    
    wouldn't it be an option to store the formatting properties in question 
    as application settings? This would clearly identify them as being 
    application specific. You may use the name of the style in the settings 
    to identify the style to which them belong. And to identify a frame, you 
    can use either its name, or its xml:id.
    
    Best regards
    
    Michael
    
    On 06.02.09 11:18, David Faure wrote:
    > On Wednesday 04 February 2009, you wrote:
    >> Hi David,
    >>
    >> I'm wondering how your thoughts are currently regarding ODF conformance, 
    >> and the discussion on the TC list.
    >>
    >> If I understand correctly, originally you were concerned that the new 
    >> conformance language would eliminate some extensions that KOffice wrote 
    >> into documents.  Michael's latest proposal allows extensions in 
    >> 


  • 5.  Re: [office] Re: ODF Conformance

    Posted 02-09-2009 11:04
    On Monday 09 February 2009, Michael Brauer - Sun Germany - ham02 - Hamburg wrote:
    > Hi David,
    > 
    > wouldn't it be an option to store the formatting properties in question 
    > as application settings? This would clearly identify them as being 
    > application specific. You may use the name of the style in the settings 
    > to identify the style to which them belong. And to identify a frame, you 
    > can use either its name, or its xml:id.
    
    OK, why not.
    
    I'd like to note that any of the "harmful" extensions people have thought of,
    and are trying to prevent, can also be done this way ;-)
    
    -- 
    David Faure, faure@kde.org, sponsored by Qt Software @ Nokia to work on KDE,
    Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
    


  • 6.  Re: [office] Re: ODF Conformance

    Posted 02-09-2009 12:07
    Hi David,
    
    On 09.02.09 12:03, David Faure wrote:
    > On Monday 09 February 2009, Michael Brauer - Sun Germany - ham02 - Hamburg wrote:
    >> Hi David,
    >>
    >> wouldn't it be an option to store the formatting properties in question 
    >> as application settings? This would clearly identify them as being 
    >> application specific. You may use the name of the style in the settings 
    >> to identify the style to which them belong. And to identify a frame, you 
    >> can use either its name, or its xml:id.
    > 
    > OK, why not.
    > 
    > I'd like to note that any of the "harmful" extensions people have thought of,
    > and are trying to prevent, can also be done this way ;-)
    >
    
    Well, this is true. Actually, we cannot prevent that applications use 
    particular features in unintended and 'harmful' ways. The difference is 
    however that we do not make any statement what the intended use of 
    foreign elements and attributes are. One can used them for any purpose, 
    and everything would be permitted.
    
    Regarding the <*-properties> elements: The reasons the current proposal 
    does not allow them within the "stricter" conformance class has 
    different reasons than dis-allowing them anywhere else: First, I think 
    that application settings actually are more suitable to keep application 
    specific formatting properties. And second: ODF 1.1 did already differ 
    between documents that allow any content in formatting properties and 
    those that do not by providing two schemas. Keeping this separation 
    would result in three conformance classes, and two schemas, which would 
    make the overall situation even more complex. The non-strict schemas as 
    it is further has the issue that is does not validate anything within 
    <*-properties> elements, not even the attributes that ODF defines itself.
    
    So, dis-allowing foreign attributes and elements in <*-properties> 
    elements is actually an attempt to improve validation and make make 
    things less complex.
    
    Having that said: If it would turn out that application settings are not 
    sufficient to cover the past possibilities of foreign attributes and 
    elements in <*-properties>, then I would have no objections to define an 
    extension mechanism there. But I would do so as feature of 
    <*-properties> elements, rather than as part of a "loose" conformance 
    definition.
    
    Best regards
    
    Michael
    
    
    -- 
    Michael Brauer, Technical Architect Software Engineering
    StarOffice/OpenOffice.org
    Sun Microsystems GmbH             Nagelsweg 55
    D-20097 Hamburg, Germany          michael.brauer@sun.com
    http://sun.com/staroffice         +49 40 23646 500
    http://blogs.sun.com/GullFOSS
    
    Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
    	   D-85551 Kirchheim-Heimstetten
    Amtsgericht Muenchen: HRB 161028
    Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
    Vorsitzender des Aufsichtsrates: Martin Haering
    


  • 7.  Re: [office] Re: ODF Conformance

    Posted 02-09-2009 12:38
    On Monday 09 February 2009, Michael Brauer - Sun Germany - ham02 - Hamburg wrote:
    > The non-strict schemas as 
    > it is further has the issue that is does not validate anything within 
    > <*-properties> elements, not even the attributes that ODF defines itself.
    
    This sounds like a technical issue more than a specification issue.
    Surely there is a way to validate that style:wrap is not given the attribute "ooo:chicken curry",
    while at the same allowing attributes from other namespaces. Basically we want
    - if known attribute -> check that the value is valid
    - if unknown attribute in known namespace -> error
    - if unknown attribute in unknown namespace -> OK, app-specific extension.
    
    > So, dis-allowing foreign attributes and elements in <*-properties> 
    > elements is actually an attempt to improve validation and make make 
    > things less complex.
    
    But it's a bit too brutal an approach for solving the above technical problem, IMHO.
    
    > Having that said: If it would turn out that application settings are not 
    > sufficient to cover the past possibilities of foreign attributes and 
    > elements in <*-properties>
    
    Yes I don't think application settings are good way to extend styles, this sounds very messy.
    
    Instead of
       
    we would have to move that attribute to another XML file and do 
    something strange like  
       
    
    It can work technically, but it's very ugly in my opinion; slower loading
    because the extensions need to be re-associated with their styles,
    lack of modularity and clarity... Well, if that's the price for having a single
    conformance level then I can accept it, but if it's just a workaround for
    the lack of a proper validation tool, it's rather awkward.
    
    > then I would have no objections to define an  
    > extension mechanism there. But I would do so as feature of 
    > <*-properties> elements, rather than as part of a "loose" conformance 
    > definition.
    
    Sound great to me :-)
    
    I don't want "loose" conformance, I want extendable <*-properties>.
    
    -- 
    David Faure, faure@kde.org, sponsored by Qt Software @ Nokia to work on KDE,
    Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
    


  • 8.  Re: [office] Re: ODF Conformance

    Posted 02-09-2009 13:17
    Hi David,
    
    
    On 09.02.09 13:37, David Faure wrote:
    > On Monday 09 February 2009, Michael Brauer - Sun Germany - ham02 - Hamburg wrote:
    >> then I would have no objections to define an  
    >> extension mechanism there. But I would do so as feature of 
    >> <*-properties> elements, rather than as part of a "loose" conformance 
    >> definition.
    > 
    > Sound great to me :-)
    > 
    > I don't want "loose" conformance, I want extendable <*-properties>.
    > 
    
    Do you think of something like this as part of the descriptions of 
    <*-properties> elements?
    
    The <*-properties> elements may, in addition to the elements and 
    attributes defined by the OpenDocument schema, contain elements and 
    attributes not defined by the schema. These *shall not* be associated 
    with a namespace defined by this specification. The semantics of these 
    elements and attributes are implementation defined. They *shall not* 
    influence how the document is displayed, but *may* be evaluated when the 
    document is modified, for instance, when the properties of an object are 
    modified or new objects are inserted.
    
    Michael
    
    
    -- 
    Michael Brauer, Technical Architect Software Engineering
    StarOffice/OpenOffice.org
    Sun Microsystems GmbH             Nagelsweg 55
    D-20097 Hamburg, Germany          michael.brauer@sun.com
    http://sun.com/staroffice         +49 40 23646 500
    http://blogs.sun.com/GullFOSS
    
    Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
    	   D-85551 Kirchheim-Heimstetten
    Amtsgericht Muenchen: HRB 161028
    Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
    Vorsitzender des Aufsichtsrates: Martin Haering
    


  • 9.  Re: [office] Re: ODF Conformance

    Posted 02-09-2009 13:41
    On Monday 09 February 2009, Michael Brauer - Sun Germany - ham02 - Hamburg wrote:
    > The <*-properties> elements may, in addition to the elements and 
    > attributes defined by the OpenDocument schema, contain elements and 
    > attributes not defined by the schema. These *shall not* be associated 
    > with a namespace defined by this specification. The semantics of these 
    > elements and attributes are implementation defined. They *shall not* 
    > influence how the document is displayed, but *may* be evaluated when the 
    > document is modified, for instance, when the properties of an object are 
    > modified or new objects are inserted.
    
    Looks good to me.
    
    -- 
    David Faure, faure@kde.org, sponsored by Qt Software @ Nokia to work on KDE,
    Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
    


  • 10.  Re: [office] Re: ODF Conformance

    Posted 02-09-2009 18:25
    On Monday 9. February 2009 10:40:58 ext Michael Brauer - Sun Germany - ham02 - 
    Hamburg wrote:
    > Hi David,
    >
    > wouldn't it be an option to store the formatting properties in question
    > as application settings? This would clearly identify them as being
    > application specific. You may use the name of the style in the settings
    > to identify the style to which them belong. And to identify a frame, you
    > can use either its name, or its xml:id.
    
    Looks a bit odd; and I'm not sure I have my head wrapped around it completely.
    
    I've spent most of today reading up on this issue and I'm a bit worried. I'm a 
    bit worried that we are trying to remove a core feature that I depend on in 
    both KOffice and Qt.
    At least, these implementations would in some cases no longer be able to call 
    themselves conforming. Which is at best odd.
    
    My understanding is that KOffice can no longer write the koffice:nodeTypes tag 
    in its draw:path element. Which is essential to have for editing. Same for 
    Inkscape (they just use the sodipodi namespace)
    Is that indeed the case?
    
    How about this one;
    KOffice has various auto-shapes. One of them is the star.  We write this; 
      


  • 11.  Re: [office] Re: ODF Conformance

    Posted 02-09-2009 18:57
    So we have elements, attributes and attribute values.  My understanding is 
    that the conformance clause talks about foreign elements and attributes. I 
    don't think it says anything about prefixed attribute values,
    
    I'd interpret this as saying:
    
    1) If the schema defines an enumeration for the values of an attribute, 
    then those and only those values are valid.  Any values outside of that 
    enumeration, including prefixed ones would be invalid to the schema, and 
    therefore not conformant.
    
    2) If the schema assigns a single type like "string" but the text of the 
    specification states that only a specific set of values are permitted, but 
    ones which cannot be all listed into the schema, like country codes, or 
    mime types, then any values outside of that list , including prefixed ones 
    would be not conformant.
    
    3) If the schema and specification allow any values then any values are 
    OK, including namespace prefixed ones.  In fact, prefixed names would be 
    preferred since they help avoid collisions.
    
    So, I think the draw:engine case would be conformant.  The music:shape one 
    would conform to the "extended" conformance class, but would not conform 
    to the default conformance class.  That's how I read the proposal.
    
    The intent is to get away from open-ended extension mechanisms and replace 
    them with more targeted ones that better express the intent.  For example, 
    we could define a shape extension mechanism, or a schema that generally 
    specifies an alternative XML encoding  of the same content (MusicML versus 
    SVG).  But without such a mechanism, an app has no idea whether the 
    foreign element is a script that should be removed for security reasons, 
    something that has accessibility consequences, something that must be 
    translated when the document is translated, or whether it contains 
    personal metadata that should be removed when anonymizing the document.
    
    So I guess my questions are:
    
    1) Is it worth having a better engineered extension mechanism that allows 
    the same capabilities as ODF 1.0, but structured in a way that avoids the 
    liabilities? 
    2) If so, how long are we willing to wait for it to be designed and 
    specified?  I think it would probably take a 4-6 weeks.  We could likely 
    get back to a single conformance level if we had a better designed 
    extension mechanism.
    
    I have nothing against extensions per-se.  I just want to ensure that they 
    are done in a way which will scale with broader ODF adoption and not 
    create problems that we'll never be able to solve.  This is one of those 
    things we need to get right.
    
    -Rob
    
    
    Thomas Zander 


  • 12.  RE: [office] Re: ODF Conformance

    Posted 02-09-2009 19:32
    Rob,
    
    I like this idea of having a better engineered extension mechanism that allows the same capabilities as ODF 1.0, but structured in a way that avoids the 
    Liabilities.  To merge threads, here are your comments from another recent exchange on this topic, which I agree with:
    
     > Correct me if I'm wrong, but I don't recall anyone proposing to add customXML in the sense of OOXML, to ODF.  I think customXML, and the specific semantics behind it,
     > are reasonable, and if TC members want that functionality in ODF, then it should be supported in a first class way rather than via generic mechanisms like bookmarks. 
     > It would not be too hard to clone such a feature from what is described in OOXML.
    
    Regarding how long we'd be willing to wait for such functionality, I think we could clone the IS29500 approach pretty quickly.  That doesn't address the issue of extensions in existing implementations that may already use foreign elements, as others have alluded to, but I think the addition of customXML functionality would be a good thing to do.
    
    - Doug
    
    
    


  • 13.  The Rule of Least Power

    Posted 02-11-2009 20:37
    I've been struggling to articulate exactly why I don't like the 
    general-purpose foreign-content mechanism in ODF, and why I think it is so 
    dangerous.  But I just stumbled on a W3C "TAG Finding" (essentially 
    architectural principles promulgated by the W3C's top architects) that 
    says it clearer than I have.
    
    The paper is called "The Rule of Least Power" and I'd encourage members to 
    give it a quick read. 
    
    http://www.w3.org/2001/tag/doc/leastPower.html
    
    The abstract gives the gist of it:
    
    "When designing computer systems, one is often faced with a choice between 
    using a more or less powerful language for publishing information, for 
    expressing constraints, or for solving some problem. This finding explores 
    tradeoffs relating the choice of language to reusability of information. 
    The 'Rule of Least Power' suggests choosing the least powerful language 
    suitable for a given purpose."
    
    This is one reason our RDF/XML metadata may be preferred than the general 
    foreign-content mechanism, and why even more targeted mechanisms are 
    appropriate for more targeted purposes. 
    
    It is paradoxical, but the "most powerful" extensibility mechanism is not 
    always the best.  Certainly arbitrary memory pointers in C are more 
    powerful than object references in Java.  But this is a hindrance and a 
    liability unless you need that particular power in pointers, i.e., in the 
    DOS days when we could write directly to video RAM at a fixed address. 
    Bringing out the nuclear death ray gun every time you want to swat a fly 
    will eventually get you in trouble.
    
    So I wonder where exactly in ODF do we need/want extensibility?  Can these 
    easily be enumerated?  If so, what is the least powerful extensibility 
    mechanism that will work in these cases?  Remember, if we reduce the power 
    of the mechanism for expressing extensions, we at the same time reduce the 
    requirements for consumers of the documents, who would then not need to 
    manage dealing with the general case of arbitrary extensions.
    
    I've started a wiki page where we can hopefully enumerate what mechanisms 
    we know are currently in use, or anticipated.  I'd encourage TC members to 
    append additional examples that you know of. 
    
    http://wiki.oasis-open.org/office/Extensibility_Mechanisms
    
    -Rob
    
    


  • 14.  Re: [office] The Rule of Least Power

    Posted 02-11-2009 22:10
    robert_weir@us.ibm.com wrote:
    
    > "When designing computer systems, one is often faced with a choice between 
    > using a more or less powerful language for publishing information, for 
    > expressing constraints, or for solving some problem. This finding explores 
    > tradeoffs relating the choice of language to reusability of information. 
    > The 'Rule of Least Power' suggests choosing the least powerful language 
    > suitable for a given purpose."
    
    I think that my understanding of intent of authors of this document is
    very different from you. I don't think that this TAG finding is
    discouraging use of general extensibility mechanism. My understanding is
    that rule of least power prefers markup like:
    
    

    foo

    over

    You can find another TAG findings related to XML versioning and extensibility strategies: http://www.w3.org/2001/tag/doc/versioning-compatibility-strategies#dt-extensible http://www.w3.org/2001/tag/doc/versioning-xml So I don't think that picking up some arbitrary TAG finding is a good argument agains/in favour of general extensibility. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------


  • 15.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 11:05
    Jirka Kosek 


  • 16.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 12:24
    robert_weir@us.ibm.com wrote:
    
    > at least not obviously yes.  The nature of standardization is making 
    > choices, and it is not only respectable for an XML-based standard to 
    > define a schema that disallows generalized XML extensions, it is the more 
    > typical practice, in OASIS and in the W3C.  I'm not saying that there are 
    > not open content model standards out there, but that they are in the 
    > distinct minority.
    
    I think that important is trend not status quo. And newer formats are
    usually using open content model. One reason is that this can be
    considered good practice and second is that open content models were
    hard to express in W3C XML Schema, but as more and more standards use
    RELAX NG for normative schema this easier to express.
    
    For example, if I will use ODF as source for translation why should I be
    disallowed to use ITS markup
    (http://www.w3.org/TR/2007/REC-its-20070403/)? AFAIK there is no direct
    provision for this in ODF so I have to use custom attributes and
    elements. But anyone else can view/print/edit this document by simply
    ignoring ITS elements/attributes. Of course during editing those data
    will be probably discarded by application which doesn't have support for
    ODF+ITS -- but it is my responsibility to use toolchain which doesn't
    break things.
    
    You can argue that we should add ITS into ODF. Yes, we can and I think
    it would be good idea. But we can find another dozen small markup
    languages which will be good to add to ODF. This is simply impossible to
    do with limited work and time resources this group has. Only thing we
    can do is to define some policy how to handle such extensions and let
    users to use ODF to its full power. If some extension usage shows as
    widely adopted, it can became part of next version of ODF.
    
    			Jirka
    
    -- 
    ------------------------------------------------------------------
      Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
    ------------------------------------------------------------------
           Professional XML consulting and training services
      DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
     OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------
    
    


  • 17.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 13:30
    Jirka Kosek 


  • 18.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 14:59
    robert_weir@us.ibm.com wrote:
    
    > However, I could give you equally plausible extension attributes which 
    > would require entirely different processing, and in fact would lead to 
    > horribly corrupted documents if the same processing rules were 
    > indiscriminately applied.
    
    Indeed. But even if ODF will use the simplest policy that application
    should strip unknown extension elements/attributes this problem will be
    eliminated.
    
    > Has anyone done this work already?  I'm surprised there is not a 
    > well-known standard for expressing such editing semantics.  I think most 
    > of my concerns would be answered if we had a standard vocabulary for 
    > indicating for extensions things like volatile="true", 
    > preserveOnCopy="false", etc.
    
    I think that this task is very complex and AFAIK the completely general
    solution leads to NP-complete problem. Probably nothing what anyone
    would like to implement in his office application.
    
    Of course, the most typical cases could be handled by rules you propose.
    
    -- 
    ------------------------------------------------------------------
      Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
    ------------------------------------------------------------------
           Professional XML consulting and training services
      DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
     OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------
    
    


  • 19.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 16:01
    Jirka Kosek 


  • 20.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 16:32
    On Thursday 12. February 2009 17:02:30 ext robert_weir@us.ibm.com wrote:
    > That is certainly one solution.  But I think that is unsatisfactory to
    > application vendors who wish to extend ODF.  I can certainly imagine
    > situations where we might want to add extensions to Lotus Symphony.  But
    > we cannot assume a homogenous world where everyone runs only Lotus
    > Symphony.  It would not be worth adding extensions unless we had some
    > confidence that they would not be stripped by every other ODF application.
    
    Hehe, maybe thats the way forward then :)
    I mean, feel free to propose an extension mechanism that fits IBM better than 
    any of the current ones ODF already has.
    I'm not sure I follow your argument that its not worth writing information at 
    all because there is a chance of it being lost, but if you think thats 
    important for IBM, then please do suggest a good extention mechanism.
    
    I'd like to point out that this this is a completely separate issue from 
    taking away an existing extention mechanism thats native to XML. Adding 
    properties and attributes in a namespace.
    I don't think we should try to label implementations that choose one way of 
    extending ODF over another as more pure or not. Thats not helping anyone and 
    its just fooling ourselves into a sense of false security.
    
    Afterall, putting my properties in a the app-specific data or in 1.2-metadata 
    makes it just as much of a black box as putting it directly in the tags. They 
    are just as hard to manipulate by 3th party implementations and those have no 
    idea when the properties should be removed of modified or duplicated.  But 
    your policy would make *that* a legal way of extending ODF allowing an 
    implementation to still be called 'pure' while a more readable version with 
    exactly the same bad interoperability will not be.
    
    -- 
    Thomas Zander
    


  • 21.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 17:00
    Thomas Zander 


  • 22.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 19:12
    On Thursday 12. February 2009 18:01:00 ext robert_weir@us.ibm.com wrote:
    > I'm trying to balance the various interests, that's all.  There are people
    > who want to extend ODF.  OK.  Let's define a way to do this well, but in a
    > way that extended data can be preserved during editing. 
    
    As I mentioned before, having such a way sounds good. A proposal to have this 
    kind of extention should be designed and proposed.
    
    > You won't get 
    > high value uses of extensions without that capability.
    
    I respectfully disagree.  I have given various examples where this is very 
    much useful. I have seen others give them as well and we have software that 
    does use this feature and expects throwaway roundtripping in external 
    software and accepts it.
    I respect that this is your opinion, or that of IBM. But your assessment is 
    false for other users of ODF.
    
    > But I'm not sure I hear a constituency asking specifically for an
    > extensibility mechanism that can never be better than a throw-away.
    
    I think I put up my finger various times, didn't I?
    That would make KOffice and Qt/Nokia be constituencies that I talk for which 
    think this is still a good idea to have.
    Naturally this doesn't mean I am against anything better. I just oppose the 
    removal of a useful feature without proper replacement.
    
    > And 
    > if someone did want that, it could be just as well defined using less
    > powerful extension mechanism.
    
    I have to disagree again;
    I'll take one of my previous examples. Please take a look at my example where 
    KOffice wants to know the knot-types in a draw:path element. Then please tell 
    me how I can have all path elements have an extra koffice namespaced property 
    in ODF in a 'less powerful extention mechanism' ?
    If all my draw:path elements (potentially quite a lot of them) need to have 
    this property and you want something that is editable by other apps, I'm not 
    sure what works that is not going to give us a complete mess and something 
    that is very hard to use and process by generic tools.
    
    > What am I missing here?  
    
    I think the main thing missing in our discussion is an agreement on what the 
    effect is of loosing properties.
    My point of view is that its not a problem as long at the developers know 
    about this up front.
    Your point of view seems to be that we should scrap any extentions as long as 
    there is nothing better that we could force implementations to retain.
    
    Maybe we can find a middle ground and *first* come up with an extension 
    mechanism that satisfies people with your point of view and if that proves to 
    work properly we can reopen the topic of removing the extensions capability 
    of ODF.
    -- 
    Thomas Zander
    


  • 23.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 22:33
    Thomas Zander 


  • 24.  Re: [office] The Rule of Least Power

    Posted 02-13-2009 15:08
    robert_weir@us.ibm.com wrote:
    
    > That is certainly one solution.  But I think that is unsatisfactory to 
    > application vendors who wish to extend ODF.  I can certainly imagine 
    > situations where we might want to add extensions to Lotus Symphony.  But 
    > we cannot assume a homogenous world where everyone runs only Lotus 
    > Symphony.  It would not be worth adding extensions unless we had some 
    > confidence that they would not be stripped by every other ODF application. 
    >  But the general extension mechanism doesn't provide enough information to 
    > allow even gross level preservation of extension data under common editing 
    > manipulations.
    
    Well, not all use cases deal with editing manipulation. For some of my
    customers ODF is just delivery format which can be created by quite
    complex work-flow and between steps in this work-flow additional
    information in document must be carried. It must be possible to open and
    view document at any stage. But no one is interested what will happen
    with final result in respect to embedded extension element/attributes.
    
    > This is non-optimal for the application writing the extension as well as 
    > the application processing the extended document.  The lack of a way to 
    > define safe extensions -- and I believe most are innocuous -- will stall 
    > the development and success of all extensions. 
    
    In controlled environment you can use extensions without any problems.
    And spec should provide room for such use case.
    
    > The general problem is hard, as you state.  But I think we would hit 95% 
    > of uses by having a short list of attributes like preserveOnCopy, 
    > preserveOnEdit, preserveOnMove, etc. 
    
    Those attributes seems to be oriented purely towards interaction with
    document. I think that even more important is expected behaviour when
    document with extensions is loaded/processed. ISO/IEC 29500-3 (Markup
    Compatibility and Extensibility) defines quite good mechanism for
    defining processing expectations for extension elements/attributes. It
    can be taken as a starting point and possibly extended with more precise
    controls over interactive editing tasks.
    
    -- 
    ------------------------------------------------------------------
      Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
    ------------------------------------------------------------------
           Professional XML consulting and training services
      DocBook customization, custom XSLT/XSL-FO document processing
    ------------------------------------------------------------------
     OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
    ------------------------------------------------------------------
    
    


  • 25.  Re: [office] The Rule of Least Power

    Posted 02-13-2009 15:12
    2009/2/13 Jirka Kosek 


  • 26.  Re: [office] The Rule of Least Power

    Posted 02-13-2009 15:58
    Dave Pawson 


  • 27.  Re: [office] The Rule of Least Power

    Posted 02-13-2009 16:07
    2009/2/13  


  • 28.  RE: [office] The Rule of Least Power and Legacy Obligations

    Posted 02-13-2009 19:56
    I find the HTML (excluding XHTML) approach treatment of unrecognized
    elements to be a worthy approach.  My reading of the ODF recommendation for
    processing content of an unsupported/unknown foreign element in extended
    documents is the recursive application of Rob's case (3) for flattening away
    those foreign elements.  
    
    If there are also (non-extended) conformant document cases where foreign
    elements are tolerated, I would apply the very same rule.  
    
    I think we should not grandfather any foreign elements into the stronger
    conformance level, however.  It makes no sense to me to tolerate foreign
    elements in a level being provided to satisfy those having a strongly-felt
    requirement for pure ODF documents.  [Hey, pure document conformance. I like
    it!  Not 99-44/100%, but 100% pure ODF.  Even better than strict
    conformance.  Finding the pure level of OpenFormula should be interesting
    too.  Maybe that needs its own namespace?]
    
    It would seem that, based on the discussion so far, that an appropriate step
    would be to simplify the unsupported/unknown foreign element to this case
    everywhere.  In the case where the resulting ODF-defined containing element
    has no provision for simple content, any resulting simple content in the
    flattening should also be ignored (collapsed to white space).
    
    This seems simpler than the proposed modification to provide different
    flattening/elimination guidance for different parts of the specification.
    
    It also strikes me, with the amount of back-and-forth here, that a cleaner
    way to deal with this is to 
    
    (1) Provide guidance on foreign namespace usage in 


  • 29.  RE: [office] The Rule of Least Power

    Posted 02-13-2009 21:50
    Every time I see discussions like this one I remember the good and old 
    KISS methodology.
    
    It is clear to me that we have, at least, two different user cases here, 
    and we are trying to discuss them as if they are the same one.
    
    They are:
    
    1. Users that need to have the ability to exchange their office suite 
    (or application) as they change they socks. They also need to get 
    assured that anyone who need to exchange documents with them will be 
    able to use any office suite too, without missing anything (features or 
    data or even formating properties). For those users (typically 
    governments), a "strict conformance" class is absolutely necessary (and 
    I have several real world histories and use cases in Brazil to 
    illustrate this scenario...).
    
    2. Users that may have the opportunity to define (or develop) a specific 
    office suite (or office application) tho their use, that will accept and 
    treat some additional data inside their ODF documents, that are useful 
    on their corporate environment (and may or not, be useful to others). 
    Those users can easily define that Jomar's Office is the best 
    application to their own needs and define that they'll only use that 
    application (despite if it generate "strict" or "extended" ODF documents).
    
    I don't think that with two conformance classes we'll be creating a 
    "first" and a "second" class of documents. ODF users have different 
    needs and they will "choose" the best conformance to their needs, not 
    us. (I live in Brazil and it may not be the best place to live to a user 
    that requires "high tech products at low price", but it is a paradise 
    for a user that have as a requirement "great beaches and cold caipirinha 
    !!!").
    
    Best,
    
    Jomar
    


  • 30.  RE: [office] The Rule of Least Power

    Posted 02-15-2009 22:49
    Jomar Silva 


  • 31.  Re: [office] The Rule of Least Power

    Posted 02-16-2009 06:10
    2009/2/15  


  • 32.  Re: [office] The Rule of Least Power

    Posted 02-16-2009 15:48
    On Friday 13. February 2009 22:58:46 ext Jomar Silva wrote:
    > Every time I see discussions like this one I remember the good and old
    > KISS methodology.
    >
    > It is clear to me that we have, at least, two different user cases here,
    > and we are trying to discuss them as if they are the same one.
    >
    > They are:
    >
    > 1. Users that need to have the ability to exchange their office suite
    > (or application) as they change they socks. They also need to get
    > assured that anyone who need to exchange documents with them will be
    > able to use any office suite too, without missing anything (features or
    > data or even formating properties). For those users (typically
    > governments), a "strict conformance" class is absolutely necessary (and
    > I have several real world histories and use cases in Brazil to
    > illustrate this scenario...).
    >
    > 2. Users that may have the opportunity to define (or develop) a specific
    > office suite (or office application) tho their use, that will accept and
    > treat some additional data inside their ODF documents, that are useful
    > on their corporate environment (and may or not, be useful to others).
    > Those users can easily define that Jomar's Office is the best
    > application to their own needs and define that they'll only use that
    > application (despite if it generate "strict" or "extended" ODF documents).
    
    I think this looks good at first, but thinking a bit more about it, I get the 
    strong impression its a bit too simplistic. Too much black/white.
    Lets use the usecase of koffice:nodeTypes again, which is an attribute saved 
    in a path.
    The property is saved to allow the user to edit the path and the path will 
    remember the type of node. If you ever edited a vector path you know that it 
    is build up from 'nodes' that have one or more control points. The way you 
    interact with this depends on the node-type.
    
    The suggestion to make koffice save 'strict conforming' data then basically 
    means that you will always loose the information of which type of control you 
    are editing. Making re-editing rather annoying, but not much more.
    
    Therefor I think having this information saved even in an 'strict conformance' 
    mode does not harm anyone and only helps the user not loose part of his work, 
    which is really critical for using ODF as a native format for professional 
    vector editors.
    
    In conclusion this one example falls between the two usecases.  No government 
    will care at all that this extension is there and forcing KOffice to not save 
    it will just harm the user that uses the same app for re-editing.
    
    In fact, I want to go back to the origin of the reason for asking for usecase 
    (1) in the first place.
    I'm curious if others can come up with an example where an implementation 
    extending ODF using namespaces is willingly hurting ODF and thus something we 
    need to enhance the spec to protect against, as this proposal does.
    
    The more I read this thread and ask questions, the more I get the impression 
    that the only reason this proposal is made is out of unfounded fear.
    
    In reality applications will be chosen based on which subset of the features 
    of ODF they support, both loading+displaying and saving them.
    So I fear that those governments that were told they need a 'strict 
    compliance' tool have been misguided.  Using the ODF-Testsuite we would get 
    *much* more realistic results that show the compliance of the implementation.
    -- 
    Thomas Zander
    


  • 33.  Re: [office] The Rule of Least Power

    Posted 02-16-2009 17:18
    2009/2/16 Thomas Zander 


  • 34.  Re: [office] The Rule of Least Power

    Posted 02-17-2009 14:18
    On Monday 16. February 2009 18:17:28 ext Dave Pawson wrote:
    > > Therefor I think having this information saved even in an 'strict
    > > conformance' mode does not harm anyone and only helps the user not loose
    > > part of his work, which is really critical for using ODF as a native
    > > format for professional vector editors.
    >
    > So make one exception? Not reasonable for any app that doesn't use this
    > data? If the data is that critical it should be part of the document, not
    > an extension.
    
    I never said I don't want it in the ODF spec, it just is a fact that it is not 
    in the spec and I the implementation still needs to store this data 
    somewhere.
    
    With ODF1.2 having been feature frozen for a year or so, that there is 
    something KOffice wants to store but is not in the spec is not all that 
    surprising and IMO this will always be the case as we don't want to add every 
    silly thing into the spec.
    
    > > In conclusion this one example falls between the two usecases.  No
    > > government will care at all that this extension is there and forcing
    > > KOffice to not save it will just harm the user that uses the same app for
    > > re-editing.
    >
    > What makes this one use case for one application so special?
    
    I don't understand the question; I never claimed it is "special"...
    
    > > The more I read this thread and ask questions, the more I get the
    > > impression that the only reason this proposal is made is out of unfounded
    > > fear.
    >
    > No, just conformance to a 'standard'. Not a standard with a couple
    > of extensions just for application X
    
    You missed my point; the point is that nobody here has been able to claim why 
    its an issue at all that implementation-x saves some properties only 
    implementation-x is concerned with and implemention-y will have zero problems 
    with.
    The bottom line here is that somehow people seem to conclude that having 
    non-defined information to store in the file is a fitting way to determine 
    non-conformance. While completely ignoring the much harder to-check problem 
    of verifying that implementations actually honoring the odf-specified 
    properties.
    
    
    > > In reality applications will be chosen based on which subset of the
    > > features of ODF they support, both loading+displaying and saving them.
    >
    > If your app saves the extension data and it's re-opened in the same app,
    > then nothing is lost. Only if it goes via a  couple of other ODF
    > processors.  That's the price of standardization.
    
    Thats what I was saying in my mail as well, and this is fine. The fact that 
    extra-information is lost is not an issue for us and certainly not a reason 
    to change the ODF specification.
    -- 
    Thomas Zander
    


  • 35.  RE: [office] The Rule of Least Power

    Posted 02-17-2009 16:40
    +1 
    
    


  • 36.  Re: [office] The Rule of Least Power

    Posted 02-18-2009 11:07
    2009/2/17 Thomas Zander 


  • 37.  Re: [office] The Rule of Least Power

    Posted 02-18-2009 14:55
    Dave Pawson 


  • 38.  Re: [office] The Rule of Least Power

    Posted 02-18-2009 17:00
    On Wednesday 18. February 2009 12:06:44 ext Dave Pawson wrote:
    > In which case I mis-interpreted your first mail, I took it to mean
    > you wanted *all* ODF apps to save your extension data.
    
    Indeed, misinterpretation. Thanks for pointing out the confusion here. I 
    assume that the other points in your email are all cleared up with this out 
    of the way?
    -- 
    Thomas Zander
    


  • 39.  Re: [office] The Rule of Least Power

    Posted 02-18-2009 17:36
    2009/2/18 Thomas Zander 


  • 40.  Re: [office] The Rule of Least Power

    Posted 02-18-2009 19:47
    On Wednesday 18. February 2009 18:36:11 you wrote:
    > 2009/2/18 Thomas Zander 


  • 41.  Re: [office] The Rule of Least Power

    Posted 02-16-2009 21:52
    Thomas
    
    2009/2/16 Thomas Zander 


  • 42.  Re: [office] The Rule of Least Power and Legacy Obligations

    Posted 02-14-2009 08:17
    Your proposal isn't consistent Dennis.
    
    2009/2/13 Dennis E. Hamilton 


  • 43.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 16:13
    On Thursday 12. February 2009 15:58:26 ext Jirka Kosek wrote:
    > robert_weir@us.ibm.com wrote:
    > > However, I could give you equally plausible extension attributes which
    > > would require entirely different processing, and in fact would lead to
    > > horribly corrupted documents if the same processing rules were
    > > indiscriminately applied.
    >
    > Indeed. But even if ODF will use the simplest policy that application
    > should strip unknown extension elements/attributes this problem will be
    > eliminated.
    
    I agree. The norm should be to remove XML that is not part of ODF and which 
    the app can't handle. I think this is what the current spec says.
    
    This removal is expected by an ODF implementation that saves those properties. 
    So arguing it is a bad thing that we loose it is more like arguing the 
    app-developers choose the wrong extention concept.
    
    -- 
    Thomas Zander
    


  • 44.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 10:21
    On Wednesday 11. February 2009 21:38:45 ext robert_weir@us.ibm.com wrote:
    > It is paradoxical, but the "most powerful" extensibility mechanism is not
    > always the best.  
    
    As a programmer I don't think this is paradoxical; the rule of most powerful 
    is not one looks at when choosing a language.
    In programming you find a language based on various criteria and powerful is 
    not nearly the most important one.
    A friend of mine made the observation that perl is a write only language. 
    Readability is near zero. I can see his point as perl programs may be quite 
    obfuscated.  Criteria like readability, portability (runs everywhere) etc are 
    more important in most cases.
    
    > Certainly arbitrary memory pointers in C are more 
    > powerful than object references in Java.  But this is a hindrance and a
    > liability unless you need that particular power in pointers
    
    The liability comes from the fact that it becomes harder to read. Which means 
    harder to debug and thus you make more mistakes.
    I can totally follow your programming argument, I'm just not sure how well 
    this maps to ODF. The proposal of using some sort of extention concept 
    instead of the xml-native concept of namespaces makes things harder to write, 
    maintain and read. Which means that in my mind its more complex to have 
    extentions and the resulting costs are high in implementations.
    And not extending the xml way also make ODF less powerful; so its a loss on 
    all fronts.
    
    > , i.e., in the 
    > DOS days when we could write directly to video RAM at a fixed address.
    > Bringing out the nuclear death ray gun every time you want to swat a fly
    > will eventually get you in trouble.
    
    The big difference between your line of thought in C and DOS is that XML has 
    been designed with extensibility in mind.  The concept is a first class 
    citizen. And your proposal is an attempt to remove that concept based on the 
    reasoning that its too powerful and thus too complex to wield. But this 
    reasoning valid in C and DOS just doesn't apply to XML.
    
    Thefore your line of reasoning and your usage of "nuclear death ray gun" is 
    confusing the issues and distracting from the fact that your proposal tries 
    to remove from ODF-XML its native feature of extensibility.
    
    I've asked in another mail for your reason to drive this proposal. Please give 
    a usecase where the current ODF conformity clause will give us headaces. I 
    don't see them and I will never be convinced to take away useful and good 
    features unless I see a good reason where it ends up hurting more.
    -- 
    Thomas Zander
    


  • 45.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 10:48
    Thomas Zander 


  • 46.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 11:52
    On Thursday 12. February 2009 11:49:33 ext robert_weir@us.ibm.com wrote:
    > > I've asked in another mail for your reason to drive this proposal.
    > > Please give
    > > a usecase where the current ODF conformity clause will give us headaces.
    >
    > > I don't see them and I will never be convinced to take away useful and
    > > good features unless I see a good reason where it ends up hurting more.
    >
    > Sorry, we must have missed each other's messages in the traffic.  I
    > addressed the specific kinds of problems caused by the general mechanism
    > in this note:
    >
    > http://lists.oasis-open.org/archives/office/200902/msg00070.html
    
    That mail just posts some anonymous element; thats not a usecase.
    I can't even argue that the "foo:bar" is or is not a loss if an implementation 
    ignores it since you don't give a realistic usecase to argue from.
    
    > Now, you might very well say, "But here are N specific examples where this
    > is not a problem".  But that proves my point.
    
    I'd rather call a real usecase where things go really wrong 'proof' ;)
    
    > If those N specific 
    > examples can be written using a more targeted extension mechanism, then we
    > can get the benefits without the liabilities.
    
    Hmm, there is an assumption in there where we can properly create an extension 
    mechanism for all usecases.
    I notice that in the linked mail you were under the impression that nobody 
    uses this feature in the first place. Which turns out to be a 
    misunderstanding, KOffice has used it for years.
    
    I have given 4 examples where we currently use namespaced extensions in my 
    mail 2 days ago.  One is legal, one *may* be made into an extention if we see 
    an advantage to that, and two proper and current usecases are not even 
    addressed. Meaning that if we forbid their usage KOffice might have to look 
    at not using pure ODF as its native fileformat. That can't be the intention.
    
    Can I ask you to reconsider your proposal based on the new information that we 
    use extentions using namespaces in more than one implementation (I named 3) 
    already and in a variety of places in the XML tree which defies a clean 
    extention mechanism ?
    
    Thanks.
    -- 
    Thomas Zander
    


  • 47.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 13:22
    Thomas Zander 


  • 48.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 14:25
    On Thursday 12. February 2009 13:53:02 ext robert_weir@us.ibm.com wrote:
    > > That mail just posts some anonymous element; thats not a usecase.
    > > I can't even argue that the "foo:bar" is or is not a loss if an
    > > implementation
    > > ignores it since you don't give a realistic usecase to argue from.
    >
    > But that's the important point.  From the perspective of an general ODF
    > consumer, say a word processor, these private extensions are opaque,
    > without any discernible semantics, just like foo:bar.
    
    yes, thats the point of adding data that is not in the ODF spec. Its private 
    data required by the implementation to not loose information.
    
    Can you give me any usecase where any type of extention would be useful to any 
    implementation that is not the one that wrote it?
    Or, in other words; what advantage does it give us to move this private data 
    to pre-defined extention positions?
    
    Do note that we already *have* pre-defined extension positions, specifically 
    metadata. So this is not about adding some metadata that I'd like to survive 
    a simple load/save by a random ODF implementation. Thats a solved problem.
    
    > > I'd rather call a real usecase where things go really wrong 'proof' ;)
    >
    > The entire point of my criticism is that the consumer of an extended
    > document just sees arbitrary XML.  It has no knowledge of use cases, of
    > what that extension is for.  It just sees foo:bar.  It is a black box.
    
    Yes, and there is nothing you can do to open that black box. If KOffice or Qts 
    ODFWriter decides it needs to store some data to make saving loading to its 
    native format not loose info, and that information doesn't fit in any ODF 
    tag, then you get a black box.
    Thats a fact of life. Arguing thats a bad idea is equivalent to saying we need 
    to document each and every possible piece of data in the ODF specification. 
    And I think we don't want that. Do we?
    
    -- 
    Thomas Zander
    


  • 49.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 15:20
    Thomas,
    
    first of all, I would like to indicate that I support Rob's position 
    that we should provide the "least powerful" extensions in the future. I 
    have provided several examples where the advantages of this are or where 
    the difficulties of allowing arbitrary elements and attributes 
    everywhere are.
    
    Anyway, the most recent proposal for conformance clauses, which does 
    work for me as a solution for ODF 1.2, has two conformance classes, 
    where one allows foreign elements and attributes. This is named 
    "extended conformance". In so far, there is a conformance class which 
    KOffice documents meet, even if they contain extensions. The situation 
    is not really different from ODF 1.1, where we had already a strict 
    schema, and where an application could claim to conform to this strict 
    schema if and only if does not add foreign elements and attributes. The 
    only difference is that we now provide proper names for the individual 
    levels of conformance, that we do better describe them, that we have 
    removed redundancies and that we have cleaned them up a little.
    
    Something else that we should consider in this discussion is that a more 
    strict conformance of OpenDocument documents is nothing that we are 
    discussing because Rob or I do like that, but because there is a demand 
    for this from users and organization that want to adopt ODF. I'm 
    therefore very sure that if the conformance criteria  for (non-extended) 
    documents gets less strong, then we then get a demand for a stronger 
    level. Which means, regardless how we define or name the individual 
    conformance levels, there will be a level which documents that contain 
    extensions won't meet.
    
    Best regards
    
    Michael
    
    On 02/12/09 15:24, Thomas Zander wrote:
    > On Thursday 12. February 2009 13:53:02 ext robert_weir@us.ibm.com wrote:
    >>> That mail just posts some anonymous element; thats not a usecase.
    >>> I can't even argue that the "foo:bar" is or is not a loss if an
    >>> implementation
    >>> ignores it since you don't give a realistic usecase to argue from.
    >> But that's the important point.  From the perspective of an general ODF
    >> consumer, say a word processor, these private extensions are opaque,
    >> without any discernible semantics, just like foo:bar.
    > 
    > yes, thats the point of adding data that is not in the ODF spec. Its private 
    > data required by the implementation to not loose information.
    > 
    > Can you give me any usecase where any type of extention would be useful to any 
    > implementation that is not the one that wrote it?
    > Or, in other words; what advantage does it give us to move this private data 
    > to pre-defined extention positions?
    > 
    > Do note that we already *have* pre-defined extension positions, specifically 
    > metadata. So this is not about adding some metadata that I'd like to survive 
    > a simple load/save by a random ODF implementation. Thats a solved problem.
    > 
    >>> I'd rather call a real usecase where things go really wrong 'proof' ;)
    >> The entire point of my criticism is that the consumer of an extended
    >> document just sees arbitrary XML.  It has no knowledge of use cases, of
    >> what that extension is for.  It just sees foo:bar.  It is a black box.
    > 
    > Yes, and there is nothing you can do to open that black box. If KOffice or Qts 
    > ODFWriter decides it needs to store some data to make saving loading to its 
    > native format not loose info, and that information doesn't fit in any ODF 
    > tag, then you get a black box.
    > Thats a fact of life. Arguing thats a bad idea is equivalent to saying we need 
    > to document each and every possible piece of data in the ODF specification. 
    > And I think we don't want that. Do we?
    > 
    
    
    -- 
    Michael Brauer, Technical Architect Software Engineering
    StarOffice/OpenOffice.org
    Sun Microsystems GmbH             Nagelsweg 55
    D-20097 Hamburg, Germany          michael.brauer@sun.com
    http://sun.com/staroffice         +49 40 23646 500
    http://blogs.sun.com/GullFOSS
    
    Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
    	   D-85551 Kirchheim-Heimstetten
    Amtsgericht Muenchen: HRB 161028
    Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
    Vorsitzender des Aufsichtsrates: Martin Haering
    


  • 50.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 16:38
    Michael.Brauer@Sun.COM wrote on 02/12/2009 10:19:57 AM:
    
    
    > Something else that we should consider in this discussion is that a more 
    
    > strict conformance of OpenDocument documents is nothing that we are 
    > discussing because Rob or I do like that, but because there is a demand 
    > for this from users and organization that want to adopt ODF. I'm 
    > therefore very sure that if the conformance criteria  for (non-extended) 
    
    > documents gets less strong, then we then get a demand for a stronger 
    > level. Which means, regardless how we define or name the individual 
    > conformance levels, there will be a level which documents that contain 
    > extensions won't meet.
    > 
    
    That's a good point.  There are a variety of extension models possible. We 
    obviously shouldn't be doing all of these, but I am hearing interest in 
    each of the following:
    
    1) Specific-use mechanisms as in ODF 1.0/1.1, such as 


  • 51.  Re: [office] The Rule of Least Power

    Posted 02-12-2009 16:38
    Thomas Zander 


  • 52.  RE: [office] Re: ODF Conformance

    Posted 02-11-2009 20:37
    Hi Doug,
    
    I don't want to leave this offer unacknowledged.  I think this is worth 
    doing, along the lines of the "least power" thought I sent earlier. 
    customXML is a targeted approach, and that is better, IMHO, than bringing 
    out the more powerful nuclear death ray every time.
    
    As mentioned before, I'd like to get a better sense of what extensibility 
    features vendors really need, and in what specific areas, and see if some 
    combination of targeted mechanisms will handle them. 
    
    My understanding is that customXML is not so much for vendor application 
    extensions, but for end-user or 3rd party extensions, to align with 
    in-house or vertical industry XML vocabularies.  Is that a fair 
    representation?  That's fine too. In any case, before the TC can get far 
    with customXML, you'll need to see what approvals you need from your guys 
    before you can contribute the relevant pages of the OOXML standard to the 
    ODF TC.  I think we would need a formal contribution to satisfy the OASIS 
    IPR rules.
    
    I really don't want to delay ODF 1.2, since I am already being accused of 
    running a "death march", but if enough members feel strongly about this, 
    we do have options:
    
    1) Insert some additional normative language about extensibility 
    mechanisms, included some targeted approaches into ODF 1.2.  Maybe if we 
    get the main uses cases covered by targeted approaches we can remove or at 
    least deprecate the "nuclear death ray gun" mechanism?
    
    2) Or, we could add a non-normative appendix on extensibility in ODF 1.2, 
    outlining the various existing mechanisms and suggesting best practices. 
    This could also be done in a separate document along the lines of what we 
    did with the Accessibility Guidelines.
    
    3) We could, if there was strong interest, strip out all of the 
    extensibility mechanisms in Part 1 of ODF 1.2 and put them into a new Part 
    4, to follow the other 3 parts, giving us more time and room to work out a 
    more comprehensive solution.
    
    4) Kick the can down the road and deal with this all in ODF 1.3 or ODF 
    2.0.
    
    -Rob
    
    Doug Mahugh 


  • 53.  Re: [office] Re: ODF Conformance

    Posted 02-10-2009 09:46
    Hi Rob,
    
    On Monday 9. February 2009 19:58:04 ext robert_weir@us.ibm.com wrote:
    > So, I think the draw:engine case would be conformant.  The music:shape one
    > would conform to the "extended" conformance class, but would not conform
    > to the default conformance class.  That's how I read the proposal.
    
    Where with the current proposal an implementation with the 'extended 
    conformance' would still be able to call itself ODF compliant, I assume?
    
    > The intent is to get away from open-ended extension mechanisms and replace
    > them with more targeted ones that better express the intent.  For example,
    > we could define a shape extension mechanism, or a schema that generally
    > specifies an alternative XML encoding  of the same content (MusicML versus
    > SVG).  
    
    We (ODF) have a shape-extension mechanism; namespaces work just fine as 
    implementations that don't understand it will ignore it. AFAICT technically 
    its just a problem for the validation tool; which means we should probably 
    extent the tool to have the features we need :)
    
    > But without such a mechanism, an app has no idea whether the 
    > foreign element is a script that should be removed for security reasons,
    > something that has accessibility consequences, something that must be
    > translated when the document is translated, or whether it contains
    > personal metadata that should be removed when anonymizing the document.
    
    Yes, I agree.
    You say that like thats a problem. Why?
    The fear of extending ODF with closed tags is immensely mediated by the clause 
    that the implementation should use existing ODF tags whenever possible.
    ODF is pretty far reaching already, so I would argue, interoperability wise 
    the odf-implementation should be allowed to add features specific to their 
    implementation.
    
    KOffice adds a koffice:nodeTypes attribute to its draw:path element because 
    that makes editing the individual path-knots more user friendly. You seem to 
    argue that this is a bad thing for ODF interop (because koffice would loose 
    its status as a pure-odf-writer), why?
    
    I have spent a lot of time reading these threads and maybe I'm missing it, but 
    I have not yet seen an example of why we ended up getting a proposal for 
    change. What evil usecase did you have in mind? ;)
    I'm interrested in your usecase so we can determine if we want to remove 
    perfectly plausible and previously correct usecases already in wide use.
    
    > So I guess my questions are:
    >
    > 1) Is it worth having a better engineered extension mechanism that allows
    > the same capabilities as ODF 1.0, but structured in a way that avoids the
    > liabilities?
    > 2) If so, how long are we willing to wait for it to be designed and
    > specified?  I think it would probably take a 4-6 weeks.  We could likely
    > get back to a single conformance level if we had a better designed
    > extension mechanism.
    >
    > I have nothing against extensions per-se.  I just want to ensure that they
    > are done in a way which will scale with broader ODF adoption and not
    > create problems that we'll never be able to solve.  This is one of those
    > things we need to get right.
    
    Right, we need to conform to the OASIS conformance rules. I see that point.
    I'm still not convinced that your proposal is a good solution to the question, 
    it certainly hurts perfectly plausible usecases for KOffice and Qt/Nokia 
    directly. And adding shape-extentions is just addressing one of those 
    usecases I brought up in my email.
    
    And as I don't just want to put up my hands with "I object" but also want to 
    add something that is constructive; what about these points;
    
    I have been talking to an interrested party that want to have a service where 
    you can upload an ODF and let it be rendered in all available ODF 
    implementations to view interoperability issues. Much like we have for HTML 
    on several 3th party sites.
    
    Next to that, if we come up with a set of acid tests that cover ODF, then this 
    is something that would help a lot too for letting implementations strive for 
    proper rendering. In contrary to html-acid tests, we can additionally test 
    the writing of the acid tests to result in not loosing data or similar 
    issues. All easy to automate.
    
    And, lastly, here is a point of view that I have had since Marbux suggested 
    the same amendment that we have here now. We see a very lively market growing 
    for ODF readers/writers. The market is most probably capable of using a 
    testsuite and is able to read our open spec to determine which app has a good 
    ODF implementation and which one has a buggy one. Is there a reason to 
    believe that the market is incapable of regulating itself?
    
    Or, in other words; let the market work its way a little while longer before 
    trying to regulate it, please.
    -- 
    Thomas Zander
    


  • 54.  RE: [office] Re: ODF Conformance

    Posted 02-09-2009 20:34
    Very nice!
    
    I particularly appreciate that your foreign attribute values use the QName
    prefix technique (assuming you have an xmlns:koffice=... somewhere) to
    differentiate your special values.  We should probably do more of that and
    maybe define it as part of the foreign attribute value provision, at least
    in a technical note on how to play nice at the extension level.
    
    We see something similar in HTML work where the xhtml:rel attribute has a
    number of fixed values but anyone can use a URI instead.  For RDFa, the URI
    may enter via a CURIE, but that's not needed here.  So long as there is no
    conflict with conformant values that look like QNames, everything should be
    fine.  All we have to do is not define standard values that have ":" in
    their expression.
    
    Seems like nice work to me.
    
     - Dennis