473,497 Members | 2,051 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Parser skipping data before &

2 New Member
i'm a nebie to XML world and I have a weird scenario. If my element looks like this <name>first&amp;last<\name>, the output of the parser is
"&last" instead of "first&last". I'm using xereces 2.5 (SAX parser) libs.

When i used CDATA,it worked perfectly but not sure why it's behaving weird.

Any help/ideas/suggestions would be appreciated.

Thanks in advance
Nov 8 '06 #1
1 1435
xmlnaive
2 New Member
i'm a nebie to XML world and I have a weird scenario. If my element looks like this <name>first&amp;last<\name>, the output of the parser is
"&last" instead of "first&last". I'm using xereces 2.5 (SAX parser) libs.

When i used CDATA,it worked perfectly but not sure why it's behaving weird.

Any help/ideas/suggestions would be appreciated.

Thanks in advance
NeverMind,i got it..thanks
Nov 8 '06 #2

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

Similar topics

2
1586
by: Balrog | last post by:
Hi! I wonder if anyone could give me some hints/pointers. This is what I'm trying to do: say, I have the following: - data (most likely XML) Example: <colour>red</colour> - data validation...
3
4678
by: 21novembre | last post by:
Hi all, I made a question several days before to describe my strange trouble of mysqldump. But I still can't figour it out. Well, I just want to ask another question whether I could just backup...
1
6054
by: Scott M. | last post by:
I have created a strongly typed dataset and populated it with data in my data layer. I have confirmed that the DataSet does, in fact contain my data and that there is a schema governing this data...
2
2118
by: Greg Strong | last post by:
Hello All, Is there any fix to apparent MDB file size bloat when creating data through the manipulation of recordsets in VB? I'm trying to create sample data by manipulating the raw data set...
2
1641
by: Scott Zabolotzky | last post by:
I've got an XML file that contains both a data section and a custom schema section. The data may represent only a subset of the parameters defined by the schema. I'm new to XSLT and I'm trying...
1
1899
by: Zytan | last post by:
http://msdn2.microsoft.com/en-us/library/system.exception.data(VS.80).aspx says: "Avoid key conflicts by adopting a naming convention to generate unique keys for key/value pairs. ... two...
0
1502
by: DC01 | last post by:
I have added a new measure successfully into the normal cube. I then add it to the virtual cube and reprocess all cubes. I can browse the normal cube successfully. Then when I try and browse the...
8
3901
by: ninuhadida | last post by:
hi there! This is actually my first post over here.. I thought i'd register since most answers to my common problems that i google up turn up to be in this site.. however I have a problem myself now....
3
4008
by: at_the_gonq | last post by:
Hello, I am hoping to get some guidance on the following scenerio: I have a password protected site where users have various permissions. Are sessions the best way of storing the user's id? ...
1
2049
by: crazygrey | last post by:
I'm using VC++ 2005 Express on Windows XP. I'm reading and writing parallel ports' pins. I'm using 10 outputs (D0-D6, C0,C2,C3) - a combination of data pins and control pins , and 6 inputs (D7,...
0
7121
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,...
0
6993
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...
0
7197
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...
1
6881
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...
0
7375
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...
0
5456
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,...
0
4584
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
287
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...

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.