HighDots Forums  

DW MX replaces & in url. why?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss DW MX replaces & in url. why? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Wim Huls
 
Posts: n/a

Default DW MX replaces & in url. why? - 07-12-2004 , 09:48 AM






Hi,

I am using Dreamweaver MX. I tried to replace & by & in links to get
my document validated by W3org/validator, but when saving the file
Dreamweaver replaces them again by a &.

What can I do about it?

Thanx,
Wim

Reply With Quote
  #2  
Old   
Linda Rathgeber-TMM
 
Posts: n/a

Default Re: DW MX replaces & in url. why? - 07-12-2004 , 10:51 AM






Wim Huls wrote:
Quote:
Hi,

I am using Dreamweaver MX. I tried to replace & by & in links to get
my document validated by W3org/validator, but when saving the file
Dreamweaver replaces them again by a &.

What can I do about it?
Non-alphanumeric characters, a space, or +, or & are illegal in file or
directory names. Maybe that's DW's means of nagging at you.

--
Cheers,
Linda Rathgeber
----------------------------------------------------------------------
Learn Fireworks Visual Effects with "RAZZLE DAZZLE"
http://www.webdevbiz.com/pwf/
Victoriana | http://www.projectseven.com
Playing with Fire | http://www.playingwithfire.com
Team MM Fireworks Volunteer | www.macromedia.com/go/team
----------------------------------------------------------------------



Reply With Quote
  #3  
Old   
Wim Huls
 
Posts: n/a

Default Re: DW MX replaces & in url. why? - 07-12-2004 , 11:29 AM



Linda Rathgeber-TMM wrote:

Quote:
Wim Huls wrote:

Hi,

I am using Dreamweaver MX. I tried to replace & by & in links to get
my document validated by W3org/validator, but when saving the file
Dreamweaver replaces them again by a &.

What can I do about it?


Non-alphanumeric characters, a space, or +, or & are illegal in file or
directory names. Maybe that's DW's means of nagging at you.

Thank you. I found a solution already. I replaced the & by &.
Now the page validates.

Wim


Reply With Quote
  #4  
Old   
GregL
 
Posts: n/a

Default Re: DW MX replaces & in url. why? - 07-12-2004 , 05:20 PM



Wim Huls <wim.huls (AT) nospamhome (DOT) nl> wrote

Quote:
Hi,

I am using Dreamweaver MX. I tried to replace & by &amp; in links to get
my document validated by W3org/validator, but when saving the file
Dreamweaver replaces them again by a &.

What can I do about it?

Thanx,
Wim
You don't want that changed in the URL/link. You want the content to
reflect &amp;. The & is how strings are put together in many URL's.
I think you may be misunderstanding the message that W3org is giving
you.


Reply With Quote
  #5  
Old   
Wim Huls
 
Posts: n/a

Default Re: DW MX replaces &amp; in url. why? - 07-12-2004 , 06:33 PM



GregL wrote:

Quote:
Wim Huls <wim.huls (AT) nospamhome (DOT) nl> wrote


Hi,

I am using Dreamweaver MX. I tried to replace & by &amp; in links to get
my document validated by W3org/validator, but when saving the file
Dreamweaver replaces them again by a &.

What can I do about it?

Thanx,
Wim


You don't want that changed in the URL/link. You want the content to
reflect &amp;. The & is how strings are put together in many URL's.
I think you may be misunderstanding the message that W3org is giving
you.
I don't think I misunderstood things. I quote from
<http://www.htmlhelp.com/tools/validator/problems.html#amp>:

"To avoid problems with both validators and browsers, always use &amp;
in place of &:"

Wim


Reply With Quote
  #6  
Old   
Linda Rathgeber-TMM
 
Posts: n/a

Default Re: DW MX replaces &amp; in url. why? - 07-12-2004 , 08:39 PM



Have you tried %26amp ?

--
Cheers,
Linda Rathgeber
----------------------------------------------------------------------
Learn Fireworks Visual Effects with "RAZZLE DAZZLE"
http://www.webdevbiz.com/pwf/
Victoriana | http://www.projectseven.com
Playing with Fire | http://www.playingwithfire.com
Team MM Fireworks Volunteer | www.macromedia.com/go/team
----------------------------------------------------------------------


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.