forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sjur Moshagen <sju...@mac.com>
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:

title
Element name title
Content model 	( #PCDATA | strong | em | code | sub | sup | a | br | img | icon | acronym
| map ) *
Attributes	
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:

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

Question:

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.

Sjur


Mime
View raw message