1. XHTML and CSS Validation

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:

home

forum

wiki < this is the weirdest case, with the validator reporting a 404:page not found error. ?!?!

new topic     » topic index » view message » categorize

2. Re: XHTML and CSS Validation

euphoric said...

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: XHTML and CSS Validation

The forum index now validates:

This document was successfully checked as XHTML 1.0 Transitional!

Jeremy

new topic     » goto parent     » topic index » view message » categorize

4. Re: XHTML and CSS Validation

jeremy said...

The forum index now validates:

Not any more ... sad

It doesn't like all the &#187 entities because they don't end with a semi-colon.

new topic     » goto parent     » topic index » view message » categorize

5. Re: XHTML and CSS Validation

DerekParnell said...
jeremy said...

The forum index now validates:

Not any more ... sad

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: XHTML and CSS Validation

Forum message threads now validate:

This document was successfully checked as XHTML 1.0 Transitional!

Jeremy

new topic     » goto parent     » topic index » view message » categorize

7. Re: XHTML and CSS Validation

DerekParnell said...

Not any more ... sad

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

new topic     » goto parent     » topic index » view message » categorize

8. Re: XHTML and CSS Validation

euphoric said...

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:

home

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 &amp; I guess we could do it in software, but what a silly thing.

Jeremy

new topic     » goto parent     » topic index » view message » categorize

9. Re: XHTML and CSS Validation

jeremy said...

Can you give me a URL that you are looking at?

I checked it two ways.

  1. Using Opera, I went to the forum index page and right-clicked to get a context menu, then selected "Validate".
  2. 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.

new topic     » goto parent     » topic index » view message » categorize

10. Re: XHTML and CSS Validation

DerekParnell said...

I checked it two ways.

  1. Using Opera, I went to the forum index page and right-clicked to get a context menu, then selected "Validate".
  2. 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

new topic     » goto parent     » topic index » view message » categorize

11. Re: XHTML and CSS Validation

DerekParnell said...

Not any more ... sad

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

new topic     » goto parent     » topic index » view message » categorize

12. Re: XHTML and CSS Validation

jeremy said...
euphoric said...

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:

home

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.

new topic     » goto parent     » topic index » view message » categorize

13. Re: XHTML and CSS Validation

CoJaBo said...

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&amp;q=cessna+150&amp;aq=f&amp;oq=&amp;aqi=g10

Jeremy

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu