Geoff wrote:
I have a 700K file sent to me, xerces took about 2 seconds and xmllint took
5 seconds (no validation) but I never see 100 millisecond times.
OK, I have an XML file here (musical score data),
length about 500K and I parsed it with xmllint.
head elite.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.1 Partwise//EN"
"http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="1.1">
<movement-title>Elite Syncopations</movement-title>
<identification>
<creator type="composer">Scott Joplin</creator>
<encoding>
<software>Finale 2005 for Windows</software>
<software>Dolet 3.0.2 for Finale</software>
ls -l elite.xml
-rw-r--r-- 1 kahrs users 526098 2005-11-16 23:27 elite.xml
time xmllint --noout elite.xml
real 0m0.102s
user 0m0.044s
sys 0m0.000s
>
My machine is an AMD 3200.
I have an AMD Sempron 2800+, so your CPU is faster ..