<b>REGISTER</b>

GFX-Sector - HTML, CSS


 
GFX-Sector » Coding Area » Webentwicklung » HTML, CSS » [Frage] Sorry! This document can not be checked. // XHTML » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites

HTML, CSS

Einfache Scriptsprachen und deren Layout mit HTML und CSS
Post New Thread Post Reply

[Frage] Sorry! This document can not be checked. // XHTML

     Deutsche Version  English version
Author
Post « Previous Thread | Next Thread »

quantum quantum is a male
Pfadfinder

Spender


Avatar von quantum

Registration Date: 29.12.2008
Posts: 721
Deviantart: xcracx

Spacer
[Frage] Sorry! This document can not be checked. // XHTML

[Frage] Sorry! This document can not be checked. // XHTML

      

Jo hi fröhlich
habe heute ma aus lange weile und purem frust ne page gecodet...
Sieht eig auch ganz gut aus und funzt alles prima, nur der ff macht mir ärger genauso wie der validation service vom w3 >.<*

Hier mal ein asuzug:

php:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
Warning Missing "charset" attribute for "text/xml" document.

      The HTTP Content-Type header (text/xmlsent by your web browser (Mozilla/5.0 (X11ULinux i686derv:1.9.0.5Gecko/2008121622 Ubuntu/8.10 (intrepidFirefox/3.0.5did not contain a "charset" parameterbut the Content-Type was one of the XML text/* sub-types.

      The relevant specification (RFC 3023) specifies a strong default of "us-ascii" for such documents so we will use this value regardless of any encoding you may have indicated elsewhere.

      If you would like to use a different encoding, you should arrange to have your browser send this new encoding information.

   1. Error

      Sorry, I am unable to validate this document because on line 113 it contained one or more bytes that I cannot interpret as us-ascii (in other words, the bytes found are not valid values in the specified Character Encoding). Please check both the content of the file and the character encoding indication.

      The error was: ascii "\xE2" does not map to Unicode


hier mein code:
php:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Text</title>
<style type="text/css" media="screen">
  /* <![CDATA[ */
           /*Farben:
           Lila:#BFBFED;
           orange:
           gelb:
           grün:
           dunkel grau:2a2a2a;
           helle sgrau:#EEE;
           */
        body{
    background:#2a2a2a;
    font-face:helvetica,verdana;font-size:80%;color:#eee;
    }    a:link{
    text-decoration:none;
    }
    a:visited,a:focus{
    color:#fa9682;
    }
    img, a img{
    border:0;
    }
    #wrap{
    width:1000px;
    margin:0 auto;
    }
    #nav ul {
    width:300px;
    height:25px;
    }
    #nav ul li{
    list-style-type:none;
    padding:5px;
    color:#2a2a2a;
    background:#eedab4;
    display:inline;
    border:1px solid #ccc;
    }
    #nav ul li:hover{
    background: #fa5765;
    }
    #lc{
    width:695px;
    float:left;
    margin-right:5px;
    }
    h2{
    color:#fad282;
    font-size:200%;
    }
    h3{
    color:#e5edb4;
    font-size:120%;
    font-weight:normal;
    }
    .afoot, .afoot a:link{
    text-align:center;
    color:#e5edb4;
    }
    .afoot a:hover{
    border-bottom:1px dotted #fad282;
    }
    span#more{
    margin-left:10px;
    text-:15px;
    color:#fad282;
    }
    span#more:hover{
    border-bottom:1px solid;
    }
    #rc{
    margin-left:5px;
    width:291px;
    float:right;
    display:inline;
    border-left:1px dotted;
    }
    #rc h2{
    text-align:center;
    font-size:170%;
    }
    
    
    
  /* ]]> */
  </style>
<script type="text/javascript">
/* <![CDATA[ */

/* ]]> */
</script>
<div id="wrap">
<h1>GraphiX</h1>
<div id="nav">
    <ul>
        <li>Home</li>
        <li>Gallerie</li>
        <li>About</li>
    </ul>
    <hr noshade="noshade" widt="800px" />
</div><!-- navi ende -->
<div id="lc">
    <!-- erster artikel -->
    <h2>The Lorem Ipsum - a modern saga</h2>
    <h3>11.11.1111</h3>
    <p class="article">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn’t listen. She packed her seven versalia, put her initial into the belt and made herself on the way. When she reached the first hills of the Italic Mountains&hellip;<span id="more">More >> </span></p>
    <p class="afoot"><a href="#" title="Comments">0 Kommentare</a> | <a href="#" title="article">Link</a> | <a href="#" title="bookmark this">Bookmark</a> | <a href="#" title="Download this">Download</a></p>
    <!-- erster artikel ende -->
    <div id="eureID"><p>Penis</p></div>
<a href="javascript:show()" title="Zeige mir die Wahrheit!">Show</a><br />
<!-- Der Link um den Bereich einzublenden! -->
<a href="javascript:hide()" title="Verstecke die Wahrheit!">Hide</a><br />
<!-- Der Link um den Bereich auszublenden! -->

