Hi,

in openobex-1.3, the documenation stuff was changed to DobBook-XML. However, 
that does not work here, for several reasons:
- the file still has the .sgml file ending (not really a problem, I guess)
- docbook2html cannot handle XML

If you got it running like that, what _exactly_ did you install to achieve it? 
I am missing documentation on how to build the documenation ;)

In the meantime, I changed it back to SGML in Debian:
---------------------------- snip ---------------------------------
Index: libopenobex-1.3/doc/openobex.tmpl
===================================================================
--- libopenobex-1.3.orig/doc/openobex.tmpl      2006-07-06 01:09:30.000000000 
+0200
+++ libopenobex-1.3/doc/openobex.tmpl   2006-07-06 01:09:31.000000000 +0200
@@ -1,7 +1,4 @@
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
-                  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>
-<!-- use this for sgml tools
-       DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]-->
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[]>

 <book id="OpenOBEX-Guide">
  <bookinfo>
---------------------------- snip ---------------------------------

docbook2html also needs the -o parameter to create the openobex subdir 
(db2html adds the dir name internally):
---------------------------- snip ---------------------------------
Index: libopenobex-1.3/doc/Makefile.in
===================================================================
--- libopenobex-1.3.orig/doc/Makefile.in        2006-07-06 01:13:54.000000000 
+0200
+++ libopenobex-1.3/doc/Makefile.in     2006-07-06 01:14:17.000000000 +0200
@@ -444,7 +444,7 @@
         (echo "*** You need to install DocBook stylesheets ***"; \
          exit 1)
        -$(RM) -r $@
-       docbook2html $<
+       docbook2html -o $@ $<
        if [ ! -z "$(JPG-$@)" ]; then cp $(JPG-$@) $@; fi
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

---------------------------- snip ---------------------------------

On Debian: docbook2html uses jw:
$ cat /usr/bin/docbook2html
#! /bin/sh
jw -f docbook -b html "$@"

If you really want DocBook-XML, I suggest to use NWalsh-XSL with xsltproc (or 
xmlto as frontend) to do the conversion. Until then, nothing is wrong with 
using SGML.

HS

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to