You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

XHTML validation errors due to single use of ">" Created Aug 28, 2010

This thread is solved

Views: 1178     Replies: 2     Last reply Sep 16, 2010  
You must login first before you can use this feature

lamc2007

Posts: 39

Registered:
Apr 8, 2010

XHTML validation errors due to single use of ">"

Posted: Aug 28, 2010

Hi all - this script won't validate to XHTML transitional due to the use of the character "<" which the validator thinks is the first character of a delimiter occurring as data.

Does anyone know how to get around this? I tried encrypting but no joy there.

THE SCRIPT
<script language="JavaScript" type="text/javascript">
$f("player", http://MY URL/player.swf", {
clip: {baseUrl: 'http://MY URL/flv', autoPlay: true, autoBuffering: true
}
});
var links = document.getElementById("videos").getElementsByTagName("a");
for (var i = 0; i < links.length; i++) {
links[i].onclick = function() {
$f().play(this.getAttribute("href", 2));
return false;
}
}
</script>

lamc2007

Posts: 39

Registered:
Apr 8, 2010

» XHTML validation errors due to single use of ">"

Posted: Aug 29, 2010

Reply to: XHTML validation errors due to single use of ">", from lamc2007
could still do with an answer to this one....

sherrybradford

Posts: 1

Registered:
Aug 9, 2010

» XHTML validation errors due to single use of ">"

Posted: Sep 16, 2010

Reply to: XHTML validation errors due to single use of ">", from lamc2007
I have a similar issue. We need to pull this into Documentum Web Publisher and create a template around it. When we try to do that, it converts the code to less than strict xhtml and causes a significant portion of the code to be interpreted as text instead of code. IE is happy and works fine (go figure!) but then Mozilla chokes because it wants to truly see strict xhtml.