Help - Search - Member List - Calendar
Full Version: Offline XHTML validator ?
WorkTheWeb Forums > Webmaster Resources > Webmaster - General Help
Support our Sponsors!
Justin Sane
I'm always sending back and forth my pages to the W3C XHTML validator (I
can't stand error!)
I also develop using application/xhtml+xml header, but still, there are
errors that are not XML errors but that the W3C reports as errors because
some elements are not supposed to be where they are at times.

Is there a way to have the exact equivalent of the W3C XHTML validator to
use locally, maybe a PHP debug script, I don't know...?
That would save time :)

--
Thanks,

Justin.
http://www.opera.com/mail/

David Dorward
Justin Sane wrote:

QUOTE
Is there a way to have the exact equivalent of the W3C XHTML validator to
use locally

http://validator.w3.org/source/

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

Justin Sane
On Wed, 15 Jun 2005 18:19:57 -0300, David Dorward <[Email Removed]>
wrote:

QUOTE
http://validator.w3.org/source/

Thank you David, I just had a look, but all files seem to be pure HTML...
How strange... Do you know what language they use? How could I integrate
it with PHP ?


--
Thanks,

Justin.
http://www.opera.com/mail/

C A Upsdell
Justin Sane wrote:
QUOTE
I'm always sending back and forth my pages to the W3C XHTML validator
(I  can't stand error!)
I also develop using application/xhtml+xml header, but still, there are
errors that are not XML errors but that the W3C reports as errors
because  some elements are not supposed to be where they are at times.

Is there a way to have the exact equivalent of the W3C XHTML validator
to  use locally, maybe a PHP debug script, I don't know...?
That would save time :)

aRealValidator.com has a true validator. Highly recommended.

Matt-the-Hoople
Justin Sane wrote:
QUOTE
I'm always sending back and forth my pages to the W3C XHTML validator
(I  can't stand error!)
I also develop using application/xhtml+xml header, but still, there are
errors that are not XML errors but that the W3C reports as errors
because  some elements are not supposed to be where they are at times.

Is there a way to have the exact equivalent of the W3C XHTML validator
to  use locally, maybe a PHP debug script, I don't know...?
That would save time :)


Try the web developer toolbar in Firefox. I've come to rely on that
pretty heavily. It's just like having a local validator. Actually, It
will validate 'local HTML' sez here, but I've never used that.

David Dorward
Justin Sane wrote:

QUOTE
On Wed, 15 Jun 2005 18:19:57 -0300, David Dorward <[Email Removed]
wrote:

http://validator.w3.org/source/

Thank you David, I just had a look, but all files seem to be pure HTML...

They aren't.

QUOTE
How strange... Do you know what language they use?

Perl

QUOTE
How could I integrate it with PHP ?

The easiest way is probably to make a request for the XML output version,
then parse the XML it produces.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

Johannes Koch
Justin Sane wrote:

QUOTE
I'm always sending back and forth my pages to the W3C XHTML validator
(I  can't stand error!)

For XHTML you can use any validating XML parser.

xpost and f'up2 c.t.x.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)

Peter Flynn
Justin Sane wrote:

QUOTE
I'm always sending back and forth my pages to the W3C XHTML validator (I
can't stand error!)
I also develop using application/xhtml+xml header, but still, there are
errors that are not XML errors but that the W3C reports as errors because
some elements are not supposed to be where they are at times.

Is there a way to have the exact equivalent of the W3C XHTML validator to
use locally, maybe a PHP debug script, I don't know...?

Just use a validating editor.
FAQ: http://xml.silmaril.ie/developers/software/

///Peter
--
sudo sh -c "cd /;/bin/rm -rf `which killall kill ps shutdown mount gdb` *
&;top"


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.