Next in thread → Next in month →

Re: [xml-dev] What is the meaning of the first child element for an element that is repeatable?

From
Tony Graham <>
To
Date
2020-10-27T15:05:35Z
ID
<>
Thread
Re: [xml-dev] What is the meaning of the first child element for an element that is repeatable?
On 27/10/2020 14:24, Peter Flynn wrote:
> On 27/10/2020 09:45, Tomos Hillman wrote:
> [...]
>> Yes, there may be a risk.  The risk is that a schema doesn't 
>> incorporate business rules, nor does it document semantic meaning.
> 
> At best, it can only imply or hint, although that can sometimes be all 
> that is needed. In the publishing field there are many vocabularies with 
> element types such as
> 
> <title>
> <main-title>
> <subtitle>
> <full-title>
> <draft-title>
> <called-title>
> etc
> 
> Equally, there can just be <title> with attributes, and external 
> documentation (think TEI) that explains in the finest possible detail 
> EXACTLY how you construct the metadata from sources with multiple ways 
> of expressing their title, including no title at all.

And then there's the best laid plans of mice and men...

The TEI for 'Moby-Dick' [1] from the 'Wright American Fiction' project
encodes a chapter opening like this:

    <div type="chapter">
       <head>CHAPTER I.</head>
       <head type="sub">LOOMINGS.</head>
       <p>Call me Ishmael...

Yes, 'CHAPTER I.' comes before and is larger than 'LOOMINGS' in the
printed book [2], but if the TEI documentation explains in the finest
possible detail how to deal with chapter numbers, someone didn't read
it.

Regards,


Tony Graham.
-- 
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland


[1] http://purl.dlib.indiana.edu/iudl/wright/VAC7237
[2] http://fedora.dlib.indiana.edu/fedora/get/iudl:1486170/LARGE
Next in thread → Next in month →