Re: [xml] XInclude error - detected a recursion



Graeme Perkins wrote:
I've maintained a set of procedures manuals in docbook xml myself for a few years. Now we have a small team, I decided to further split up the source for these manuals. I now have about 100 source files. Before I had about 20.

Since doing this I started to see the message "XInclude error - detected a recursion" when resolving the XIncludes with:

%LIBROOT%\libxml\xmllint.exe --xinclude --postvalid --noent --output %RESOLVEDXML% "%SOURCEXML%"

Resolving used to take about 80 seconds, but after breaking up the sources the XIncludes xmllint know takes 2 hours. (The output is about 600KB, and I've got plenty of system resources to do the job.)
Is this happening with the latest version? I had a similar issue brought to my attention with the PHP manuals not too long ago. I can't remember the exact versions that were being used, but there were 2 releases that had caused some issues trying to render them. Using a new version had significantly improved the speed to something more acceptable.

Rob



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]