After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 142098 - Documentation incomplete
Documentation incomplete
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: doc
0.94-pre1
Other Linux
: High major
: 0.95
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-07 11:59 UTC by Roland Stigge
Modified: 2006-04-02 16:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
documentation docbook syntax fixes (3.46 KB, patch)
2005-02-27 17:13 UTC, Roland Stigge
none Details | Review

Description Roland Stigge 2004-05-07 11:59:34 UTC
doc/{en,pl}/dia.xml includes many other xml and sgml files, but those are not
present. Former versions of dia shipped the documentation in compiled form
(html). But since this seems to be dropped in 0.93, documentation is just missing.
Comment 1 Roland Stigge 2004-05-11 10:54:49 UTC
Looking at the contents of CVS, it seems that the Makefile.am's just don't
include the respective XML files into the distribution.
Comment 2 Lars Clausen 2004-05-15 23:25:37 UTC
Yep.  They're now in there.  Kinda had expected them to be magically include,
but it's just ain't that easy.
Comment 3 Roland Stigge 2004-07-10 09:30:56 UTC
Now that the files are included, there are problems with the XML contents for
the pl version:

=================================================================================
ernie@atari:~/debian/dia-0.94-pre1$ xmlto -o doc/pl/manual html doc/pl/dia.xml
xmlto: input does not validate (status 1)
/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml:4: parser error :
Input is not proper UTF-8, indicate encoding !
  <title>Co mo&#65533;na zrobi&#65533;?</title>
              ^
/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml:4: error: Bytes:
0xBF 0x6E 0x61 0x20
  <title>Co mo&#65533;na zrobi&#65533;?</title>
              ^
/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml:21: parser error :
Opening and ending tag mismatch: graphic line 20 and screenshot
      </screenshot>
                   ^
/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml:22: parser error :
Opening and ending tag mismatch: screenshot line 16 and figure
    </figure>
             ^
/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml:23: parser error :
Opening and ending tag mismatch: figure line 14 and para
  </para>
         ^
/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml:24: parser error :
Opening and ending tag mismatch: para line 5 and sect1
  </sect1>
          ^
/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml:155: parser error
: Opening and ending tag mismatch: sect1 line 3 and chapter
</chapter>                                              
          ^
/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml:156: parser error
: Premature end of data in tag chapter line 1

^
/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml:156: parser error
: chunk is not well balanced

^
/home/ernie/debian/dia-0.94-pre1/doc/pl/dia.xml:58: parser error : chunk is not
well balanced
&QUICKSTART;
            ^
ernie@atari:~/debian/dia-0.94-pre1$
=================================================================================

This works for the en version.
Comment 4 Roland Stigge 2004-07-10 09:57:31 UTC
Note that this only works when the referenced sgml files are present. I guess
the currently referenced sgml files are meant to be the actually present xml files.

With the original 0.94-pre1 version, I get:
================================================================================
ernie@atari:~/debian/dia-0.94-pre1$ xmlto -o doc/pl/manual html doc/pl/dia.xml
xmlto: input does not validate (status 3)
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-quickstart.sgml"
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-canvas.sgml"
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-objects.sgml"
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-objects-special.sgml"
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-objects-selecting.sgml"
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-loadsave.sgml"
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-customization.sgml"
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/usage-layers.sgml"
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/authors.sgml"
I/O warning : failed to load external entity
"/home/ernie/debian/dia-0.94-pre1/doc/pl/license.sgml"
/home/ernie/debian/dia-0.94-pre1/doc/pl/dia.xml:20: element book: validity error
: root and DTD name do not match 'book' and 'Book'
Document /home/ernie/debian/dia-0.94-pre1/doc/pl/dia.xml does not validate
ernie@atari:~/debian/dia-0.94-pre1$
================================================================================
Comment 5 Lars Clausen 2005-02-26 07:25:40 UTC
The SGML files are not meant to be used any more, any references to them should
be replaced with references to the XML files.  Why it complains about the
&#XXXX; entries I don't get.  Let's concentrate on getting the SGML out -- the
XML files seem to be all clean in the CVS, do you still get errors when trying
to compile?
Comment 6 Roland Stigge 2005-02-27 17:11:24 UTC
I needed to change some things (you don't regularly check the docbook files for
correct syntax, do you? :). Then, it worked fine. See patch.
Comment 7 Roland Stigge 2005-02-27 17:13:06 UTC
Created attachment 38009 [details] [review]
documentation docbook syntax fixes

This makes the en|pl documentation compile with e.g.
xmlto -o doc/en/manual html doc/en/dia.xml
Comment 8 Hans Breuer 2006-02-26 14:54:46 UTC
Fixed itself? :-)
Comment 9 Roland Stigge 2006-04-02 14:50:51 UTC
It's nearly fixed. Please change the DOCTYPE Book in doc/pl/dia.xml from uppercase to lowercase (-> "DOCTYPE book") as in doc/en/dia.xml.
Comment 10 Hans Breuer 2006-04-02 16:41:50 UTC
Thanks, commited.

2006-04-02  Hans Breuer  <hans@breuer.org>

	* doc/pl/dia.xml : "DOCTYPE book" closes bug #142098, Roland Stigge