You are not logged in.

Controlpanel

Statistic

  • Members: 13113
  • Threads: 18186
  • Postings: 119693 (ø 46.07/day)
  • Greetings to our newest member: mislonly

w2d Premium-Support

Die Experten für web to date / shop to date

Facebook

1

Wednesday, August 5th 2009, 11:20am

Validierungshilfe beim Design Beta

Hallo,

ich habe mir das Design Beta rausgesucht und möchte dies nun valide machen.
Einige Tipps habe ich schon beherzigt wie den Parser für diverse "/" und abschließende /img.

Jedoch habe ich noch 9 Fehler und brauch dazu Eure Hilfe. Ich weiß leider nicht, wo ich anfangen soll.

Quoted


Validation Output: 9 Errors

1. Error Line 3, Column 1: Missing xmlns attribute for element html. The value should be: <!-- m --><a class="postlink" href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a><!-- m -->

<html>



Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
2. Error Line 64, Column 618: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ontent" width="100\0cellspacing="0">



The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
3. Error Line 89, Column 21: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

<div class="picture">



The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
4. Error Line 97, Column 21: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

</div><div id="more">



The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
5. Error Line 99, Column 12: end tag for "p" omitted, but OMITTAG NO was specified

</div></div>



You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
6. Info Line 64: start tag was here

n<p>Genie&szlig;en Sie die sch&ouml;nsten Wochen des Jahres in unserer Ferienwohn

7. Error Line 99, Column 12: XML Parsing Error: Opening and ending tag mismatch: p line 64 and div

</div></div>


8. Error Line 102, Column 7: XML Parsing Error: Opening and ending tag mismatch: div line 55 and body

</body>


9. Error Line 103, Column 7: XML Parsing Error: Opening and ending tag mismatch: body line 18 and html

</html>


10. Error Line 103, Column 7: XML Parsing Error: Premature end of data in tag html line 3

</html>


Vielleicht wäre jemand von Euch so nett und gibt mir nen Tipp.
ich weiß z.b. schon gar nicht, auf welche datei sich diese fehler beziehen. wie erkenne ich das?

Danke
Tom

cojo_1008

Super-Moderator

  • "cojo_1008" is female

Posts: 3,609

Location: Berlin-Kaulsdorf

Occupation: Freiberuflerin

web/shop to date Version: shop to date 5 - shop to date 8

  • Send private message

2

Wednesday, August 5th 2009, 11:26am

Hallo Tom, den ersten kriegen wir ganz schnell weg:
gehe in Deine navigation.ccml und ändere

Source code

1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
in

Source code

1
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">

Das <html> darunter muss dann natürlich weg.
Gruß Conny

3

Wednesday, August 5th 2009, 2:31pm

super, werd ich dann gleich mal umsetzen.

:-)

Nachtrag: jetzt sind es nur noch 8 :-)

4

Wednesday, August 5th 2009, 10:48pm

was heißt das?

Source code

1
2
3
4
5
Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
2. Error Line 64, Column 618: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

…ontent" width="100\0cellspacing="0"> 

cojo_1008

Super-Moderator

  • "cojo_1008" is female

Posts: 3,609

Location: Berlin-Kaulsdorf

Occupation: Freiberuflerin

web/shop to date Version: shop to date 5 - shop to date 8

  • Send private message

5

Thursday, August 6th 2009, 7:33am

Hallo Tom,

hast Du mal einen Link? Es ist einfacher dann mal daraufzuschauen. Z.B. sieht diese Zeile sehr komisch aus:

Source code

1
…ontent" width="100\0cellspacing="0"> 
Gruß Conny

6

Thursday, August 6th 2009, 10:33am

ok...wollte das eigentlich vermeiden, aber geht wohl wirklich nicht anders. muss es euch ja nicht schwerer machen als nötig. ich will ja was von euch ;-)
die seite ist wie gesagt im aufbau

http://www.erzgebirge-ferienwohnung.com

danke

cojo_1008

Super-Moderator

  • "cojo_1008" is female

Posts: 3,609

Location: Berlin-Kaulsdorf

Occupation: Freiberuflerin

web/shop to date Version: shop to date 5 - shop to date 8

  • Send private message

7

Thursday, August 6th 2009, 10:54am

Dir scheint ein schließendes </p> in Deiner paragraph_text.ccml zu fehlen.
Gruß Conny

8

Thursday, August 6th 2009, 3:47pm

richtig erkannt. habe W2D5.

hab mal die page und navigation bzgl. der "p" angeschaut...da ist keins zuviel und keins zu wenig. nach einem sich öffnenden kommt auch ein schließendes.

gibts noch andere relevante dateien?

cojo_1008

Super-Moderator

  • "cojo_1008" is female

Posts: 3,609

Location: Berlin-Kaulsdorf

Occupation: Freiberuflerin

web/shop to date Version: shop to date 5 - shop to date 8

  • Send private message

9

Thursday, August 6th 2009, 3:49pm

und hast Du mal in die paragraph_text.ccml geschaut? Steht dort:

Source code

1
<p<cc:if cond="&paragraph.fontcolor"> style="color: <cc:print value="&paragraph.fontcolor">;"</cc:if>><cc:print value="&paragraph.text"></p>
?
Gruß Conny

10

Thursday, August 6th 2009, 4:33pm

das war der entscheidende TIPP!!!!!!!!!!!!!!!!

dankedankedanke und nochmals DANKE

da hat die abschließende klammer gefehlt.

juhuu

cojo_1008

Super-Moderator

  • "cojo_1008" is female

Posts: 3,609

Location: Berlin-Kaulsdorf

Occupation: Freiberuflerin

web/shop to date Version: shop to date 5 - shop to date 8

  • Send private message

11

Thursday, August 6th 2009, 4:38pm

das dachte ich mir schon :wink:
Gruß Conny