[tei-council] more on facsimile

Sebastian Rahtz sebastian.rahtz at oucs.ox.ac.uk
Mon Aug 27 10:03:12 EDT 2007


in Lou's current draft, we have, eg

<surface xml:id="B49r" box="0 0 200 300">
  <graphic url="Boulles-49r.png"/>
  <zone xml:id="B49rHead" box="25 25 180 60"/>

In this, I find the use of @box on both <surface>
and <zone> confusing. One establishes the limits of a grid, the
other specifies an area within that grid. The description
of @box covers the latter case:
 "identifies a rectangular area or bounding box by specifying
four numbers, which give the x,y co-ordinates of the box's upper left
corner, followed by the x,y co-ordinates of its lower right
corner."

The @box on <surface> should really be <surface x="200" y="300">,
I suggest. Then you can add @width and @height to specify the absolute
size of the original if desired (though then the semantics differs
from @width and @height on <graphic>).

In fact, I think I'd go further and drop @box in favour of
@llx, @lly, @urx and @ury. Better syntax checking. Use
the power of XML.

-- 
Sebastian Rahtz      

Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431




More information about the tei-council mailing list