Solved

Validation Error #1

Posted on 2006-10-30
1
170 Views
Last Modified: 2010-04-09
I'm trying to validate my site to meet sitescore's validation needs.  This single line of code incurs these errors:

Warning  Line 25 column 64: cannot generate system identifier for general entity "url".
...://www.chrisvschris.com/wp/videopop.php?vid='+vpid+'&url=http://www.chrisvschris.com/wp';

Error  Line 25 column 64: general entity "url" not defined and no default entity.
...://www.chrisvschris.com/wp/videopop.php?vid='+vpid+'&url=http://www.chrisvschris.com/wp';

Warning  Line 25 column 67: reference not terminated by REFC delimiter.
....chrisvschris.com/wp/videopop.php?vid='+vpid+'&url=http://www.chrisvschris.com/wp';

Error  Line 25 column 67: reference to entity "url" for which no system identifier could be generated.
....chrisvschris.com/wp/videopop.php?vid='+vpid+'&url=http://www.chrisvschris.com/wp';

# Info  Line 25 column 63: entity was defined here.
...tp://www.chrisvschris.com/wp/videopop.php?vid='+vpid+'&url=http://www.chrisvschris.com/wp';


This script seems to be the basis for these errors... any thoughts on how I can fix this up?

<script type="text/javascript">
function lynkVideoPop(vpsize,vpid){
url = '<?php bloginfo('url'); ?>/videopop.php?vid='+vpid+'&url=<?php bloginfo('url'); ?>';
xwidth = vpsize+110; xheight = (vpsize/1.3)+94;
lvp = window.open(url,'','top=100,left=100,status=0,location=0,width='+xwidth+',height='+xheight+'');
lvp.focus();
}
</script>

0
Comment
Question by:cstormer
1 Comment
 
LVL 84

Accepted Solution

by:
ozo earned 500 total points
ID: 17838817
& should be &amp;
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question