Less verbose XML (Was: A little wish for sh
Akitoshi Yoshida
akitoshi.yoshida at sap-ag.de
Tue May 12 10:45:45 BST 1998
standard text compression algorithms can generally
compress files with short end-tags than those with
full end-tags because these standard algorithms
can't build the right source model for XML (in practice).
to increase the compression factor, one should
model the input source more accurately using the
XML specs and the DTD of the input file.
but in this case, encoding/decoding needs more work.
regards,
aki yoshida
-----Original Message-----
From: Andrew Layman
This is not to debate the value of short end tags. That's been debated.
But just as a technical matter, I also ran some tests a while ago, and found
that files with short end tags compress 5 to 10 percent better than those
with full end tags. I believe the reason is that with full end tags there
are more unique pairs of end/start, while with short end tags there are only
as many end/start pairs as types of start tag. So a compression scheme that
first shortened end tags, then applied a standard compression would be more
efficient size-wise.
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list