Warning:
This wiki has been archived and is now read-only.
ProposedElements/ModificationMarkup
Modification Markup
Contents
Investigating INS and DEL (and perhaps MOD)
1. what are the specific use cases for INS DEL and MOD
- to mark modified text
- to present deleted and inserted text in context
- to enable a user to parse that which has been deleted and that which has been inserted or modified
2. is a single element the best solution, or should there exist specific elements for insertion, deletion, and modification?
- pro: simplicity
- con: potential for abuse of attributes, unless strictly limited to the modification elements (
INS,DEL, andMOD- Christophe Strobbe (K.U.Leuven - Research Group on Document Architectures) commented:
I can't think of modifications that can't be handled with combinations of
INSandDEL. Even changes in formatting can be handled withINSandDEL, even though a single element,MOD, may be more elegant.
- Christophe Strobbe (K.U.Leuven - Research Group on Document Architectures) commented:
3. why stick with just INS and DEL?
- Pro: This is the status quo and people are familiar with it.
-
INSandDELare familiar to users who use change tracking in word processors like MS Word and OpenOffice.org Writer
-
- Con: may not satisfy all use cases; both block and inline elements (flow elements)
4. why elements rather than attributes?
- potential for abuse by authors attaching modification attributes to generic elements such as
SPANorDIV- Roland:
might want both ways to do this; just add attribute to structural elements
- Roland:
- Roland's straw-man example:
@diff, with values ofadd,chg,del
5. are there any unsatisfied use cases or requirements for modification markup?
- a mechanism to define that an insertion and a deletion belong together. For example, if you move a paragraph to another location in the document or if you replace a paragraph with other text in another location that is not obvious to the reader, it may be useful to be able to state that e.g. paragraph x (say, in chapter 2) has been replaced by paragraph y (say, in chapter 3).
- there is a wai-xtech thread which illustrates the need for a means of binding insertions and deletions
- it has been proposed that
INSandDELbe bound by thefor/idmechanism
- it has been proposed that
- there is a wai-xtech thread which illustrates the need for a means of binding insertions and deletions
6. where should INS and DEL be specified?
7. what is the nature of modification elements?
- currently
INSandDELare defined as "flow" elements, which can be used either inline or as a block-level element;
8. how granular should the modification elements be?
- is
d<DEL>i</DEL><INS>o</INS>glegal?- answer: NO. The modification elements must span at least a word, and should not be used inside of a word to denote a change in spelling or case or tense;
- is
<DEL id="blah1">dig</DEL> <INS for="blah1">dog</INS>best practice, or isd<DEL id="blah1">i</DEL><INS for="blah1">o</INS>gpermissible, and is it any of our business? - should
<MOD src="http://www.foo.bar/document.html#p3s4">dog</MOD>be allowed? note that in this example, the globalsrcattribute is used to point to the word which has been modified in the current version of the document; thesrcattribute is used to point directly to that which was modified;- use of
MODcould be limited to use as an inline element- this might necessitate an attribute to state how modified, unless we use RDFa for this purpose;
- Tina:
MOD gets complicated - this is added this is deleted;
MODneeds 2 sets of data -- what was, and what is; if can do with RDFa, fine, but don't think need that much complexity
- Tina:
- this might necessitate an attribute to state how modified, unless we use RDFa for this purpose;
- use of
Attributes Necessary for Modification Element(s)
- a means of marking editorial changes;
- a means of classifying an editorial change;
- a means of conveying when and by whom the change was affected;
- a means of binding an insertion with a deletion
Question 1: should the above-listed attributes be handled using [ RDFa], rather than element-specific attributes?
Question 2: what should be the mechanism used to add context and history to an INS or DEL element by using @src to link directly to the text that has been modified?
Question 3: would MOD with @src be handled differently than @src on other elements? should @href be used instead?