[tei-council] att.typed and syntactic sugar
mholmes at uvic.ca
Wed Nov 30 18:58:37 EST 2011
Yes, of course you're right. <persName> is syntactic
sugar for<name type="person">, just as <orgName> is syntactic sugar for
<name type="org"> and so on.
Got myself really confused there.
On 11-11-30 03:55 PM, James Cummings wrote:
> I think you mean persName not person. ;-)
> James Cummings, InfoDev, OUCS, University of Oxford (via phone)
> Martin Holmes<mholmes at uvic.ca> wrote:
> Hi Kevin,
> I think the basis of the confusion is in your sentence:
> "Alternatively, use the attribute to create syntactic sugar for another
> TEI element."
> Actually, it's the other way round, isn't it?<person> is syntactic
> sugar for<name type="person">, not the reverse. You don't use the @type
> attribute to create syntactic sugar for an element; you could devolve
> the syntactic sugar (if you see what I mean) by converting<person> to
> <name type="person">.
> This is based on my assumption that "syntactic sugaring" goes in only
> one direction:<name type="person"> is the simpler form (requiring a
> smaller schema with fewer elements and attributes), while<person> is
> the sugared form (a bit less verbose, so "sweeter" to use, but requiring
> a larger schema with an extra element).
> On 11-11-30 03:02 PM, Kevin Hawkins wrote:
>> The December 2 deadline for implementing tickets so that Sebastian can
>> produce a release this month is rapidly approaching, but I'm still not
>> sure how to complete this ticket. Should this be postponed for further
>> discussion during the next Council meeting?
>> On 11/26/2011 9:02 PM, Kevin Hawkins wrote:
>>> I was trying to implement:
>>> but realized I don't quite understand what we had in mind for our advice
>>> on syntactic sugar. I've added a comment with my question. Could anyone
>>> who understands this weigh in? Thanks,
> Martin Holmes
> University of Victoria Humanities Computing and Media Centre
> (mholmes at uvic.ca)
> tei-council mailing list
> tei-council at lists.village.Virginia.EDU
> PLEASE NOTE: postings to this list are publicly archived
University of Victoria Humanities Computing and Media Centre
(mholmes at uvic.ca)
More information about the tei-council