Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > <script> allowing more than one URI reference in SRC attribute?

Reply
Thread Tools

<script> allowing more than one URI reference in SRC attribute?

 
 
Axel Dahmen
Guest
Posts: n/a
 
      10-25-2007
Hi,

I just noticed that XING uses a strange notation in their <script> tag. Instead of using several <script> tags (one tag for each URI) they are using one single <script> tag having a comma separated list of URIs in its SRC attribute.

Is this valid HTML? Or is this some hidden but accepted feature? Or is this just something their web server uses to generate one single, big, JavaScript file?

Can someone please enlighten me?

TIA,
Axel Dahmen

 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      10-25-2007
On Oct 25, 9:43 am, "Axel Dahmen" <NO_S...@NoOneKnows.invalid> wrote:
> I just noticed that XING uses a strange notation in their <script> tag. Instead of using several <script> tags (one tag for each URI) they are using one single <script> tag having a comma separated list of URIs in its SRC attribute.


No, they have one URI which has commas in it.

> Is this valid HTML?


yes

> Or is this some hidden but accepted feature?


nothing hidden about it

> Or is this just something their web server uses to generate one single, big, JavaScript file?


What happens on the server is not transparent. That's a possible
scenario.

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

 
Reply With Quote
 
 
 
 
Axel Dahmen
Guest
Posts: n/a
 
      10-25-2007
I see... Thanks, David, for enlightening me!

Best regards,
Axel Dahmen


--------------
"David Dorward" <> schrieb im Newsbeitrag news: ups.com...
> On Oct 25, 9:43 am, "Axel Dahmen" <NO_S...@NoOneKnows.invalid> wrote:
> > I just noticed that XING uses a strange notation in their <script> tag. Instead of using several <script> tags (one tag for each URI) they are using one single <script> tag having a comma separated list of URIs in its SRC attribute.

>
> No, they have one URI which has commas in it.
>
> > Is this valid HTML?

>
> yes
>
> > Or is this some hidden but accepted feature?

>
> nothing hidden about it
>
> > Or is this just something their web server uses to generate one single, big, JavaScript file?

>
> What happens on the server is not transparent. That's a possible
> scenario.
>
> --
> David Dorward
> http://dorward.me.uk/
> http://blog.dorward.me.uk/
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.net.URI.relativize(java.net.URI) not really working Stanimir Stamenkov Java 1 08-17-2005 06:24 PM
Help with error: "Invalid URI: The format of the URI could not be determined." Simon Harris ASP .Net 0 05-10-2005 04:33 PM
Re: XSLT: Relative URI "my.dtd" can not be resolved without a base URI etheriau XML 1 08-23-2004 01:54 PM
XSLT: Relative URI "my.dtd" can not be resolved without a base URI Pavel XML 2 08-03-2004 11:40 PM
Invalid URI: The format of the URI could not be determined. Joe Curry ASP .Net Web Services 0 10-08-2003 04:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57