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/vi deopop.php ?vid='+vpi d+'&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/vi deopop.php ?vid='+vpi d+'&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=<?p hp bloginfo('url'); ?>';
xwidth = vpsize+110; xheight = (vpsize/1.3)+94;
lvp = window.open(url,'','top=10 0,left=100 ,status=0, location=0 ,width='+x width+',he ight='+xhe ight+'');
lvp.focus();
}
</script>
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/vi
Error Line 25 column 67: reference to entity "url" for which no system identifier could be generated.
....chrisvschris.com/wp/vi
# 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
xwidth = vpsize+110; xheight = (vpsize/1.3)+94;
lvp = window.open(url,'','top=10
lvp.focus();
}
</script>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.