[CFT] merging projects/entities

René Ladan rene at freebsd.org
Sun Jul 7 15:51:13 UTC 2013


On 07-07-2013 17:27, Gabor Kovesdan wrote:
> Em 07-07-2013 17:19, René Ladan escreveu:
>> Do you mean that the email declarations in share/xml/authors.ent should
>> be removed again? For clarity I would prefer this, but this (and the
>> email XSLT templates) seem necessary to get
>> &a.committer.email; working in both the articles/books and webpages,
>> and for the latter it removes the need to write the cumbersome
>> "&a.committer; <<a
>> href="mailto:committer at FreeBSD.org">committer at FreeBSD.org</a>>"
>> (in head, with &a.committer pulled in from the removed
>> share/xml/developers.ent) as
>> "&a.committer.email;" suffices.
> No, I'm talking about the XML namespace. The xmlns=... part should be
> removed completely from email and this should also be reflected in the
> XHTML renderer XSLT, that is, email instead of xhtml:email. In turn,
> the template can be totally removed from the DocBook XSLT since
> DocBook handles properly the email element in the default (empty)
> namespace.
>
Hm, if I understand correctly, these changes lose the role='nolink'
functionality in DocBook (i.e. there is now always a clickable link) and
for XHTML they results in build errors:

namespace warning : Namespace default prefix was not found
&a.tabthorpe; <email>tabthorpe at FreeBSD.org</email>
                    ^

Diff at http://people.freebsd.org/~rene/entities-gabor.diff

René



More information about the freebsd-doc mailing list