Re: [WSG] LOCAL XHTML TESTING - HOW TO DO IT?

2004-12-13 Thread Robert Crawford
Joey said the following on 12/12/2004 7:52 AM:
Download Web Developer Toolbar for firefox for local validating.
http://www.chrispederick.com/work/firefox/webdeveloper/
Then you can see a tool under Tools called Validate Local HTML that 
should help you out a bit.

Hope this helps
Joey
 

Also while you're at downloading Firefox/Mozilla Extensions, get the 
HTML Validator (based on Tidy) from http://users.skynet.be/mgueury/mozilla/

Robert
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] LOCAL XHTML TESTING - HOW TO DO IT?

2004-12-12 Thread Kornel Lesinski
For serious testing install web server locally.
There is for example easyphp.org (and many others) that install and  
configure Apache, PHP, MySQL with almost one click.

Then you can configure Apache to send .xhtml files as application/xhtml+xml
or use PHP for that.
httpd.conf:
AddType application/xhtml+xml .xhtml
or
each file:
?php header(Content-Type: application/xhtml+xml);?
Once you have proper content-type set browsers (except IE ofcourse) will do
basic validation of document - requiring that your document is well-formed  
XML (XHTML).

--
regards, Kornel Lesiski
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] LOCAL XHTML TESTING - HOW TO DO IT?

2004-12-12 Thread Joey
Download Web Developer Toolbar for firefox for local validating.
http://www.chrispederick.com/work/firefox/webdeveloper/
Then you can see a tool under Tools called Validate Local HTML that 
should help you out a bit.

Hope this helps
Joey
Charles Slack wrote:
LOCAL XHTML TESTING - HOW TO DO IT?
Hi,
I'm an experienced real time software engineer getting involved in
Web design. I have done a lot of reading, both books and web pages
and, after a lot of heart searching, have arrived at the following
strategy for developing web pages:
 
1. Develop and test the site initially using an XHTML 1.0 strict
DOCTYPE until I have the site working to my satisfaction. This will
be done locally on my PC (I will not upload the site). I hope that
this will set me on the right road to producing well formed XHTML
code which will be ready when more browsers (IE) support XHTML. I
intend to follow the W3C compatibility rules (Annex C) to make sure
that my XHTML is backwards compatible with HTML.
 
2. I realise that there are difficulties presenting XHTML to some
browsers (IE in particular) and that I will end up with the browser
treating my code as HTML in quirks mode. For that reason I intend
to change to HTML 4.01 strict DOCTYPE before going live and carrying
out validation and final testing.
 
That's the background. The question is what is the best way of
testing and validating my XHTML code locally? I am not very clear how
browsers, validators/linters, Tidy etc manage doctypes when looking
at code. How can I be sure that they are treating the code as XHTML 
1.0 strict and not HTML?
 
Can anyone point me at any interesting sites or offer any suggestions?
 
Thanks,
 
Charlie

**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**


Re: [WSG] LOCAL XHTML TESTING - HOW TO DO IT?

2004-12-12 Thread Roger Johansson
On 12 dec 2004, at 14.15, Charles Slack wrote:
LOCAL XHTML TESTING - HOW TO DO IT?
An easy way to check how Mozilla based browsers handle it is to change 
the file extension of your XHTML documents from .html to .xhtml. This 
will make Mozilla/Firefox treat it as application/xhtml+xml (check 
View Page Info), and alert you of any well-formedness errors.

/Roger
--
http://www.456bereastreet.com/
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**