473,804 Members | 3,196 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

An error occured while Parsing an XML document

2 New Member
do you have a solution to this problem

<cfset monxml=xmlparse (tempfile)>

An error occured while Parsing an XML document.
Aug 7 '07 #1
3 7216
acoder
16,027 Recognized Expert Moderator MVP
do you have a solution to this problem

<cfset monxml=xmlparse (tempfile)>

An error occured while Parsing an XML document.
Could you post the XML file that you are using? Have you checked that it is valid XML?
Aug 7 '07 #2
shwethapakala
1 New Member
hai,

am getting an issue " content is not allowed in prolog" while using XMLparse".Could anyone please help me out in resolving this issue as early as possible.needed urgently
Sep 25 '07 #3
acoder
16,027 Recognized Expert Moderator MVP
hai,

am getting an issue " content is not allowed in prolog" while using XMLparse".Could anyone please help me out in resolving this issue as early as possible.needed urgently
Welcome to TSDN!

You've probably got something invalid in your XML. Show you code and XML.
Sep 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
7360
by: Bekkali Hicham | last post by:
hi, i have already used xalan several times with success, but i have a error message that i don't understand, thanks for your help (Emplacement inconnu de l'erreur) Erreur XSLT (javax.xml.transform.TransformerConfigurationException): javax.xml.transform.TransformerException: java.io.UTFData FormatException: Invalid byte 2 of 3-byte UTF-8 sequence. thanks
5
2752
by: DU | last post by:
Hi! I really need to understand what is so-called browser error correction mechanisms. Can you explain this? I read somewhere (and I no longer can find where I read that) that browsers try to render as best as they can elements (and/or attribute too? can't remember) that they ignore. e.g.: I know that fieldset will be rendered as a block level element in NS 4.7+, almost just like div.
0
1578
by: Deep Purple | last post by:
I started with the following error... ------------------------------------------------------- An error occured while loading the schema with TargetNamespace 'http://www.w3.org/2001/XMLSchema' referenced in this document. The value for the 'base' attribute is invalid - 'xsd:string' is an invalid value for the 'base' attribute. An error occured at the file:///C:Program Files/Microsoft Visual Studio .NET 2003...
3
9444
by: Raed Sawalha | last post by:
Hello when I serialize an object an error generated using this function public string SerializeObject(object oClassObject,System.Type oClassType) { XmlSerializer oSerializer = new XmlSerializer(oClassType); System.Text.StringBuilder strBuilder = new System.Text.StringBuilder(); System.IO.TextWriter writer = new System.IO.StringWriter(strBuilder); try { oSerializer.Serialize(writer,oClassObject); }
1
2156
by: John Mason | last post by:
I have a file name in my app.config file which contains the & character. <appSettings> <!-- User application and configured property settings go here.--> <!-- Connection string values --> <add key="ExcelFileName" value="T:\HR & Development\Personnel\Weekly Report\Weekly Report.XLS" /> When I try to read this in my app, I get an 'error occured while parsing EntityName'. Now I've found out that this is a known problem, but how do I
1
2775
by: pbd22 | last post by:
hi. for some reason i am not able to navigate the dom. i keep getting the 'no properties' error but i think i am doing everything right. this is an XML response from an AJAX call. The ajax method to call the server code looks like this. i am passing a cookie as a parameter:
2
17400
by: pbd22 | last post by:
Hi. I have an event handler in VB.NET that gets called several times. The output of the event handler is XML that is being called by an xmlhttp request from the client. I am using a stringbuilder to create the XML document by appending the various parts: sbhtml.Append("<Some XML Tag>")
0
2273
by: palabat | last post by:
Hello. I'm getting this error , "XML error parsing SOAP payload : Empty Document" when I try to execute a NuSOAP client in consuming a .NET web service. The response from the web service server looks fine - I can see the line of data from the SOAP response. The problem is in the parsing of the SOAP response from the server. I noticed that the xml_parse() function returns FALSE all the time during the parsing. Please HELP. Thanks. palabat
1
10249
by: Morag | last post by:
I need to retrieve some data from an xml document using a web server, it's not working so I took out everything that was not necessary and put everything back line by line until I hit the problem, I found out which line was causing the problem and so I've created a cfm to test it and it gets the error " Content is not allowed in prolog." Here's the test file: <cfsilent> <cfset xmlFileAddress = Expandpath("XMLcoursework.xml")> <cffile...
0
9706
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
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10578
Oralloy
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...
0
10332
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
10321
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,...
1
7620
isladogs
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...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2991
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.