</div><!-- content links ende -->
<div id="rc">
    <h2>Links</h2>
</div>
</div><!-- wrap ende -->
</body>
</html>


kann das an quanta liegen?? Weil der macht da sone kp sehts euch an :




Eig sollte es nich am Markup liegen ich habe nichts gefunden fröhlich
bitte sagt mir dass es daran liegt ^^
wenn nihc wechsele ich den editor ^^
is ja nur weil er alles so schön bunt macht xD

ThnX && GreetZ-..


[Frage] Sorry! This document can not be checked. // XHTML 18.01.2009 00:25 quantum is offline Homepage of quantum Search for Posts by quantum

Mero Mero is a male
The Dreadworks Project

Spender


Avatar von Mero

Registration Date: 12.11.2006
Posts: 3,294
Location: Weserbergland
Program: Photoshop, Illustrator, Notepad++
Deviantart: dreadworks

Spacer
      

Kann es sein, dass dort </head> und <body> fehlen?

Als Editor empfehle ich dir: Notepad++



.
The Dreadworks Project

And in my darkest moment, fetal and weeping
The moon tells me a secret - my confidant
As full and bright as I am
This light is not my own and
A million light reflections pass over me

[Frage] Sorry! This document can not be checked. // XHTML 18.01.2009 14:48 Mero is offline Homepage of Mero Search for Posts by Mero

quantum quantum is a male
Pfadfinder

Spender


Avatar von quantum

Registration Date: 29.12.2008
Posts: 721
Deviantart: xcracx

Thread Starter Thread Started by quantum
Spacer
      

jo fröhlich
doofer editor fröhlich
aber daran liegt es nihc -.-*
notepad is cool nutze ich unter win neben phase 5
aber ich hab ja akt. gerade linux am start kp obs dass dafür gibt ^^
danke smile



[Frage] Sorry! This document can not be checked. // XHTML 18.01.2009 15:08 quantum is offline Homepage of quantum Search for Posts by quantum

Mero Mero is a male
The Dreadworks Project

Spender


Avatar von Mero

Registration Date: 12.11.2006
Posts: 3,294
Location: Weserbergland
Program: Photoshop, Illustrator, Notepad++
Deviantart: dreadworks

Spacer
      

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Nimm mal da das Semikolon heraus und mach Anführungsstriche hin. Das dort der Fehler liegt, steht ja auch hier: Missing "charset" attribute for "text/xml" document.



.
The Dreadworks Project

And in my darkest moment, fetal and weeping
The moon tells me a secret - my confidant
As full and bright as I am
This light is not my own and
A million light reflections pass over me

[Frage] Sorry! This document can not be checked. // XHTML 18.01.2009 15:19 Mero is offline Homepage of Mero Search for Posts by Mero

quantum quantum is a male
Pfadfinder

Spender


Avatar von quantum

Registration Date: 29.12.2008
Posts: 721
Deviantart: xcracx

Thread Starter Thread Started by quantum
Spacer
      

k habs gechecked un neu egschrieben mit screem html...
weiterhin habe ich mich durch die w3 empfehlungen für xhtml1 geforstet und die meta rauskopiert (meine war richtig Zunge raus )

er will immer noch nich -.-
hier die erklärung des fehlers :

.1 Text/xml with UTF-8 Charset

Content-type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>

This is the recommended charset value for use with text/xml. Since
the charset parameter is provided, MIME and XML processors MUST treat
the enclosed entity as UTF-8 encoded.

If sent using a 7-bit transport (e.g., SMTP[RFC0821]), the XML MIME
entity MUST use a content-transfer-encoding of either quoted-
printable or base64. For an 8-bit clean transport (e.g., 8BITMIME
ESMTP or NNTP), or a binary clean transport (e.g., HTTP), no
content-transfer-encoding is necessary.

verstehe wer will...


hier mein aktuelles dokument...
achja n darstellungs feherl bei ff -.-
der background is weiss!
wtf??
iwie is das scheisse :X
nja wer lust hat und helfen will kann sich ja das dokument ma anschauen
/e:
is völlig valides xhtml1 -.-
(wenn ichs unter .html abspeicher unter .xml willer das immer noch nich Zunge raus
jo und der grafikfehker vom ff is auch noch da -.-)

OK:
Update fröhlich
fehler lagen in der querlinie unter der navi (hr)
wo angeblich das attribut noshade="noshade" sowie das width="800px" nich gehen soll hab ichs per csss gemacht.
der javascript bereich war verhunzt is aber alles richtig jetzt.
wenn ich die datei als index.html abspeicher ises valide und funzt auch im FF
nur mit der .xml endung will ers nich validieren und ff wills nich richtig darstellen?
woran kanns liegen?
sollte endlcih ma gehen..



Attachment:
unknown index.xml.zip (2 KB, 20 downloads)


This post has been edited 3 time(s), it was last edited by quantum: 18.01.2009 17:54.

[Frage] Sorry! This document can not be checked. // XHTML 18.01.2009 15:21 quantum is offline Homepage of quantum Search for Posts by quantum

Mero Mero is a male
The Dreadworks Project

