473,756 Members | 6,106 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Character & not allowed

As per W3C validator,
I replaced all & that appeared into URL or links with "&" in this
webpage:
www.roberto089.com/press_089.html

I still get two similar errors:

Line 50, Column 92: character "&" not allowed in attribute
specification list.
....bloomberg.c om/apps/news?
pid=20601099"&a mp;"refer=dine" &"sid=ab982 jyHudKg"
Thanks for help

Apr 10 '08 #1
2 5035
On 4/10/2008 3:06 PM, Freightliner wrote:
As per W3C validator,
I replaced all & that appeared into URL or links with "&" in this
webpage:
www.roberto089.com/press_089.html

I still get two similar errors:

Line 50, Column 92: character "&" not allowed in attribute
specification list.
...bloomberg.co m/apps/news?
pid=20601099"&a mp;"refer=dine" &"sid=ab982 jyHudKg"
Thanks for help
In both cases, the & are parts of URIs. The quotes around them
should be removed. The way you have coded this, each URI begins with
"href=" and ends just before the first &amp.

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.
Apr 10 '08 #2
On 4/10/2008 3:43 PM, David E. Ross wrote:
On 4/10/2008 3:06 PM, Freightliner wrote:
>As per W3C validator,
I replaced all & that appeared into URL or links with "&amp;" in this
webpage:
www.roberto089.com/press_089.html

I still get two similar errors:

Line 50, Column 92: character "&" not allowed in attribute
specificatio n list.
...bloomberg.c om/apps/news?
pid=20601099"& amp;"refer=dine "&amp;"sid=ab98 2jyHudKg"
Thanks for help

In both cases, the &amp; are parts of URIs. The quotes around them
should be removed. The way you have coded this, each URI begins with
"href=" and ends just before the first &amp.
Also, remove the terminal / from the ends of tag declarations. These
generally belong only for XHTML or within URIs.

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.
Apr 10 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
19828
by: Kaidi | last post by:
Hello guys, I get the "an invalid XML character" error when using xerces to parse a XML file. I know that XML will correspond the &, <, >, " to special strings like "&gt;&lt;". However, how about if the XML file really needs to contain some text like: "&#x3;&#x4;&#x14;&#x8;&#x8;"? (as content of a tag) The story is: I am writing a program to parse some XML files from another program. In that program, it graps webpages, and saves the pages'...
4
37689
by: Krishna A.M | last post by:
Hi, How do i add a hyperlink to a email id having special characters? I tried the same , say mailto: test_&_send@hoohoo.com IN the to box i can see only till test_ and the rest is omitted. Any ideas how the tags could be bypassed? Though i am not a web page designer, I tried &amp; but with no luck. Any help would be highly appreciated.
2
1591
by: snthampi | last post by:
I have a C# asp.net project in which I create meta keywords dynamically. I have a problem with "&" character. When the page is rendered, the "&" character is converted into "&amp;". Is there any way to stop this? Any help with this issue will be highly appreciated. Thanks in advance, Nagendran snthampi@gmail.com http://www.onlinemall.com
5
1970
by: Dadi | last post by:
Hi, My native language is Icelandic and I´m making a web service that returns results that contain many Icelandic characters. This works fine, however, when I return a soap:Fault, the string in the faultstring element has the Icelandic characters encoded like "réttindi", where "é" is an Icelandic accented character. Does anyone know why? If so, how do I deal with this?
11
1977
by: BenI | last post by:
Hello, I have a XML file using Iso 8859-1 encoding. Every time when I try to put & character as Tag's value like <tag>This is & character</tag> Exception is shown in my application. I use XMLDocument reader in .NET platform. How should people code & character as an ordinary data character? I don't mean any platform dependent solution just XML's point of view.
15
11010
by: wizardyhnr | last post by:
i want to try ANSI C99's unicode fuctions. so i write a test program. the function is simple, but i cannot compile it with dev c++ 4.9.9.2 under windows xp sp2, since the compiler always think that the initialization of the wchar_t string is illegal. here is my function: #include <stdio.h> #include <stdlib.h> #include <wchar.h> #include <wctype.h> #include <string.h>
44
9491
by: Kulgan | last post by:
Hi I am struggling to find definitive information on how IE 5.5, 6 and 7 handle character input (I am happy with the display of text). I have two main questions: 1. Does IE automaticall convert text input in HTML forms from the
18
2763
by: R. P. | last post by:
I wonder how to indicate in a stylesheet that character entities in an element are not to be transformed as would be the case in XML-to-XML transforms. I want to keep those &amp; &quot; and other character entities in the output as they are in the input. My stylesheet converts them the '&' etc., making the output XML not formed properly. R.P
7
2575
by: tempest | last post by:
Hi all. This is a rather long posting but I have some questions concerning the usage of character entities in XML documents and PCI security compliance. The company I work for is using a third party ecommerce service for hosting its online store. A few months ago this third party commerce site began using PGP file encryption on XML files (e.g. web orders) transferred to us as part of the ongoing PCI security compliance.
0
9454
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9868
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9836
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9707
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8709
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5139
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3352
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2664
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.