Solved

Validation Error #1

Posted on 2006-10-30
1
167 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now