Zum Inhalt springen

YAG / Doctype Fehler

Erstellt am 19. Mai 2012 · Noch keine Antworten

Tags: Frage

Herbst ·

Hallo

Ich habe YAG eingebunden und erhalten beim Validieren der Page folgende Meldung (jeweils an drei Stellen)

Line 107, Column 15: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<div>No items in album</div>

In diesen Zeilen befindet sich der Code, die Zeile 107 ist die mit dem "No items in albums"

<div class="tx-yag-thumb-innerframe tx-yag-album-thumb-innerframe">
	<a href="index.php?id=31&amp;tx_yag_pi1%5Bcontext59%5D%5BalbumUid%5D=3&amp;tx_yag_pi1%5Bcontext59%5D%5BgalleryUid%5D=2&amp;tx_yag_pi1%5Baction%5D=submitFilter&amp;tx_yag_pi1%5Bcontroller%5D=ItemList&amp;cHash=d8eac532f66d7ee6a0b1a5154fb24459">
		
		        [b]<div>No items in album</div>[/b]
		    
	</a>
</div>

Den Doctype habe ich im Setup wie folgt definiert:

config {
  spamProtectEmailAddresses = 1
  doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  xhtml_cleaning = all
  htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"
  htmlTag_langKey= de-DE
  doctypeSwitch = 1

Woher kommt dieser Fehler?

Merci

Holger