[Evolution] Evolution Build Problem (XSL Transformation)



Hello,

i am currently trying to build evolution-2.10.3 on Solaris 10 (sparc). The build stops with errors when transforming xml Files in $srcdir/help. The following command causes the error:

[...]
C/evolution.xml:6427: parser error : Entity 'ldquo' not defined
r that _expression_, you'd find both “fly in my soup” and “
                                                                               ^
C/evolution.xml:6427: parser error : Entity 'rdquo' not defined
'd find both “fly in my soup” and “fly in my soap.”
                                                                               ^
C/evolution.xml:6508: parser error : Entity 'copy' not defined
    <member>Copyright &copy; 2007 Novell, Inc. All rights reserved. Permission i
                            ^
C/evolution.xml:6536: parser error : Opening and ending tag mismatch: bookinfo line 15 and book
</book>
       ^

xsltproc -o evolution-C.omf --stringparam db2omf.basename evolution --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd  --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/daten/ports/builddir/evolution/share/omf" --stringparam db2omf.help_dir "/daten/ports/builddir/evolution/share/gnome/help" --stringparam db2omf.omf_in "/daten/ports/src/evolution/evolution-2.10.3 /help/evolution.omf.in"  --stringparam db2omf.scrollkeeper_cl "`scrollkeeper-config --pkgdatadir`/Templates/C/scrollkeeper_cl.xml" `/usr/local/bin/pkg-config --variable db2omf gnome-doc-utils`C/evolution.xml || { rm -f " evolution-C.omf"; exit 1; }

warning: failed to load external entity "db2omf.lang"
cannot parse db2omf.lang


Since i am not very familar with XML, i don't know the reason for this error. I found a file /usr/local/share/xml/gnome/xslt/docbook/xslt/omf/db2omf.xsl which contains an entry named " db2omf.lang". Libxml2 and libxslt are up to date. What could be the reason for this problem? I don't know wheter the XML Catalog has something to do with it. The new version of Libxml2/Libxslt didn't create a new on, e.g. they are using the default catalog created by solaris, which contains the following:

<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" " http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML V4.1" catalog="file:///etc/xml/docbook_41.xml"/>
  <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Information Pool V4.1" catalog="file:///etc/xml/docbook_41.xml"/>
  <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook Document Hierarchy V4.1" catalog="file:///etc/xml/docbook_41.xml"/>
  <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Additional General Entities V4.1" catalog="file:///etc/xml/docbook_41.xml"/>
  <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Notations V4.1" catalog="file:///etc/xml/docbook_41.xml"/>
  <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook Character Entities V4.1" catalog="file:///etc/xml/docbook_41.xml"/>
  <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1" catalog="file:///etc/xml/docbook_41.xml"/>
  <delegateURI uriStartString=" http://www.oasis-open.org/docbook/xml/4.1" catalog="file:///etc/xml/docbook_41.xml"/>
  <delegatePublic publicIdStartString="-//OASIS//ELEMENTS DocBook" catalog="file:///usr/share/sgml/db42xml/catalog.xml"/>
  <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook" catalog="file:///usr/share/sgml/db42xml/catalog.xml"/>
  <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" catalog="file:///usr/share/sgml/db42xml/catalog.xml"/>
  <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/" catalog="file:///usr/share/sgml/db42xml/catalog.xml"/>
  <delegateURI uriStartString=" http://www.oasis-open.org/docbook/" catalog="file:///usr/share/sgml/db42xml/catalog.xml"/>
  <delegatePublic publicIdStartString="ISO 8879:1986" catalog="file:///etc/xml/docbook_41.xml"/>
  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/1.60.1" rewritePrefix="file:///usr/share/sgml/docbook/docbook- xsl-stylesheets-1.60.1"/>
  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/1.60.1" rewritePrefix="file:///usr/share/sgml/docbook/docbook- xsl-stylesheets-1.60.1"/>
  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="file:///usr/share/sgml/docbook/docbook- xsl-stylesheets-1.60.1"/>
  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="file:///usr/share/sgml/docbook/docbook- xsl-stylesheets-1.60.1"/>
  <public publicId="-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" uri="/usr/local/share/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd"/>
</catalog>
~

I hope someone knows a solution for this problem.

Best Regards

Stefan Steimann



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