[I'm all for dropping XSLT+DocBook in favor of something more sane (preferably Python+Docutils); just trying to clarify the current situation.]
Rene Rivera writes: > Aleksey Gurtovoy wrote: > > Whether or not the output directory should exist beforehand is entirely > > up to the XSLT processor. As far as xsltproc is concerned, being able to > > create directories is (or at least was, at the time when I implemented > > the chunking) an officially supported behavior (see > > http://thread.gmane.org/gmane.comp.gnome.lib.xslt/738/ and > > http://thread.gmane.org/gmane.comp.gnome.lib.xslt/2327/, for instance) > > on, well, officially supported platforms. Are you saying that this has > > changed? > > It's changed since at least from 2004 onward. Our experience with platforms other than Windows does not support this. For instance, a Mac OS X build of xsltproc just a couple of months older than what you have (libxml 20616, libxslt 10111 and libexslt 809) handles directory creation without any problems. As for the (native) Windows build, it failed to create directories from the day one, hence the patch. IIRC correctly, the Cygwin build works. > And yes it's a behavior of the libexslt extension library, so it's > up to the processor. The EXSLT spec doesn't say anything about > creation of dirs, of course it's a terribly written spec that > essentially doesn't say anything about how it should operate. > > > It works just fine for me on Mac OS X 10.3.9, xsltproc -V == libxml > > 20607, libxslt 10104 and libexslt 804. > > It doesn't with: > > $ xsltproc.exe --version > Using libxml 20627CVS2877, libxslt 10119CVS1096 and libexslt 813CVS1096 > xsltproc was compiled against libxml 20627, libxslt 10119 and libexslt 813 > libxslt 10119 was compiled against libxml 20627 > libexslt 813 was compiled against libxml 20627 > > Which is the recommended download for xsltproc when working on Windows. > Note it hasn't worked for me for some time, and I've been having to > create subdirs manually for some time. Native Windows build *never* worked. > And yes, other XSLT processors do support creating subdirs with > their corresponding extensions. But that doesn't really help us > since we recommend, and only support with the build system, > xsltproc. We also specifically link to the builds that work (http://www.boost.org/doc/html/boostbook/getting/started.html), so the problems you have come to light only when one doesn't follow the setup instructions. -- Aleksey Gurtovoy MetaCommunications Engineering ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
