Link to home
Start Free TrialLog in
Avatar of Chris Stormer
Chris Stormer

asked on

Validation Error #1

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>

ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial