I've wondered about this as well, so I looked it up:Stanton wrote:The two 8 digit numbers would be the ticket numbers for the respective tickets. No sure what the "&" means, typo maybe? Never seen a typed MVC report before.
They're talking about urls, but I'd guess that it apply's in normal text as well?Ampersands (&'s) in URLs
Another common error occurs when including a URL which contains an ampersand ("&"):
<!-- This is invalid! --> <a href="foo.cgi?chapter=1§ion=2©=3&lang=en">...</a>
This example generates an error for "unknown entity section" because the "&" is assumed to begin an entity reference. Browsers often recover safely from this kind of error, but real problems do occur in some cases. In this example, many browsers correctly convert ©=3 to Ãƒâ€šÃ‚Â©=3, which may cause the link to fail. Since ⟨ is the HTML entity for the left-pointing angle bracket, some browsers also convert &lang=en to ÃƒÂ£Ã‚â‚¬Ã‚Ë†=en. And one old browser even finds the entity §, converting §ion=2 to Ãƒâ€šÃ‚Â§ion=2.
To avoid problems with both validators and browsers, always use & in place of & when writing URLs in HTML:
Note that replacing & with & is only done when writing the URL in HTML, where "&" is a special character (along with "<" and ">"). When writing the same URL in a plain text email message or in the location bar of your browser, you would use "&" and not "&". With HTML, the browser translates "&" to "&" so the Web server would only see "&" and not "&" in the query string of the request.
- Similar Topics
Users browsing this forum: No registered users and 8 guests