ITS metatdata for processing

Hi all,

I had an action item to post some example for the "basic" vs "more complete" conformance indicator. (link to the issue 2621:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2621). Here it is:

The example below shows a DocBook document using the ITS namespace with only in-situ information. The attribute
its:markupType="basic-only" is the potential additional attribute that would indicate to the ITS processors that the document is
defined in such a way and can be processed by both "basic" and "normal" processors.

It would be an error to have any dislocated ITS information (i.e. <its:rules>) [and any scope attributes if we say the basic
conformance does not require the use of scope attributes] in the document. ITS basic processors would ignore them, ITS normal
processor would generate a warning in such case.

An attribute its:markupType="normal" (or its absence at the root elemen) for example, could indicate that both in-situ and
dislocated ITS information are allowed (nor necessarily present) and processors conforming only to the basic process would generate
an error if it does not find its:markupType="in-situ-only".

The name "markupType" is obviously just an example: processType, etc. may be better name depending on what exactly they covert and
how we would link all this to conformance.

<article xmlns="http://docbook.org/ns/docbook"
 xmlns:its="http://www.w3.org/2005/11/its"
 its:markupType="in-situ-only" its:translate="yes">
 <articleinfo>
  <title>An example article</title>
  <author>
   <firstname its:translate="no">Your first name</firstname>
   <surname its:translate="no">Your surname</surname>
   <affiliation its:translate="no">
    <address><email>foo@example.com</email></address>
   </affiliation>
  </author>
  <copyright its:translate="no">
   <year>2000</year>
   <holder>Copyright string here</holder>
  </copyright>
  <abstract>
   <para>If your article has an abstract then it should go here.</para>
  </abstract>
 </articleinfo>
 <sect1>
  <title>My first section</title>
  <para>This is the first section in my article.</para>
  <sect2>
   <title>My first sub-section</title>
   <para>This is the first sub-section in my article.</para>
  </sect2>    
 </sect1>
</article>

Cheers,
-yves

Received on Wednesday, 11 January 2006 20:58:09 UTC