Skip to main content.
home | support | download

Back to List Archive

Re: MIME Types of zipped files

From: Lars D. Noodén <lars(at)not-real.umich.edu>
Date: Thu Nov 10 2005 - 13:19:15 GMT
On Thu, 10 Nov 2005, Bill Moseley wrote:
> You can't have two XML declarations in the file.  Libxml2 will just
> stop parsing.

My mistake.  Couldn't files have multiple declarations in SGML?

I've been looking at the other filters, particularly Pdf2HTML.pm and 
XLtoHTML.pm, but if XML can't handle more than one declaration per file, 
then my intended approach won't work.

Instead, could SWISH::Filter pass the file to multiple filters, with each 
one getting passed to 'prog'[1] separately ?  One pass 
could get the content, the second the metadata, etc.
 	http://swish-e.org/docs/filter.html#writing_filters

-Lars
[1] http://swish-e.org/docs/swish-run.html#item_prog

Lars Nooden (lars@umich.edu)
 	On the Internet, nobody knows you're a dog ...
 	... until you start barking.
Received on Thu Nov 10 05:19:16 2005