You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Malin Ljungh <ma...@gmail.com> on 2007/06/29 09:11:56 UTC
T4.1: Valid XHTML and script assets
Hi,
I'm trying to get my pages to be valid XHTML 1.0 Transitional (or Strict).
A problem is that the ampersands in the script src values (e.g. for
dojo script resources) are not encoded with &
For example:
<script type="text/javascript"
src="/myApp/app?service=asset&path=%2Fdojo-0.4.3%2Fdojo.js"></script><script
type="text/javascript"
src="/myApp/app?service=asset&path=%2Fdojo-0.4.3%2Fdojo2.js"></script>
is not valid. & should be replaced with &
(I'm using http://validator.w3.org/ to validate.)
Is there any way to fix this?
/Malin
Re: T4.1: Valid XHTML and script assets
Posted by Malin Ljungh <ma...@kvadrat.se>.
Ah, thank you, I'll definitely the the friendly urls!
On 6/29/07, Andreas Andreou <an...@di.uoa.gr> wrote:
>
> you won't see those with friendly urls
> http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html
>
> O/H Malin Ljungh έγραψε:
> > Hi,
> >
> > I'm trying to get my pages to be valid XHTML 1.0 Transitional (or
> > Strict).
> >
> > A problem is that the ampersands in the script src values (e.g. for
> > dojo script resources) are not encoded with &
> > For example:
> > <script type="text/javascript"
> > src="/myApp/app?service=asset&path=%2Fdojo-0.4.3%2Fdojo.js
> "></script><script
> >
> > type="text/javascript"
> > src="/myApp/app?service=asset&path=%2Fdojo-0.4.3%2Fdojo2.js"></script>
> >
> > is not valid. & should be replaced with &
> > (I'm using http://validator.w3.org/ to validate.)
> >
> > Is there any way to fix this?
> >
> > /Malin
> >
>
> --
> Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
> Tapestry / Tacos developer
> Open Source / J2EE Consulting
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: T4.1: Valid XHTML and script assets
Posted by Andreas Andreou <an...@di.uoa.gr>.
you won't see those with friendly urls
http://tapestry.apache.org/tapestry4.1/usersguide/friendly-urls.html
O/H Malin Ljungh έγραψε:
> Hi,
>
> I'm trying to get my pages to be valid XHTML 1.0 Transitional (or
> Strict).
>
> A problem is that the ampersands in the script src values (e.g. for
> dojo script resources) are not encoded with &
> For example:
> <script type="text/javascript"
> src="/myApp/app?service=asset&path=%2Fdojo-0.4.3%2Fdojo.js"></script><script
>
> type="text/javascript"
> src="/myApp/app?service=asset&path=%2Fdojo-0.4.3%2Fdojo2.js"></script>
>
> is not valid. & should be replaced with &
> (I'm using http://validator.w3.org/ to validate.)
>
> Is there any way to fix this?
>
> /Malin
>
--
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org