Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > XML parser

Reply
Thread Tools

XML parser

 
 
Alex
Guest
Posts: n/a
 
      12-08-2006
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

 
Reply With Quote
 
 
 
 
Juergen Kahrs
Guest
Posts: n/a
 
      12-08-2006
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).
 
Reply With Quote
 
 
 
 
Joe Kesselman
Guest
Posts: n/a
 
      12-08-2006
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML::Parser Installation error: XML-Parser-2.34 Sean Perl Misc 3 10-03-2006 01:23 AM
XML::Parser Installation error: XML-Parser-2.34 Sean Perl Misc 0 10-02-2006 06:20 PM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
XML-Parser to XML-Parser communication (encoding issues?) arne Perl Misc 0 09-13-2005 12:53 PM
XML Parser VS HTML Parser ZOCOR Java 11 10-05-2004 01:58 PM



Advertisments