[opencms-dev] How to encode URL parameters in InternalLinks (in News Article for example)
Christian Steinert
christian_steinert at web.de
Wed Sep 6 00:39:57 CEST 2006
Martin Bednář schrieb:
> How to encode URL parameters in InternalLinks (in News Article for
> example).
> I need it for example for adding google analytics parameters to URLs.
> When I set InternalLink to something like:
> /index.jsp?__locale=en&previous=/Category/Item1.html and save document.
>
> Error occured:
> Unmarshalling xml document failed.
> Reason: Error on line 18 of document : The reference to entity "lang"
> must end with the ';' delimiter. Nested exception: The reference to
> entity "lang" must end with the ';' delimiter.
>
> I trying use & entity but it has no effect.
>
> Thank you for advice
> Martin
Please check, if you have really replaced all locations of & with &
There must be a place, where it says sth. like
...&lang=
Also, there is a line number in your error message, so check line 18 of
your xml file.
christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060906/946c4a37/attachment.bin>
More information about the opencms-dev
mailing list