W3C home > Mailing lists > Public > www-validator@w3.org > June 2010

ILLEGAL_CHARACTER in QUERY in CSS and JS tags

From: Mr. Phillip R. Boushy <phillip.boushy@philtechlv.com>
Date: Fri, 11 Jun 2010 11:00:06 -0700
Message-Id: <1FB684B0-01BE-45C5-9E17-64EEACF4B0F3@philtechlv.com>
To: www-validator@w3.org
Website URL: http://bikramgreenvalley.com/Main_Content/FAQ.php

I receive the following validation output error:
Line 10, Column 175: Bad value /Parts/GenerateFiles/MakeFiles.php?name=ToggleDL&type=text/javascript&path=Parts/ToggleDL&js[]=ToggleDL for attribute src on element script: ILLEGAL_CHARACTER in QUERY.
…vascript&amp;path=Parts/ToggleDL&amp;js[]=ToggleDL" id="ToggleDLid"></script>		
Syntax of IRI reference:
Any URL. For example: /hello, #canvas, or http://example.org/. Spaces should be escaped as %20.

Here is the exact line of code:
<script type="text/javascript" src="/Parts/GenerateFiles/MakeFiles.php?name=ToggleDL&amp;type=text&#47;javascript&amp;path=Parts/ToggleDL&amp;js[]=ToggleDL" id="ToggleDLid"></script>

I cannot tell if I need to escape a character in my url somehow, or if this is an error with the HTML5 Validation engine.

I did not receive an error in the XHTML 1.1 Validator.


Thank you,
Phillip Boushy
Received on Monday, 14 June 2010 08:30:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:41 GMT