473,382 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

XML parser error in firefox

I was working in a windows application where I need to generate a sample report. While forming my report, I was to get a input from a hardware which seems to be a string (it is some encoded string in some language not sure what??).
I drafted my xml with encoding is-8859-1.

>><RESULT_DESCRIPTION>HardwareIds String:<![CDATA["????Hc?t?"]]></RESULT_DESCRIPTION>

When i opened the xml in firefox, i got an error saying xml not formatted well pointing at the boxes in the string. but when i opened the same in IE, it did not generate error but printed the contents as it appeared. I also want firefox to do the same. I am not concerned of the string type or the encoded form. But i want it to be displayed with out error in firefox. My user uses only firefox. Is there anything I can do for my firefox to accept the data. I use firefox 7. I am just two days new to the xml. So any help with explanation would be fruitful .

Thanks in advance,
Sunil
Nov 3 '11 #1
1 2430
Dormilich
8,658 Expert Mod 8TB
do you define the XML encoding to be Latin-1? the default encoding is UTF-8 and some misinterpreted Latin-1 characters may result in invalid UTF characters (see below) which leads to invalid XML.

from the specs
/* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. */
Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
Nov 3 '11 #2

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

Similar topics

2
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
5
by: Jerry | last post by:
I am using .Net 2003. I have been working with this ASP.Net webform that I created a few weeks ago. It has been working fine. However, while modifying the webform today, this webform stopped...
2
by: Jerry Tovar | last post by:
I am using .Net 2003 on a XP Pro using IIS. My IIS is configured to have it's root on our Network drive. I have been able to create ASP.Net webform up until now. For what ever reason, I am...
2
by: David R Emerson | last post by:
I could use some help. It seems a lot of people have problems getting Parser Errors in their asp.net apps, but my problem is a bit different: We have a couple developers working on a project...
6
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
5
by: Kenneth P | last post by:
Hi, I get a Parser Error message when I try to start my asp.net app. Parser Error Message: Could not load type 'DiskoWeb.dLogin'. I have a code behind file and it's class name is dLogin. ...
1
by: dotNetDave | last post by:
I keep getting the following error on one of my web service pages: Parser Error Parser Error Message: Could not create type 'SyPixx.Web.ClearService.ConfigureAlarms'. Source Error: Line 1: ...
3
by: filip.norrgard | last post by:
Hi All! I've been developing an ASP.Net 2.0 web application using the Visual Studio 2005 tools. Currently datagrids on a page are filled with data from a dataset (a .xsd file in the "project")...
1
by: onewaylife | last post by:
Hi all I am novice in XML. I have just started to creating PHP parser for XML files. I am using SAX. the file is : - <html> <head> <basefont face="Arial"> </head> <body> <?php
1
by: =?Utf-8?B?QWNl?= | last post by:
hello, i just converted old .net project (it was a solution with web project and class project) built in .net 1.0 and 1.1 framework to .net 2.0. as i expected, when i clicked on the solution file...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.