Solved

Validation Error #1

Posted on 2006-10-30
1
171 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 84

Accepted Solution

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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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 tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

752 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