<div dir="ltr">I assume that the difference is that on your Ubuntu machine you have a local copy of the Docbook 4.5 DTD (in /usr/share/docbook or something) whereas your Mac doesn't.  Is there a package containing that DTD that you could put on your Mac that would allow xsltproc to avoid hitting the network for that information?</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 18, 2019 at 10:33 PM wuzhouhui <<a href="mailto:wuzhouhui14@mails.ucas.ac.cn">wuzhouhui14@mails.ucas.ac.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I have two hosts to compile svnbook, one is ubuntu 14.04 and another is mac os.<br>
When compile svnbook in ubuntu by<br>
<br>
    make html<br>
<br>
the compilation completes within 20s. But in mac, the compilation failed<br>
frequently and will cost several minutes before exit:<br>
<br>
$ make html<br>
xmllint --noout --valid book/book.xml<br>
if ! test -e "../tools/xsl"; then ../tools/bin/find-xsl.py; fi<br>
xsltproc  --output book/svn-book.html \<br>
          `[ -d stylesheets ] && echo stylesheets || echo ../tools`/html-stylesheet.xsl book/book.xml<br>
<a href="http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3795" rel="noreferrer" target="_blank">http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3795</a>: parser error : Comment must not contain '--' (double-hyphen)<br>
<!--end of allow.html.tables-->]]><br>
    ^<br>
<a href="http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3811" rel="noreferrer" target="_blank">http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3811</a>: parser warning : PEReference: %tables.role.attrib; not found<br>
        %tables.role.attrib;"><br>
                             ^<br>
<a href="http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3815" rel="noreferrer" target="_blank">http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3815</a>: parser warning : PEReference: %bodyatt; not found<br>
        %secur;"><br>
                ^<br>
<a href="http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3815" rel="noreferrer" target="_blank">http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3815</a>: parser warning : PEReference: %secur; not found<br>
        %secur;"><br>
                ^<br>
<a href="http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3868" rel="noreferrer" target="_blank">http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3868</a>: parser warning : PEReference: %tablemodel; not found<br>
%tablemodel;<br>
            ^<br>
<a href="http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3873" rel="noreferrer" target="_blank">http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3873</a>: parser warning : PEReference: %informaltable.module; not found<br>
<![%informaltable.module;[<br>
                         ^<br>
<a href="http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3873" rel="noreferrer" target="_blank">http://www.oasis-open.org/docbook/xml/4.5/dbpoolx.mod:3873</a>: parser error : conditional section INCLUDE or IGNORE keyword expected<br>
<![%informaltable.module;[<br>
                         ^<br>
unable to parse book/book.xml<br>
make: *** [book/svn-book.html] Error 6<br>
<br>
<br>
I found that the compilation in mac will access network but not for ubuntu,<br>
so is there a way to accelerate compilation in mac?<br>
<br>
<br>
Thanks.<br>
<br>
<br>
_______________________________________________<br>
svnbook-dev mailing list<br>
<a href="mailto:svnbook-dev@red-bean.com" target="_blank">svnbook-dev@red-bean.com</a><br>
<a href="https://www.red-bean.com/mailman/listinfo/svnbook-dev" rel="noreferrer" target="_blank">https://www.red-bean.com/mailman/listinfo/svnbook-dev</a></blockquote></div>