[tei-council] invalid examples allowed in Guidelines?

Sebastian Rahtz sebastian.rahtz at oucs.ox.ac.uk
Mon Jan 10 06:43:44 EST 2011


On 10 Jan 2011, at 11:28, Laurent Romary wrote:
> This leads me to identify two aspects:
> - indicating that one should or should not try to validate an example.  
> Mimicking the its:translate attribute (cf. http://www.w3.org/TR/its/),  
> we could think of something like validate="yes" (resp. "no") when we  
> want to indicate that an example is to be validated by whatever  
> processor

unfortunately, I cannot see any way using NVDL to implement such
an idea. 

P5 implements its example parsing by using an NVLD script which 
says that islands in the namespace http://www.tei-c.org/ns/Examples
should be validated against p5odds-examples.rng - the mapping
from namespace to schema is managed externally.

We could implement support for a namespace
http://www.tei-c.org/ns/ExamplesUnparsed, I suppose.
But is it worth the trouble? does anyone want to do it?

Personally, I think we should fix as many of these as we
can to make sure they _are_ valid. There are not many
occasions when the invalidity is justified. eg I showed one
to Lou yesterday which had
  <list>
    <head>…</head>
  </list>
and is thus invalid 'cos at least one item is needed. In that
case it seems obvious to me that we should add one
item and  a comment saying "and more…" or whatever.
Otherwise a reader may genuinely think this is legal.
--
Sebastian Rahtz      
 Information and Support Group Manager
Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

Sólo le pido a Dios
que el futuro no me sea indiferente



More information about the tei-council mailing list