Modi-Art Template wc3 Fehler ? bitte um hilfe...

peterwill

Gut bekanntes Mitglied
29. Oktober 2007
347
18
wawi 948
Shop 3.11
Modi-Art Template wc3 Fehler ? bitte um hilfe...

Markup Validation Service
Errors found while checking this document as XHTML 1.0 Strict!
The W3C Markup Validation Service
und dann
FA001 Farbmuster für Wandaufkleber

findet folgene Fehler .... wie bekomme ich diese weg...
betrifft Variationen Auswahl !

Error Line 627, Column 140: document type does not allow element "span" here

…kEigenschaftWert_65517_span" class="variation_name" style="">KEINE FARBE</span>



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Error Line 629, Column 135: document type does not allow element "span" here

…n id="kEigenschaftWert_64195_span" class="variation_name" style="">weiss</span>



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).

für Tips bin ich dankbar..
Peter
 

david

Administrator
Mitarbeiter
16. Juli 2010
2.309
169
AW: Modi-Art Template wc3 Fehler ? bitte um hilfe...

Valider Code ist schön und gut, macht den Code prinzipiell weniger fehleranfällig.
Die o.g. Warnungen/Fehler sind aber harmlos, da sollte man meiner Meinung nach als Shop-Betreiber keine Energie für Validierung verschwenden ;)

Trotzdem zur Erklärung:
Streng genommen darf innerhalb <option> kein weiteres Tag mehr stehen, auch kein <span>. Das ist den modernen Browsern absolut egal, nur dem W3-Validator entgeht hingegen nichts ;)
Die inneren spans sind eine Altlast der Variationsabhängigkeiten (Ausgrauen) in Shop2. Das lässt sich allerdings mittlerweile mit Shop3 besser über Varkombis abbilden, die spans innerhalb option werden nicht mehr gebraucht und fliegen mit dem nächsten Modi-Art-Update dann auch raus ;)
 
Ähnliche Themen
Titel Forum Antworten Datum
Neu Art der Sortierung im Listing auslesen Allgemeine Fragen zu JTL-Shop 0
Neu Artikelsticker mit Nova-Template Einrichtung von JTL-Shop4 11
Neu GPSR Verordnung - Wie handhabt ihr das im Shop mit dem Nova Template? Betrieb / Pflege von JTL-Shop 14
Neu jtl.evo.js über Child Template anpassen. Geht das? Technische Fragen zu Plugins und Templates 6
Neu Eigene Alerts im Template ausgeben bzw. hinzufügen Templates für JTL-Shop 0
Neu Child Template erstellen Technische Fragen zu Plugins und Templates 22
Neu Hotjar Code in Child Template header.tpl einbetten Templates für JTL-Shop 6
Neu Einbindung PHP. Datei ins Template - Wert aus PHP Datei lesen Templates für JTL-Shop 5
Neu Per Plugin Felder für das Newsletter-Anmeldungs-Template hinzufügen Technische Fragen zu Plugins und Templates 2
Neu Nova Template (Praesentium veritatis sunt dicta cum....) entfernen? Gelöste Themen in diesem Bereich 4
Neu Kann ich das alte EVO-Template löschen? Templates für JTL-Shop 2
Neu Änderungen in Template werden nicht angezeigt Templates für JTL-Shop 1
Neu Attributnamen im Nova 5 Template ausblenden Templates für JTL-Shop 3
Neu JTL Template Dienstleistung, Jobs und Ähnliches 0
Neu Im Template auslesen, ob OPC aktiv Templates für JTL-Shop 5

Ähnliche Themen