473,386 Members | 1,842 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,386 software developers and data experts.

XML parser

Hello all,

As I don't have any experience with XML parsers, I'm looking for your
advice in this group.
In the project I'm involved with, we are dealing with parsing of XML
messages that are coming from server. The parser that we are currently
using is not able to:
- parse non-ASCII Unicode text
- parse unary XML elements
- parse the text block between XML elemnts
- handle specific characters, like '

I need to find a good XML parser that will be integrated in the plug
for server, so could you make me some suggestion?

Thank you a lot,
Aleksandra

Dec 8 '06 #1
2 2205
Alex wrote:
As I don't have any experience with XML parsers, I'm looking for your
advice in this group.
In the project I'm involved with, we are dealing with parsing of XML
messages that are coming from server. The parser that we are currently
using is not able to:
- parse non-ASCII Unicode text
- parse unary XML elements
- parse the text block between XML elemnts
- handle specific characters, like '
This sounds like a prototype parser that simply
parses some ASCII-tags and not more.
I need to find a good XML parser that will be integrated in the plug
for server, so could you make me some suggestion?
This question has been answere here many times.
Use Google to search for answers in the Google
archive of this newsgroup. The answer depends
on the Operating System you are using, the programming
language you are using and the parsing concept (DOM or SAX).
Dec 8 '06 #2
Alex wrote:
The parser that we are currently using is not able to:
- parse unary XML elements
- parse the text block between XML elemnts
- handle specific characters, like '
Then it isn't an XML parser. (I'm willing to let folks cheat on the
"only ASCII" issue, though that's a Bad Idea, but an XML parser has to
support XML syntax.)

Good parsers certainly exist. I'm biased since I've contributed to it,
but my first suggestion for a general-purpose parser in either Java or
C++ would be Xerces, available from Apache; IBM's main current product
parser is a somewhat enhanced version of the Xerces code.

But there are certainly lots of other parser packages. Even the W3C has
given up trying to track them all, and just suggests you do a websearch
for "XML parser" combined with the language(s) you're interested in.

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Dec 8 '06 #3

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

Similar topics

13
by: Paulo Pinto | last post by:
Hi, does anyone know of a Python package that is able to load XML like the XML::Simple Perl package does? For those that don't know it, this package maps the XML file to a dictionary.
11
by: Jean de Largentaye | last post by:
Hi, I need to parse a subset of C (a header file), and generate some unit tests for the functions listed in it. I thus need to parse the code, then rewrite function calls with wrong parameters....
1
by: Karalius, Joseph | last post by:
Can anyone explain what is happening here? I haven't found any useful info on Google yet. Thanks in advance. mmagnet:/home/jkaralius/src/zopeplone/Python-2.3.5 # make gcc -pthread -c...
3
by: Himanshu Garg | last post by:
Hello, I am trying to pinpoint an apparent bug in HTML::Parser. The encoding of the text seems to change incorrectly if the locale isn't set properly. However Parser.pm in the directory...
2
by: Joel Hedlund | last post by:
Hi! I have a possibly dumb question about imports. I've written two python modules: parser.py ------------------------------------ class Parser(object): "my parser"...
5
by: thewarden | last post by:
I've come into a situation where I require to have BBCode parsed, this includes the standard tags supported by PEAR package HTML_BBCodeParser and custom BBCode tags I've added myself. My problem...
28
by: Marc Gravell | last post by:
In Linq, you can apparently get a meaningful body from and expression's .ToString(); random question - does anybody know if linq also includes a parser? It just seemed it might be a handy way to...
0
by: UncleRic | last post by:
Environment: Mac OS X (10.4.10) on MacBook Pro I'm a Perl Neophyte. I've downloaded the XML::Parser module and am attempting to install it in my working directory (referenced via PERL5LIB env): ...
18
by: Just Another Victim of the Ambient Morality | last post by:
Is pyparsing really a recursive descent parser? I ask this because there are grammars it can't parse that my recursive descent parser would parse, should I have written one. For instance: ...
0
by: arvindkgs | last post by:
Iam using c lexer that is flex generated and a c++ parser that is bison generated. i have modified the parser to acccept only string input. I am calling the parser function yyparse in a loop and...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
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
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,...

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.