<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<?xml-stylesheet type='text/xsl' href='/style/atom-comments.xsl'?>
<feed xmlns='http://www.w3.org/2005/Atom'>
<title>norman.walsh.name: Comments on /2004/09/16/annotationMarkup</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/09/16/annotationMarkup'/>
<id>http://norman.walsh.name/2004/09/16/annotationMarkup/comments.atom</id>
<updated>2004-09-18T01:02:25Z</updated>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 1 on /2004/09/16/annotationMarkup</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/09/16/annotationMarkup#comment0001'/>
<id>http://norman.walsh.name/2004/09/16/annotationMarkup#comment0001</id>
<published>2004-09-16T18:48:34Z</published>
<updated>2004-09-16T18:48:34Z</updated>
<author>
  <name>Dave Pawson</name>
  <foaf:mbox_sha1sum>b46b0bd3946a0e2c96f45361a4be380edcd98ed6</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I like the idea of a single element, with or without structural
content. Rationale, its simpler. Structure is only needed on occasion.
Then I could go on at great length explaining (for instance)
some geekish phrase/word, with a structured explanation, or
simply expand on an acronym to its full meaning. <br clear="none"></br>

I'm not altogether happy about the markup being 'within' the
item being discussed, but can't put forward any rational explanation,
so I'll see how it pans out. Could be that I'm too used to seeing
markup around the content being marked up?</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 2 on /2004/09/16/annotationMarkup</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/09/16/annotationMarkup#comment0002'/>
<id>http://norman.walsh.name/2004/09/16/annotationMarkup#comment0002</id>
<published>2004-09-17T11:44:19Z</published>
<updated>2004-09-17T11:44:19Z</updated>
<author>
  <name>Jirka Kosek</name>
  <foaf:mbox_sha1sum>a127c52a9381790d9bed58840c8508308ba33c22</foaf:mbox_sha1sum>
  <uri>http://www.docbook.cz</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Dave I think that I can uderstand you position. I am also not completely reconciled with proposed syntax for annotation. Currently annotations are placed *inside* elements that are annotated. This make hard to distinct what is really annotated. I think that I will more like something like:

</p><pre>
&lt;annotation&gt;
  &lt;abbrev&gt;XML&lt;/abbrev&gt;
  &lt;description&gt;eXtensible Markup Language&lt;/description&gt;
&lt;/annotation&gt;
</pre>

This approach explicitly markups annotation and object that is annotated. Processing will be also very easy. If you want to get text of abbreviation you simple ask for content of abbrev element. This very easy in contrast to structure proposed by Norm, where content of abbrev element contains both abbreviation and its annotation. So to extract abbreviation text you must concat text value of all nodes except nested annotation element nodes.

<p>
Of course my approach has also its drawbacks. Almost all of schema languages (except RNG I think) are unable to express that annotation/abbrev is accepted only on places where abbrev is accepted while annotation/ulink is permitted only on place where ulink is normally permitted and so on.

</p><p>
Maybe someone will bring some completly new miracle markup for annotations into a place. I hope.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 3 on /2004/09/16/annotationMarkup</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/09/16/annotationMarkup#comment0003'/>
<id>http://norman.walsh.name/2004/09/16/annotationMarkup#comment0003</id>
<published>2004-09-18T01:02:24Z</published>
<updated>2004-09-18T01:02:24Z</updated>
<author>
  <name>John L. Clark</name>
  <foaf:mbox_sha1sum>c2db710b57d9f9476110584cb2a18aec65eb2fcf</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Norm,</p>

<p>You echo some of the core questions that I've had pertaining to DocBook in general.  I will mention them here, although they are off-topic with respect to annotations.  If you feel their discussion should be taken to the DocBook list, well, we can do that.</p>

<p>What is the purpose of the distinction between <code>para</code> and <code>simpara</code>?  By a given author's choice, a <code>para</code> can reduce to a <code>simpara</code> (which happens fairly often), or can be semantically richer when needed.  What's the semantic value of providing a named differentiation?  The question extends to the other examples you highlight; if an <code>img</code> is adequate for <abbr>HTML</abbr>, and interpretable as being block or inline according to context, why can't DocBook do the same for <code>mediaobject</code>? Essentially, why can't its <code>caption</code> be rendered or not depending on the context (block or inline) of the <code>mediaobject</code>?  Relating it back to annotations, why can't one serve both functions according to context?  There may be (read: probably is) an obvious use-case here that I'm missing, but I'd like to see it and reflect upon it.</p></div></content>
</entry>

</feed>
