hi

thanks for your help everyone, I think the XMLCatalog option looks the most elegant, and is something that will be useful for XML parsing in general, not just for within Cocoon.

No need for any more replies, I've been pointed in the right direction.

Cheers

Gordon


Marc Driftmeyer wrote:

DTDs allow for either SYSTEM or PUBLIC.

Declare your DTDs as type SYSTEM and you can always archive a local
copy of current W3C DTD's via your Apache web server at a path you
make.

Or use the 'catalog' functionality, which allows you to keep a local copy of the DTD, such that when your XML parser tries to render it, it uses the local copy instead.

This would be wise even when connected to the Internet, as to do otherwise would make unneccessary internet connections, slowing your site down.

Check out:

http://cocoon.apache.org/2.1/userdocs/concepts/catalog.html

for more info.

Regards, Upayavira

-Marc


--- jcplerm <[EMAIL PROTECTED]> wrote:



I can run mine without an internet connection.

----- Original Message ----- From: "Gordon Anderson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 5:40 PM
Subject: Running Cocoon without an Internet Connection




hi everyone,

I've had a look online and through the mailing archives and cant

find


anything on this.

As fas as I can ascertain references to DTDs and Schemas are being
downloaded in order to validate XML documents.  There are currently

two


situations where this is not acceptable from my perspective.

i) It is not possible to develop and test code on a cocoon server

without


an internet connection
ii) Our target production deployment will not allow outgoing access

on
port


80 to the necessary DTD and schema files.

Is there a flag somewhere within Cocoon that can be set to prevent

download


of these external files? Or is this something in the underlying

XML


parsers that has to be configured?

Thanks in advance for your help

Gordon

Gordon Anderson
3months.com






---------------------------------------------------------------------


To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to