You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gordon Anderson <go...@3months.com> on 2003/11/25 00:40:05 UTC
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Running Cocoon without an Internet Connection
Posted by Gordon Anderson <go...@3months.com>.
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 <jc...@ameritech.net> wrote:
>>
>>
>>>I can run mine without an internet connection.
>>>
>>>----- Original Message ----- From: "Gordon Anderson" <go...@3months.com>
>>>To: <us...@cocoon.apache.org>
>>>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: users-unsubscribe@cocoon.apache.org
>>>>For additional commands, e-mail: users-help@cocoon.apache.org
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>>
>>
>>
>>__________________________________
>>Do you Yahoo!?
>>Free Pop-Up Blocker - Get it now
>>http://companion.yahoo.com/
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Running Cocoon without an Internet Connection
Posted by Marc Driftmeyer <md...@yahoo.com>.
I like your suggestion best. Elegant and self-containing.
-Marc
--- Upayavira <uv...@upaya.co.uk> wrote:
> 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 <jc...@ameritech.net> wrote:
> >
> >
> >>I can run mine without an internet connection.
> >>
> >>----- Original Message -----
> >>From: "Gordon Anderson" <go...@3months.com>
> >>To: <us...@cocoon.apache.org>
> >>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: users-unsubscribe@cocoon.apache.org
> >>>For additional commands, e-mail: users-help@cocoon.apache.org
> >>>
> >>>
>
>>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >>For additional commands, e-mail: users-help@cocoon.apache.org
> >>
> >>
> >>
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Free Pop-Up Blocker - Get it now
> >http://companion.yahoo.com/
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> >For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Running Cocoon without an Internet Connection
Posted by Upayavira <uv...@upaya.co.uk>.
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 <jc...@ameritech.net> wrote:
>
>
>>I can run mine without an internet connection.
>>
>>----- Original Message -----
>>From: "Gordon Anderson" <go...@3months.com>
>>To: <us...@cocoon.apache.org>
>>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: users-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>
>
>__________________________________
>Do you Yahoo!?
>Free Pop-Up Blocker - Get it now
>http://companion.yahoo.com/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Running Cocoon without an Internet Connection
Posted by Marc Driftmeyer <md...@yahoo.com>.
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.
-Marc
--- jcplerm <jc...@ameritech.net> wrote:
> I can run mine without an internet connection.
>
> ----- Original Message -----
> From: "Gordon Anderson" <go...@3months.com>
> To: <us...@cocoon.apache.org>
> 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: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Running Cocoon without an Internet Connection
Posted by jcplerm <jc...@ameritech.net>.
I can run mine without an internet connection.
----- Original Message -----
From: "Gordon Anderson" <go...@3months.com>
To: <us...@cocoon.apache.org>
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org