forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sjur Moshagen <>
Subject Title element content in v2 docs
Date Mon, 23 Nov 2015 12:46:33 GMT
Hello all,

I just noticed a discrepancy between the dtd and the actual rendering in the default (and
possibly all) skins for the title element. The DTD says:

Element name title
Content model 	( #PCDATA | strong | em | code | sub | sup | a | br | img | icon | acronym
| map ) *
id	 	type: ID
class	 	type: CDATA
xml:lang	 	type: NMTOKEN
Used inside	header | section

I then tried to add an img element inside title, but it is removed during the transformations
to html. It is there in the intermediate xml:

<icon src="images/Beta-Stamp.png" height="30"/>


Does this mean that it never has been added to the html rendering (ie various skins/default
html transform), or that it really should not be part of the content model for the title element?
The same question is valid also for the remaining title subelements.

Grateful for feedback.


View raw message