Re: AxXMLCatalog, Reloaded...

2004-07-22 Thread Michael A Nachbaur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On July 19, 2004 09:34 am, Michael A Nachbaur wrote: > On July 19, 2004 08:29 am, Kip Hampton wrote: > > Michael A Nachbaur wrote: > > > Essentially, this patch intends to add the "AxXMLCatalog" Apache > > > directive which defines which XML catalogs t

Re: AxXMLCatalog, Reloaded...

2004-07-19 Thread Kip Hampton
Michael A Nachbaur wrote: So, if this is the direction everyone'd like to go (anyone?) the XML Catalog directive would look like so: AxXMLParserOpt XMLCatalog /catalog1.xml AxXMLParserOpt XMLCatalog /catalog2.xml AxXMLParserOpt MaxDepth 4500 etc... +1

Re: AxXMLCatalog, Reloaded...

2004-07-19 Thread Robin Berjon
Michael A Nachbaur wrote: That isn't a bad idea. I've wanted for a while to take advantage of XML::LibXML's various configuration parameters, but have been reluctant to do so since I don't want to have an Ax* directive problem...but the XML catalogs bit was just too desirable to let be. So, if

Re: AxXMLCatalog, Reloaded...

2004-07-19 Thread Michael A Nachbaur
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On July 19, 2004 08:29 am, Kip Hampton wrote: > Michael A Nachbaur wrote: > > Essentially, this patch intends to add the "AxXMLCatalog" Apache > > directive which defines which XML catalogs to include into XML::LibXML. > > Might we not be better off cr

Re: AxXMLCatalog, Reloaded...

2004-07-19 Thread Kip Hampton
Michael A Nachbaur wrote: Essentially, this patch intends to add the "AxXMLCatalog" Apache directive which defines which XML catalogs to include into XML::LibXML. Might we not be better off creating a more generic AxXMLParserOpt directive (that pushes onto a @list of key/value pairs)? Rationale

Re: AxXMLCatalog, Reloaded...

2004-07-19 Thread Michael A Nachbaur
On July 19, 2004 02:17 am, Robin Berjon wrote: > Dahut Nacho! Dahut Darobin! > > +sub XMLCatalogs { > > +my $self = shift; > > + > > +my @others; > > + > > +print STDERR "XML Catalog: ", join(", ", %{ > > $self->{cfg}{XMLCatalogs} } ), "\n"; > > You might want to drop that line :) (an

Re: AxXMLCatalog, Reloaded...

2004-07-19 Thread Robin Berjon
Dahut Nacho! Michael A Nachbaur wrote: Essentially, this patch intends to add the "AxXMLCatalog" Apache directive which defines which XML catalogs to include into XML::LibXML. I think this is a useful and valuable thing to add. Just a few comments. +sub XMLCatalogs { +my $self = shift; + +

AxXMLCatalog, Reloaded...

2004-07-19 Thread Michael A Nachbaur
Hi Dahuts and AxKittens. I sent a message a while back about my AxXMLCatalog patch, but just in case you may not remember it or have it in your mail box, I'm attaching it here again. I'd like to apply this to CVS soon, so if anyone has any comments, please let me know. Essentially, this patch