C'est juste pour savoir s'il y a d'autres parseurs que Xerces?
Si oui comment faire son choix ?
C'est juste pour savoir s'il y a d'autres parseurs que Xerces?
Si oui comment faire son choix ?
oui bien sur tu as d'autres parser: xml4j, xp
ce sont des parsers Java.
ce qui est critique pour un parseur c'est sa performance. Il faudrait voir s'il n'y a pas de comparatif là dessus ou les tester soi-meme
sax et dom sont pas mal :-)
attention : sax et dom sont des types de parser ou plutot des manières d'analyser des documents . Ce ne sont pas des parsers.
ex : Xerces propose un parser sax et un parser dom, de même que msxml, et d'autres surement
Et Sablotron ?
http://www.gingerall.com/charlie/ga/xml/p_sab.xml
(XSLT, DOM and XPath processor)
C'est celui qui est utilisé en PHP par exemple.Sablotron is a fast, compact and portable XML toolkit implementing XSLT 1.0, DOM Level2 and XPath 1.0. Sablotron is an open project; other users and developers are encouraged to use it or to help us testing or improving it. The goal of this project is to create a lightweight, reliable and fast XML library processor conforming to the W3C specification, which is available for public and can be used as a base for multi-platform XML applications.
Sablotron is written in C++ and we try to keep it as portable as possible ...
Ce logiciel (je ne sais pas trop comment l'appeler tellement qu'il contient de fonctionnalités !) utilise expat :
http://www.libexpat.org/
La suite sur :Expat is a library, written in C, for parsing XML documents. It's the underlying XML parser for the open source Mozilla project, perl's XML::Parser, and other open-source XML parsers. As demonstrated in my benchmark article, it's very fast. It also sets a high standard for reliability, robustness and correctness ...
http://www.xml.com/pub/a/1999/09/expat/index.html
Benchmarks bourrés de chiffres :
http://xmlbench.sourceforge.net/results/benchmark/index.html
http://xmlbench.sourceforge.net/results/features/index.html
@+ Haypo
Vous avez un bloqueur de publicités installé.
Le Club Developpez.com n'affiche que des publicités IT, discrètes et non intrusives.
Afin que nous puissions continuer à vous fournir gratuitement du contenu de qualité, merci de nous soutenir en désactivant votre bloqueur de publicités sur Developpez.com.
Partager