Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Thanks Mapquest, for making my page fail validation! 7

Status
Not open for further replies.

JediBMC

MIS
Dec 5, 2003
178
US
I put a great deal of emphasis on creating pages that are 100% validated HTML 4.01 Strict. My latest site makes that mark, with one exception. I am not sure if this is a problem with the way Mapquest URLs are formulated, with the validator, or both.

Basically, one of my pages is failing due to the link on it that leads to a Mapquest map. The URL for the mapquest map is:
Code:
[URL unfurl="true"]http://www.mapquest.com/maps/map.adp?address=445+W+ACACIA+ST&city=STOCKTON&state=CA&zipcode=95203&country=US&cid=lfmaplink[/URL]

Of course, the URL is maintained in quotation marks, so I would think that the validator would simply skip it and the use of the "&". Unfortunately, that is not the case. My page fails validation due to the "&" and the unknown entities that follow it.

So is the validator wrong?

Everything else on the page validates perfectly, so assuming that the validator has a flaw, should I go ahead and mark the page (show the icon) as being validated HTML 4.01 Strict?

Here is a link to the site. {click}
Here is the specific page that is failing.{click}

Any site critiques are also welcome!

-Brian-
I'm not an actor, but I play one on TV.
 
Change your ampersands to read "&" instead of just "&"


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
use & instead of & in your links and you will pass validation

-kaht

[small]How spicy would you like your chang sauce? Oh man... I have no idea what's goin' on right now...[/small]
[banghead]
 
You are both correct. For some reason I was thinking that having that in quotation marks would make a difference... none the less, it has been changed.

-Brian-
I'm not an actor, but I play one on TV.
 
Glad you got it working, but I really think foamcow deserves a star.

-kaht

[small]How spicy would you like your chang sauce? Oh man... I have no idea what's goin' on right now...[/small]
[banghead]
 
<Oprah's Voice> Everybody gets a star! Everybody gets a star!</Oprah's Voice>

Can't reward only one of the three that gave the same answer!

-Brian-
I'm not an actor, but I play one on TV.
 
One more thing to bare in mind; if you use &amp; instead of & you'll pass validation!

;-)

Rob
 
Oi - my answer was first and it was &copy;!


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
You can't walk into the show after and expect a car
star.gif
!

-Brian-
I'm not an actor, but I play one on TV.
 
Oh, in case anyone else comes across this problem, I realized that if I use &amp; instead of &, it validates perfectly.

-Brian-
I'm not an actor, but I play one on TV.
 
Goon on you for posting the solution, Brian. A star for your troubles ;-)

I've been racking my brains for a while trying to fix my page with the same error, and now I see that clearly, I should have used &amp; instead of &.

Dan

Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top