Why should Cocoon choke on parsing an XML file - if it is really one?? The parser doesn't know anything about XLink, so I think this can't be the problem. Have a look at the XML. It looks really strange.
I downloaded the example SXW from the link you gave, unzipped it and looked at the content.xml (delivered via Cocoon) in Mozilla. Maybe you made an error while unzipping the SXW. Regards, Joerg Gianugo Rabellino wrote: > Hi, > > I'm experiencing weird problems with XLink while trying to process an > OpenOffice document (yes, I'm working on a filter, hope it might be > useful to all of us). > > I'm ending up with a java.lang.StackOverflow error with Cocoon trying to > process an xlink in a (too much) recursive way. I'm trying to understand > where the real problem is, but I'm a bit confused about how (and why, > actually) Cocoon is processing XLinks. > > I'm attaching the offending document, which is, BTW, just the example > taken from http://www.chez.com/ebellot/ooo2sdbk/, the tool I'm trying to > "clone" on Cocoon. To reproduce the problem it's enough to have Cocoon > parse the XML: > > <match="whatever"> > <generate src="content.xml"/> > <serialize/> > </match> > > You will see that Cocoon chokes while trying to process the png image > referenced as an xlink. Any clues? > > TIA, -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]