OMDoc / OMDoc

Open Mathematical Documents
6 stars 0 forks source link

pragmatic→strict mapping for metadata #267

Open jbs1 opened 8 years ago

jbs1 commented 8 years ago

migrated from Trac, where originally posted by clange on 18-Jun-2009 10:37pm

Do we hard-code a pragmatic→strict mapping exactly for the DC and CC metadata vocabularies that existed in OMDoc 1.2, or do we allow a pragmatic syntax in general? E.g. that

<nsprefix:propertyname>value</nsprefix:propertyname>

would map to

<meta property="nsprefix:propertyname">value</meta>

? Can this hold generally, or should it only hold when nothing else is specified?

(Note that <link rel="nsprefix:propertyname" href="..."/> doesn't make much sense in general, as we can't generally know whether a certain property is URI-valued.)

See also #1435

jbs1 commented 8 years ago

migrated from Trac, where originally posted by clange on 17-Aug-2009 3:21pm

The OMDoc 1.3 answer (given #1552) is: hard-code it (but just in natural language in the spec) for those DC and CC elements of OMDoc 1.2, where this is straightforward; leave tricky cases and possibly a more general and more formal mapping to OMDoc 1.6.