Spender


Avatar von Mero

Registration Date: 12.11.2006
Posts: 3,294
Location: Weserbergland
Program: Photoshop, Illustrator, Notepad++
Deviantart: dreadworks

Spacer
      

Warum genau, möchtest du es als .xml abspeichern? Ich verstehe den Sinn dahinter nicht. Wenn es als .html funktioniert ist doch alles in Ordnung. XML ist hauptsächlich für Datenaustausch (zB. ajax) gedacht und nicht um den kompletten Markup einer Seite zu schreiben.

Mit anderen Worten: Internetseiten werden (fast) immer durch html oder xhtml repräsentiert (auch dort wo zB. .php als Endung steht ist trotzdem die Ausgabe in html). XML dafür zu verwenden ist unsinnig.

Zu deiner Frage mit dem weißen Hintergrund komme ich, wenn du es vernünftig irgendwo als html speicherst.



.
The Dreadworks Project

And in my darkest moment, fetal and weeping
The moon tells me a secret - my confidant
As full and bright as I am
This light is not my own and
A million light reflections pass over me

[Frage] Sorry! This document can not be checked. // XHTML 20.01.2009 15:20 Mero is offline Homepage of Mero Search for Posts by Mero

quantum quantum is a male
Pfadfinder

Spender


Avatar von quantum

Registration Date: 29.12.2008
Posts: 721
Deviantart: xcracx

Thread Starter Thread Started by quantum
Spacer
      

jaja habsch schon längst xD
wollte es eig nur mit einer rohen baumsatruktur machen und den rest dann per db reinladen aber wayne
mit .html funzt alles
hab den falschen validator genommen ^^

nur das mim bg is bei der .xml nohc nihc glöst das würde mich nochma interessieren xD
lg



[Frage] Sorry! This document can not be checked. // XHTML 20.01.2009 18:33 quantum is offline Homepage of quantum Search for Posts by quantum

Mero Mero is a male
The Dreadworks Project

Spender


Avatar von Mero

Registration Date: 12.11.2006
Posts: 3,294
Location: Weserbergland
Program: Photoshop, Illustrator, Notepad++
Deviantart: dreadworks

Spacer
      

quote:
Original von CrAc
jaja habsch schon längst xD


Was genau?

quote:
Original von CrAc
wollte es eig nur mit einer rohen baumsatruktur machen und den rest dann per db reinladen aber wayne
mit .html funzt alles


Entweder ich verstehe dich falsch, oder du hast das Prinzip eines Templates noch nicht verstanden.

quote:
Original von CrAc
nur das mim bg is bei der .xml nohc nihc glöst


s.o.



.
The Dreadworks Project

And in my darkest moment, fetal and weeping
The moon tells me a secret - my confidant
As full and bright as I am
This light is not my own and
A million light reflections pass over me

[Frage] Sorry! This document can not be checked. // XHTML 21.01.2009 11:10 Mero is offline Homepage of Mero Search for Posts by Mero

quantum quantum is a male
Pfadfinder

Spender


Avatar von quantum

Registration Date: 29.12.2008
Posts: 721
Deviantart: xcracx

Thread Starter Thread Started by quantum
Spacer
      

ich ahbe es jetzt als .html abgespeichert, is valide und funzt auch alles,
nur ich wollte eig das ganze per purer baumstruktur coden und den gesamten inhalt per Datenbak reinladen...
sozusagen blog mit cms hat sich aber erledigt.
Das mit template habe ich schon kapiert xD
(sofern du die trennung von inhalt und layout meinst ^^)

nur das jetzt aus reiner neugier, wieso stellt ff den bg bei der xml datei falsch dar?



[Frage] Sorry! This document can not be checked. // XHTML 21.01.2009 20:15 quantum is offline Homepage of quantum Search for Posts by quantum
 
Spacer
   
GFX-Sector
unregistered


 hat kein Avatar


Spacer

Have you enjoyed this topic?


If you were enjoying this post and if you keen on reading more interesting stuff then do not hesitate to complete the free sign up.

After the free registration you will gain access to all areas and you will be able to communicate with other artists from all over the world.

In addition you will benefit from our Photoshop and coding section as well as from our huge (hundreds of gigabytes) free resource section where you can find everything you will need to be a successful (web) designer/artist.

Sign up now and enjoy the advantages as a registered member.

(This website will be ad-free after a complete free sign up.)

New Post 21.01.2009 20:15  
Tree Structure | Board Structure
Post New Thread Post Reply
GFX-Sector » Coding Area » Webentwicklung » HTML, CSS » [Frage] Sorry! This document can not be checked. // XHTML

Similar topics to [Frage] Sorry! This document can not be checked. // XHTML
Thread
[Frage]CSS/HTML (Forum: HTML, CSS)
HORRORBAY | Let them Scream | This Halloween (Forum: Special Tournaments)
[Verschenke] Design-Umsetzung mit XHTML+CSS (Forum: Archiv)
[Anime] Sorry youre not a winner (Forum: Signaturen/Avatare)
Nicole - like this (Forum: Signaturen/Avatare)