Topic: Not valid XML (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=31102" title="Pages that link to Topic: Not valid XML (Page 1 of 1)" rel="nofollow" >Topic: Not valid XML <span class="small">(Page 1 of 1)</span>\

 
der redsplat
Nervous Wreck (II) Inmate

From:
Insane since: Jun 2009

posted posted 07-04-2009 09:15

When I try to validate http://redsplat.org/getdata.php?site=games as XML validator tells me that I ain't got no DOCTYPE. I've been searching for a XML doctype but I can't figure out what I should use.

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 07-05-2009 15:52

As it says on the tin, http://validator.w3.org/ is :

quote:
This validator checks the markup validity of Web documents in HTML, XHTML, SMIL, MathML, etc. If you wish to validate specific content such as RSS/Atom feeds or CSS stylesheets, MobileOK content, or to find broken links, there are other validators and tools available.

Trying to validate pure XML with it makes no sense. Use an XML validator.



(Edited by poi on 07-05-2009 15:53)

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 07-05-2009 16:26

Why is there no header on that page anyway? I'm a little confused as to why it is done that way.

Later,

C:\

der redsplat
Nervous Wreck (II) Inmate

From:
Insane since: Jun 2009

posted posted 07-17-2009 18:32

Thanks poi. In a real XML validator I get a bug that I do not understand http://www.validome.org/xml/validate/?lang=en&viewSourceCode=1&url=http://redsplat.org/getd
ata.php%3fsite=games

CPrompt: It's because I'm inserting the data.php on another page which already got at header.

der redsplat
Nervous Wreck (II) Inmate

From:
Insane since: Jun 2009

posted posted 07-27-2009 18:17

I fixed i by my self.

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 07-27-2009 18:42

I'm afraid you did not.

http://redsplat.org/ is now valid XML
But http://redsplat.org/getdata.php?site=games is still invalid XML , and http://redsplat.org/ still fire JS errors like crazy

code:
JavaScript - http://redsplat.org/
Unknown thread
Error:
name: TypeError
message: Statement on line 56: Cannot convert undefined or null to Object
Backtrace:
  Line 56 of linked script http://redsplat.org/script.js
    		document.title='redsplat - '+document.getElementById('title').innerHTML;
  ...
stacktrace:   ...


code:
JavaScript - http://redsplat.org/
Timeout thread: delay 20 ms
Error:
name: TypeError
message: Statement on line 42: Cannot convert undefined or null to Object
Backtrace:
  Line 42 of linked script http://redsplat.org/script.js: In function fadeIn
    	document.getElementById('content').style.opacity=opacity;
  ...
stacktrace:   ...


code:
JavaScript - http://redsplat.org/
Timeout thread: delay 20 ms
Error:
name: TypeError
message: Statement on line 33: Cannot convert undefined or null to Object
Backtrace:
  Line 33 of linked script http://redsplat.org/script.js: In function fadeOut
    	document.getElementById('content').style.opacity=opacity;
  ...
stacktrace:   ...





Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu