[vorbis-dev] Metadata Schema
Jack Moffitt
jack at icecast.org
Sun Jun 3 07:47:16 PDT 2001
> One of the most compact XML parsers is Expat by James Clarke. It is used
> in a lot of applications including eg Mozilla. It has a memory footprint
> of roughly 300 KB as a static library on a Sparc and is still a generic
> parser.
>
> A DTD-specific parse could drastically cut this footprint in my opinion.
> Has anyone tried writing an XML parser in Flex? What was the memory
> footprint?
The problem isn't so much in the parser.
XML is well-formed data. A parser is _supposed_ to reject data that is
not well formed. This is generally is a good idea, and is one of the
main tenets of the XML standard.
There's no real way to parse an xml document on the fly, while
maintaining it's well-formed-ness. We'd have to make each bit a
standalone document. That doesn't make a whole lot of sense, and
probably increases the overhead too.
Jabber, from what I can tell, wrote their own customer parser, because
they used XML for messaging. What they have now isn't XML but looks
like XML.
And we all came to the general consensus before that if it wasn't going
to be real XML, why make it XML at all?
But maybe our assuptions aren't true. How do SOAP and XMLRPC work?
These would seem to be streaming protocols or at least similar to how
Jabber works, and I assume they are conformant to the XML spec.
jack.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list