Re: Title element content in v2 docs
I did some net archaeology: This was initially added to document-v11 DTD around 2003-03-20, i gather as part of the alignment with xhtml at the time. Soon after, the DTD changes since Forrest-0.4 were removed and the new document-v12 was commenced in CVS on 2003-04-24: http://marc.info/?l=forrest-dev=105115903415487 which did contain a comment about it. The comment is also listed at the end of our example documents, e.g.: http://forrest.apache.org/dtdx/document-v20.html#changes-12 viz: "doc-v12 enhances doc-v11 by relaxing various restrictions that were found to be unnecessary. * Links ((link|jump|fork) and inline elements (br|img|icon|acronym) are allowed inside title. * ..." -David Sjur Moshagen wrote: > 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 > idtype: 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: > > > > OSX > > > 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 > >
[jira] [Commented] (FOR-1255) back-port features from the "scales" skin to the "pelt" skin
[ https://issues.apache.org/jira/browse/FOR-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15025988#comment-15025988 ] David Crossley commented on FOR-1255: - Added the "Conditional display of menuitems" ("showonlywhenselected") feature to pelt skin in http://svn.apache.org/r1716292 > back-port features from the "scales" skin to the "pelt" skin > > > Key: FOR-1255 > URL: https://issues.apache.org/jira/browse/FOR-1255 > Project: Forrest > Issue Type: Improvement > Components: Skins (general issues) >Affects Versions: 0.10-dev >Reporter: David Crossley > > There are some features, such as menu "showonlywhenselected", that would be > good to go back into the main "pelt" skin. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Re: Title element content in v2 docs
Thanks for the research and feedback. It seems those elements have been added to the dtd, but without the corresponding changes to the skinning transformations. I’ll have a look at that. Sjur > 25. nov. 2015 kl. 00:11 skrev David Crossley: > > I did some net archaeology: > > This was initially added to document-v11 DTD around 2003-03-20, > i gather as part of the alignment with xhtml at the time. > Soon after, the DTD changes since Forrest-0.4 were removed > and the new document-v12 was commenced in CVS on 2003-04-24: > http://marc.info/?l=forrest-dev=105115903415487 > which did contain a comment about it. > > The comment is also listed at the end of our example documents, e.g.: > http://forrest.apache.org/dtdx/document-v20.html#changes-12 > viz: > "doc-v12 enhances doc-v11 by relaxing various restrictions that were found to > be unnecessary. > * Links ((link|jump|fork) and inline elements (br|img|icon|acronym) are > allowed inside title. > * ..." > > -David > > Sjur Moshagen wrote: >> 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 >> classtype: 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: >> >> >> >> OSX >> >> >> 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 >> >>