well, I am definitely not the one who knows swish internals, but if I am
sane (or my memory, my head, leg or my another thinking aparatus) I
would swear I was was was was processing sxw files with XML2 parser in
v2.2.3.
Zip did the work, it concatenated the output (only content.xml and
meta.xml), sent it to perl script, then I probably computed the length
of it and sent it to swish. Parser was unhappy saying "not well formed
xml document" but the results were fine -
Phillip, if i find my way home, i will try to find the script
rca
Bill Moseley napsal(a):
> On Sun, May 29, 2005 at 07:04:50AM -0700, Philip Young wrote:
>
>>FileFilterMatch "/usr/bin/unzip" "-p \"%p\" meta.xml content.xml"
>>/\.(sxw|sxc|sxi|odt)$/i
>
>
> I didn't answer right away because, well, I already answered this.
>
> You can't take two xml documents and just cat them together and
> expect it to be read. You must have seen this:
>
> out.xml:2: error: XML declaration allowed only at the start of the document
>
> I'm afraid that it's going to be a bit more work to get this to work.
> I would expect that you would need to build a new xml document with
> the data you want indexed.
>
> I'd love to get this working, but I don't have time right now.
>
Received on Mon May 30 10:21:24 2005