1. XHTML and CSS Validation
- Posted by euphoric (admin) Sep 04, 2009
- 1398 views
It would be nice if all the pages at OpenEuphoria.org would successfully validate for XHTML and CSS. However, they don't. See the following:
wiki < this is the weirdest case, with the validator reporting a 404:page not found error. ?!?!
2. Re: XHTML and CSS Validation
- Posted by jeremy (admin) Sep 04, 2009
- 1355 views
It would be nice if all the pages at OpenEuphoria.org would successfully validate for XHTML and CSS. However, they don't. See the following:
The main page template is found in our SVN repo under /tools/euweb/trunk/source/templates/euweb.etag
Jeremy
3. Re: XHTML and CSS Validation
- Posted by jeremy (admin) Sep 08, 2009
- 1378 views
- Last edited Sep 09, 2009
The forum index now validates:
This document was successfully checked as XHTML 1.0 Transitional!
Jeremy
4. Re: XHTML and CSS Validation
- Posted by DerekParnell (admin) Sep 08, 2009
- 1316 views
- Last edited Sep 09, 2009
The forum index now validates:
Not any more ...
It doesn't like all the 187 entities because they don't end with a semi-colon.
5. Re: XHTML and CSS Validation
- Posted by jeremy (admin) Sep 08, 2009
- 1332 views
- Last edited Sep 09, 2009
The forum index now validates:
Not any more ...
It doesn't like all the 187 entities because they don't end with a semi-colon.
Um, it says it is valid. I'll look at the 187's though.
Jeremy
6. Re: XHTML and CSS Validation
- Posted by jeremy (admin) Sep 08, 2009
- 1332 views
- Last edited Sep 09, 2009
Forum message threads now validate:
This document was successfully checked as XHTML 1.0 Transitional!
Jeremy
7. Re: XHTML and CSS Validation
- Posted by jeremy (admin) Sep 08, 2009
- 1310 views
- Last edited Sep 09, 2009
Not any more ...
It doesn't like all the 187 entities because they don't end with a semi-colon.
I don't see any #187's in the forum index? I see them on the view page, where you view message content, however, there, they all have a trailing ;.
Can you give me a URL that you are looking at?
Jeremy
8. Re: XHTML and CSS Validation
- Posted by jeremy (admin) Sep 08, 2009
- 1335 views
- Last edited Sep 09, 2009
It would be nice if all the pages at OpenEuphoria.org would successfully validate for XHTML and CSS. However, they don't. See the following:
That's just insane. A link exists and it has a query string, ?name=John&age=30... It complain's of the & in the query string. I can't see making people copy/paste a URL in, then changing all the & symbols to a & I guess we could do it in software, but what a silly thing.
Jeremy
9. Re: XHTML and CSS Validation
- Posted by DerekParnell (admin) Sep 08, 2009
- 1338 views
- Last edited Sep 09, 2009
Can you give me a URL that you are looking at?
I checked it two ways.
- Using Opera, I went to the forum index page and right-clicked to get a context menu, then selected "Validate".
- Using Opera, I viewed the page's source html and saved it. Then went to http://validator.w3.org and asked it to validate the saved file.
In both cases, I got the same validation errors.
10. Re: XHTML and CSS Validation
- Posted by jeremy (admin) Sep 08, 2009
- 1330 views
- Last edited Sep 09, 2009
I checked it two ways.
- Using Opera, I went to the forum index page and right-clicked to get a context menu, then selected "Validate".
- Using Opera, I viewed the page's source html and saved it. Then went to http://validator.w3.org and asked it to validate the saved file.
In both cases, I got the same validation errors.
Ah! I see why... When I validated by URL, the w3 validator is not an admin, thus the "Recent Users" section didn't render for it. When you right click, you're sending it the authenticated view. Fixing.
Jeremy
11. Re: XHTML and CSS Validation
- Posted by jeremy (admin) Sep 08, 2009
- 1300 views
- Last edited Sep 09, 2009
Not any more ...
It doesn't like all the 187 entities because they don't end with a semi-colon.
Ok, that's fixed, deployed and tested.
Jeremy
12. Re: XHTML and CSS Validation
- Posted by CoJaBo Sep 08, 2009
- 1337 views
- Last edited Sep 09, 2009
It would be nice if all the pages at OpenEuphoria.org would successfully validate for XHTML and CSS. However, they don't. See the following:
That's just insane. A link exists and it has a query string, ?name=John&age=30... It complain's of the & in the query string. I can't see making people copy/paste a URL in, then changing all the & symbols to a & I guess we could do it in software, but what a silly thing.
Jeremy
The same rules for escaping HTML apply inside attribute values as well. <>&" and ' must be escaped.
Also, having a URL with a " in it causes a server error.
13. Re: XHTML and CSS Validation
- Posted by jeremy (admin) Sep 08, 2009
- 1442 views
- Last edited Sep 09, 2009
The same rules for escaping HTML apply inside attribute values as well. <>&" and ' must be escaped.
Also, having a URL with a " in it causes a server error.
Derek,
Do you have any ideas about escaping these values in the URL field? They are occurring in creole formatted texts, for instance, someone pastes into a creole link http://www.google.com/search?hl=en&source=hp&q=cessna+150&aq=f&oq=&aqi=g10 It really should be: http://www.google.com/search?hl=en&source=hp&q=cessna+150&aq=f&oq=&aqi=g10
Jeremy