Icon of program: Expat XML Parser

Expat XML Parser for Windows

  • Free
  • In English
  • V2.2.9
  • 4.1
  • (1)

Softonic review

Fast XML parser library in C

Expat XML Parser is a stream-oriented XML parser written in C. This utility software is the first available open-source XML parser. It has found a place in various open-source software, such as the Apache HTTP Server, Mozilla, PHP, and Python. Expat excels with files that are too large to fit RAM, and where performance and flexibility are crucial. It is a free program that you can copy, distribute, and modify under the MIT/X Consortium license. 

What is Expat XML Parser?

As noted, Expat is a stream-oriented parser. In the app, you register callback—or handler—functions with the parser. Then you start feeding it the document. The parser will then recognize parts of the documents and call the appropriate handler for that part, assuming that you have registered one. The document will then fed to the parser in pieces, so you can start parsing before you have all the documents. With this, you can parse really huge documents that won’t fit into memory. 

Users, especially beginners, will find the app a bit intimidating because of the many kinds of handlers and options that you can set. However, you only need to learn four functions to do 90% of what you will do with it. You can create a new parser object with XML_ParserCreate and set handlers for start and end tags using the XML_SetElementsHandler. To set a handler for text, you can use the XML_SetCharacterDataHandler. Finally, XML_Parse allows you to pass a buffer full of documents to the parser. 

Typically, programs register handler functions for the XML element to start or stop events and character events. Expat provides facilities for sophisticated event handling. Its parsing events resemble the events defined in the Sample API for XML (SAX). However, Expat is not a SAX-compliant parser. Projects incorporating Expat library often build SAX—and possibly DOM parsers—on top of Expat. But while this app is mainly a stream-based, it supports stopping and restarting parsing at arbitrary times. With this, the implementation of a pull parser is relatively easy. 

Helpful parser library

Since released to the market, Expat XMLP Parser has been a helpful tool. It has been the choice of many higher-level projects. It is highly efficient and very robust. It is also well-tested and complies with the standards. It may be a bit overwhelming due to its many handlers and options, but all in all, you won’t go wrong with this app.

  • Pros

    • Efficient parsing library
    • Standard-compliant
    • Supports stopping and restarting parsing
  • Cons

    • Lots functions can be a bit intimidating
    • Not SAX-compliant
 0/1

App specs

  • License

    Free

  • Version

    2.2.9

  • Latest update

  • Platform

    Windows

  • OS

    Windows 8

  • Language

    English

  • Downloads

    121

    Last month's downloads

    • 3
  • Size

    1.07 MB

  • Developer

Program available in other languages


Icon of program: Expat XML Parser

Expat XML Parser for PC

  • Free
  • In English
  • V2.2.9
  • 4.1
  • (1)

User reviews about Expat XML Parser

Have you tried Expat XML Parser? Be the first to leave your opinion!

You may also like

Explore Apps

Latest articles

Laws concerning the use of this software vary from country to country. We do not encourage or condone the use of this program if it is in violation of these laws.
Softonic
Your review for Expat XML Parser
Softonic

In Softonic we scan all the files hosted on our platform to assess and avoid any potential harm for your device. Our team performs checks each time a new file is uploaded and periodically reviews files to confirm or update their status. This comprehensive process allows us to set a status for any downloadable file as follows:

Clean

It’s extremely likely that this software program is clean.

What does this mean?

We have scanned the file and URLs associated with this software program in more than 50 of the world's leading antivirus services; no possible threat has been detected.

Warning

This software program is potentially malicious or may contain unwanted bundled software.

Why is the software program still available?

Based on our scan system, we have determined that these flags are possibly false positives.

What is a false positive?

It means a benign program is wrongfully flagged as malicious due to an overly broad detection signature or algorithm used in an antivirus program.

We’d like to highlight that from time to time, we may miss a potentially malicious software program. To continue promising you a malware-free catalog of programs and apps, our team has integrated a Report Software feature in every catalog page that loops your feedback back to us.

Flag any particular issues you may encounter and Softonic will address those concerns as soon as possible.