Hi Stewart, This is (probably) a bug in sgml-data, as that package should create symlinks instead of empty directories.
Check to see that that sgml-data does indeed install these entities (probably now under /usr/share/xml). If it does, then file a bug report against sgml-data for a policy violation, because of the broken compatibility symlinks. In the meantime, try changing the empty into a symlink that points to the correct entities under /usr/share/xml, and everything should then work properly. Cheers, Mark On Wed, Feb 11, 2004 at 09:19:12PM +0000, Stewart Jeacocke wrote: > Hi, > > I am trying to use saxon to convert an xml docbook file into xhtml > representation. However I am getting the following error: > > > > [EMAIL PROTECTED]:~$ java -classpath /usr/share/java/saxon.jar > com.icl.saxon.StyleSheet spec2.xml > /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl > > Error on line 308 column 1 of > file://localhost/usr/share/sgml/docbook/dtd/xml/4.2/dbcentx.mod: > Error reported by XML parser: Cannot read from > file://localhost/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsa.ent > (/usr/share/sgml/entities/xml-iso-entities-8879.1986/ISOamsa.ent (No such file or > directory)) > Transformation failed: Run-time errors were reported > > > > I've had a look in /usr/share/sgml/entities/xml-iso-entities-8879.1986/ > but it is empty. > > However, > [EMAIL PROTECTED]:~$ ls -l /usr/share/xml/entities/xml-iso-entities-8879.1986/ > total 140 > -rw-r--r-- 1 root root 5378 Feb 1 19:36 ISOamsa.ent > -rw-r--r-- 1 root root 4060 Feb 1 19:36 ISOamsb.ent > .... > > Looking through the archives from this list it looks like these entities > used to live in /usr/share/sgml/entities/xml-iso-entities-8879.1986/ but > have been recently moved. Should I just create the required symlinks and > should I file a bug report against sgml-data? > > Package Versions > ii sgml-data 2.0 > ii docbook-xml 4.2-7 > > Thanks > -- > Stewart Jeacocke <[EMAIL PROTECTED]> > GPG Fingerprint 6047 FB81 94B9 081E F594 1425 4D6C 518E 6637 2052 > Please avoid sending me Word or PowerPoint attachments. > See http://www.fsf.org/philosophy/no-word-attachments.html > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- ------------------------------------- Mark Johnson <[EMAIL PROTECTED]> Debian XML/SGML <[EMAIL PROTECTED]> Home Page: <http://dulug.duke.edu/~mark/> GPG fp: DBEA FA3C C46A 70B5 F120 568B 89D5 4F61 C07D E242 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

