Yves Vindevogel [EMAIL PROTECTED] writes:
I don't know what does entity catalogs are for, to be honest
But okay, this is my situation
At the OSCOM Sprint in Zuerich me and a couple of guys worked on
integration of OpenOffice with Lenya (the CMS based on Cocoon). We
were quite successful
Can you please post your pipelines and the error you receive?
My directories:
http://web/implements contains
/dtd with office.dtd
/sxw with my sxw file
This is the complete pipeline
map:pipeline
map:match
Yury,
I've been searching on this problem for some days now. And I'm close to
finding a solution.
Problem is that the jar: protocol doesn't talk to cocoon, you must include
real path names.
Upayavira, somebody on this group, gave me a hint to this problem. You must
include the dtd in
On Fri, 14 Mar 2003 10:29:42 +0100
Yves Vindevogel [EMAIL PROTECTED] wrote:
Yury,
I've been searching on this problem for some days now. And I'm close to
finding a solution.
Problem is that the jar: protocol doesn't talk to cocoon, you must include
real path names.
Upayavira,
Ha, you're one step closer to the solution.
If you want a quick solution: here it is :
Open the /resources/entities/office.dtd file
Remove all the entries from it, making it a completely empty file
Retry, and it will work !!
I got to that point yesterday too ...
But now I'm in the map:aggregate
On 14 Mar 2003 at 12:45, Yves Vindevogel wrote:
snip good stuff/
Would you be willing to make a Wiki page out of this? Go to: wiki.cocoondev.org.
That would help a lot of people in the future.
Oh, and well done!!
Regards, Upayavira
On 13 Mar 2003 at 20:28, Conal Tuohy wrote:
Well,
That's the problem.
The SXW file does not contain any DTD itself. They are all
on my hard drive,
from the installation of OpenOffice, but not in the files
themselves.
Have you tried using entity catalogs? Look in the
Can you please post your pipelines and the error you receive?
My directories:
http://web/implements contains
/dtd with office.dtd
/sxw with my sxw file
This is the complete pipeline
map:pipeline
map:match pattern=test/*/**.xml
Oops, my mistake
This should be the correct pipelines, with the same error
map:match pattern=test/*/**.xml
map:generate
src=jar:http://web/implements/sxw/{1}!/{2}.xml/
map:serialize type=xml/
I don't know what does entity catalogs are for, to be honest
But okay, this is my situation
I put the cocoon.war in the tomcat webapps folder, resulting in a new folder
cocoon. heheh ;-))
In my original sitemap, I mounted some extra sitemaps, one for every client
cocoon web, so, I mounted
An entity catalog is a way of mapping external references (e.g. references to
DTDs) to local copies of those entities. So, by using an entity catalog, you can tell
Cocoon where it should look for the Office DTDs.
On 13 Mar 2003 at 10:39, Yves Vindevogel wrote:
I now edited the cocoon.xconf
I've taken your suggestion and implemented an example:
http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample
Great! Could be useful!
Upayavira
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi all,
I tested your suggestions and this is what I have ...
map:pipeline
map:match pattern=test/*/**.xml
map:read
src=jar:http://web/implements/{1}!/{2}.xml; mime-type=text/xml/
/map:match
Hi Yves.
You will need other pipelines to extract non-xml resources from the sxw file
as well. (Presumably the sxw file contains the DTD?)
e.g.
map:match pattern=test/*/**.dtd
map:read src=jar:http://web/implements/{1}!/{2}.dtd;
mime-type=text/plain/
/map:match
Well,
That's the problem.
The SXW file does not contain any DTD itself. They are all on my hard drive,
from the installation of OpenOffice, but not in the files themselves.
When I manually add all the DTDs (there are several) to the Zipped file, it
works (at least, it gives another error
Well,
That's the problem.
The SXW file does not contain any DTD itself. They are all
on my hard drive,
from the installation of OpenOffice, but not in the files themselves.
So your pipeline should read the OpenOffice files from somewhere else.
map:match pattern=test/*/**.dtd
OpenOffice 1.0 files are actually a set of XML files Zipped. If you rename
an Open Office document to Zip you will find that the Draw application for
example has an SVG file inside. Not sure if it's possible with Cocoon to
generate the 4 files and the ZIP (anyone ??).
Hope this helps
Scott
I know the way OpenOffice stores its files (a set of xml files into a zip with
another extension). That's why I was wondering whether a generator exists
...
I wrote a little script in perl (actually my first usefull perl script at the
time) that extracts all the files into one .xml file which
There's no OpenOffice specific generator in the dist currently, if that's
what you're asking. There may be others out there who have developed one
and have not added it to the core of cocoon...?
Geoff
At 04:26 AM 3/11/2003, you wrote:
I know the way OpenOffice stores its files (a set of xml
Basically, it's the ZipGenerator I need with some extras, but before
writing the code myself, I was wondering whether someone had done it
before me.
Asking a similar question, I pointed someone at an example in the Langham/Ziegler
book (a zip source). Someone else then made a point that the
Good point, Upayavira!
I've taken your suggestion and implemented an example:
http://wiki.cocoondev.org/Wiki.jsp?page=JarProtocolExample
Cheers!
Con
Basically, it's the ZipGenerator I need with some extras, but before
writing the code myself, I was wondering whether someone had done it
Hello,
You should check www.axkit.com for an Open Office XSL filter (AxKit is
a Perl version of Cocoon)
However, I don't know if this is free.
Alexandru
On Tue, 2003-03-11 at 10:43, Yves Vindevogel wrote:
Anyone who knows whether there's a
22 matches
Mail list logo