OASIS Open Document Format for Office Applications (OpenDocument) TC

 View Only
  • 1.  Fieldmarks: Nesting?

    Posted 05-06-2008 14:28
    Florian,
    
    A couple of questions before commenting on the fieldmark proposal:
    
    > Fieldmarks are very similar to bookmarks, except that they need to be 
    > properly nested. This is achieved by the fact, that a 
    > field:fieldmark-end does not have a “name” attribute, but instead 
    > closes the last opened field:fieldmark-start element. The 
    > field:fieldmark element is short form of field:fieldmark-start and 
    > field:fieldmark-end. It SHOULD preferably be written instead of 
    > start-/end marks.
    OK, on one hand you say that Fieldmarks should be properly nested and 
    use the rule that is typical of XML, the first end element closes the 
    nearest open element.
    
    But, then you say it should be written as an empty element,