This is coming up
Invalid PI name <?XML version="1.0" encoding="UTF-8"?>
XML declaration allowed only at the start of the document
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?> is at the start of my dcument. Can someone help?
8 15620
Put all that in lower case.
I tried that but the error is still coming up.
Need the complete markup then.
- <?xml version="1.0" encoding="utf-8"?>
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
<html xmlns="http://www.w3.org/1999/xhtml">
-
<head>
-
<title>Resume</title>
-
<style type="text/css">
-
-
hr {color:black;}
-
body {background-color:#B3BCC6;color:black;}
-
h1 {text-align:center;font-family: Lucida, sans-serif;}
-
h1 {border:2px solid;outline:black thick;}
-
p.email {text-align:right;}
-
p {font-family: Lucida, sans-serif;}
-
#para1, #para2, #para3, #para4
-
{text-;color:black;font-weight: 700;font-size: 14pt;font-family: Lucida, sans-serif;}
-
#para5 {font-family: Lucida, sans-serif;}
-
ul {font-family: Lucida, sans-serif;}
-
li {font-family: Lucida, sans-serif;}
-
dd {font-family: Lucida, sans-serif;}
-
ul.a {list-style-type: none;}
-
#para6 {position:absolute;right:30px;top:25px;}
-
#para7 {position:absolute;right:30px;top:450px;}
-
#para8 {position:absolute;right:30px;top:535px;}
-
#para9 {position:absolute;right:30px;top:630px;}
-
#para10 {position:absolute;right:30px;top:1110px;}
-
-
</style>
-
</head>
-
<body>
-
<div id="header"/>
-
-
<ul class="a">
-
<li><a href="home.html">Home</a></li>
-
<li><a href="education.html">Education</a></li>
-
</ul>
-
-
<p id="para6" style="font-weight:500"><b>550 Glenaire Drive, Hope, British Columbia, V0X 1L4, <a href="mailto:autumnrrr@yahoo.com" >Email</a></b></p><br/>
-
-
<h1 align="center">Autumn Rothwell</h1>
-
<br/><br/>
-
-
<hr size="3" noshade="noshade"/>
-
<p id="para1" align="left">Objective:</p>
-
<hr size="3" noshade="noshade"/>
-
-
<p id="para5" align="left">To secure a challenging and resposible position, where I can further my skills, gain additional knowledge and earn the funds to pay my way through university.</p>
-
<br/><br/>
-
-
<hr size="3" noshade="noshade"/>
-
<p id="para2" align="left">Work Experience:</p>
-
<hr size="3" noshade="noshade"/>
-
-
<p><b>BE Pressure, Abbotsford B.C.</b></p>
-
<p id="para7"><b>Present</b></p>
-
-
-
-
<dl>
-
<dd>- Shipper</dd>
-
<dd>- Forklift operator</dd>
-
</dl>
-
-
<p><b>City Wide, Abbotsford B.C. </b></p>
-
<p id="para8"><b>2008 - 2009</b></p>
-
-
<dl>
-
<dd>- Forklift operator</dd>
-
<dd>- Pallet Builder</dd>
-
</dl>
-
-
<p><b>A & W, Hope B.C.</b></p>
-
<p id="para9"><b>2003 - 2008</b></p>
-
-
-
<dl>
-
<dd>- Manager</dd>
-
</dl>
-
<br/><br/>
-
-
-
<hr size="3" noshade="noshade"/>
-
<p id="para3" align="left">Interests:</p>
-
<hr size="3" noshade="noshade"/>
-
-
<ul>
-
<li>Traveling</li>
-
<li>Documentaries</li>
-
<li>Soccer</li>
-
<li>Basket Ball</li>
-
</ul>
-
<br/><br/>
-
-
<hr size="3" noshade="noshade"/>
-
<p id="para4" align="left">Additional Information:</p>
-
<hr size="3" noshade="noshade"/>
-
-
<ul>
-
<li>Forklift Ticket</li>
-
<li>WHIMIS</li>
-
<li>Food Safe Certificate</li>
-
</ul>
-
-
<p id="para10">™</p>
-
-
</body>
-
</html>
What are you using to validate this and to get this error? You aren't doing anything wrong and the W3C validator does not flag any errors.
- Start tag expected, '<' not found
-
-
<?xml version="1.0" encoding="UTF-8"?>
It says no < start tag but shows my code and it had a start tag, there for sure IS a start tag in my code so I dont understand.
I copy/pasted it into the validator and don't get the error at all. I'm thinking you are getting the utf BOM (Byte-Order-Mark) from your editor. What editor are you using? Check its settings to see if you are saving it as utf-8 or not. Is there anything about the BOM in the settings? If you view the xml in a browser, do you see any funny characters in the top left corner?
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Mike Kennedy |
last post by:
I have an XML Snippet <?xml version="1.0" encoding="UTF-8"?> and when I
convert the entire xml file to a DOM and then generate a new file from
the DOM, results in <?xml version="1.0"?>.
Any thoughts?
My sample code snippet is:
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.parse(in.xml);
FileWriter file = new FileWriter(out.xml);
|
by: peter |
last post by:
When I transform a dataset to a xml file by applying a
xslt file, why by default, a "encoding="utf-8" ?" is
added to the output file?How to get rid of it?
Thanks
|
by: LP |
last post by:
Hi,
My webservice is currently deployed on WIndows 2000 server and runs pretty
fine. I am trying to run my webservice on a Windows 2003 server. My
webservice tries to write to a eventlog. The code is as follows:
System.Diagnostics.EventLog Log = new System.Diagnostics.EventLog(
EventLogName );
Log.Source = EventLogName;
Log.WriteEntry( "PCHistory Service Application started up successfully.",
|
by: Daniel |
last post by:
how to parse <?xml version="1.0" encoding="UTF-8"?> with xpath? is it
possible?
|
by: BillAtWork |
last post by:
Hi,
I'm trying to validate an XML document against an XSD schema and I receive
the following error:
----------
MyCode.CreateValidRequest : System.Web.Services.Protocols.SoapException :
Validation error: The element 'http://xmlns.somewhere.com/something:rDetail'
cannot contain text. Expected 'http://xmlns.somewhere.com/something:AList'.
An error occurred at , (1, 533).
----------
| |
by: eric.goforth |
last post by:
Hello,
I'm calling a VB.NET 2003 dll that's registered in COM+. I've added a
reference to it in a VB6 DLL that I'm calling from a Classic ASP page.
Previously I was able to attach to my .NET dll and debug it. I haven't
been able to do this in a while and I'm thinking that it must be
because I've installed VS 2005 on my machine subsequently.
So in my C:\Program Files\Microsoft Visual Studio\VB98 directory I
added a file called...
|
by: dazedandconfused |
last post by:
Building a site for a client, loaded it up, it works fine in Firefox but presents the below message when loading into ie 6 or ie 5, fine in 7 I think, but the client can not even view it in 7.
So what is going on?
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
|
by: jariwaladivyesh |
last post by:
Hi frnds,
i have simple XML doc
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<data>
<name> Divyesh Jariala</name>
</data>
|
by: vhrao |
last post by:
I want to Encrypt and Decrypt different elements of xml file with different RSACryptoServiceProvider keys
RSACryptoServiceProvider rsaKey = new RSACryptoServiceProvider(cspParams);
string publicKey = rsaKey.ToXmlString(false);
RSACryptoServiceProvider rsaKey2 = new RSACryptoServiceProvider(cspParams2);
string publicKey2 = rsaKey2.ToXmlString(false);
Here is my data file I want to encrypt:
<?xml version="1.0" encoding="utf-8" ?>
<root>...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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,...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |