On Wed, Sep 22, 2010 at 02:31:24PM +0100, Karl Heyes wrote:> On 22/09/10 06:23, ??????? ????????? wrote: > > I made some changes to Icecast sources and added<include/> tag into > > icecast.xml. >[...]> Is this to include an external xml file within this xml? >Actullly, libxslt (or maybe libxml2) support XInclude. This approach is more standard and allows even non-local URIs. This feature must be enabled in application code probably. -- Petr -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast-dev/attachments/20100922/e90b2b1a/attachment.pgp
On Wed, Sep 22, 2010 at 03:46:15PM +0200, Petr Pisar wrote:> On Wed, Sep 22, 2010 at 02:31:24PM +0100, Karl Heyes wrote: > > On 22/09/10 06:23, ??????? ????????? wrote: > > > I made some changes to Icecast sources and added<include/> tag into > > > icecast.xml. > > > [...] > > Is this to include an external xml file within this xml? > > > Actullly, libxslt (or maybe libxml2) support XInclude. This approach is more > standard and allows even non-local URIs. This feature must be enabled in > application code probably.IIRC I made someone try this feature of libxml2 and it works in stock icecast, but only for server start. If you try to HUP the server, hell breaks loose. I may be wrong as I didn't try it myself, but I'm pretty sure it was something to that tune. Cheers Thomas
On 22/09/10 21:21, Thomas B. Ruecker wrote:> On Wed, Sep 22, 2010 at 03:46:15PM +0200, Petr Pisar wrote: >> On Wed, Sep 22, 2010 at 02:31:24PM +0100, Karl Heyes wrote: >>> On 22/09/10 06:23, ??????? ????????? wrote: >>>> I made some changes to Icecast sources and added<include/> tag into >>>> icecast.xml. >>> >> [...] >>> Is this to include an external xml file within this xml? >>> >> Actullly, libxslt (or maybe libxml2) support XInclude. This approach is more >> standard and allows even non-local URIs. This feature must be enabled in >> application code probably. > > IIRC I made someone try this feature of libxml2 and it works in stock icecast, > but only for server start. If you try to HUP the server, hell breaks loose. > > I may be wrong as I didn't try it myself, but I'm pretty sure it was something > to that tune.I can see that being more of a chroot/changeowner case issue than something triggered from HUP (excluding any memory corruption issue). karl.