On 25 Jun 2010, at 12:32, Nancy Johnson wrote: > Besides ampersands, I worked on a dynamic site that the convention was > to add a (+) sign in the friendly URL. The plug takes the page title > and puts the (+) sign between words.
This is fine. A plus just means a space. in a form encoded URL. > The W3C validator tells me to convert to & and produces 163 errors > per page, a site that validated up to the point of the friendly URL > was added. There are also URLs to searches that don't validate for > other reasons. It will tell you that &something is an error. It won't tell you that a + is though. > I work as part of a team and had no say in the decision. Sounds like a badly managed team. > So now, if I ask for help on certain email lists, and all I get is > that your page doesn't validate. I no longer get any help for the > question I ask which has nothing to do with why the page isn't > validating. This is fair. You ask for free support, but provide test data that doesn't pass basic, automated QA tests. It doesn't really motivate people to help. (BTW, if you really have to work in such a poor environment, you can produce a reduced test case and ask people to help with that instead of your original (invalid) page) > As more and more pages are generated dynamically with CMS in place, > using friendly URL's or using markers as described below, should this > be something the the W3C validator addresses? No, it should be something the CMSs address. There is absolutely no reason for them not to run non-HTML data through X before inserting it into a document. (Where X is http://search.cpan.org/perldoc?HTML::Entities or http://php.net/htmlspecialchars or whatever is the usual tool for the language the CMS is using). A CMS doesn't even have one of the favourite excuses of the hand crafter — it isn't a lot of manual work! -- David Dorward http://dorward.me.uk ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [email protected] *******************************************************************
