Forum OpenACS Development: Re: Newbie problem with creating a new package

Collapse
Posted by Daniel D on
Hello,

That is me again :)

I have replaced spaces with tabs in this Makefile. Now it partly works. However there are still problems:

[service0@oddjob xml]$ make
cp -u *.png ..
cd .. ; /usr/bin/xsltproc ../../../acs-core-docs/www/xml/openacs.xsl xml/index.xml
xml/index.xml:22: error: Opening and ending tag mismatch: bookinfo and revhistory
    </revhistory>
                ^
xml/index.xml:40: error: Opening and ending tag mismatch: book and bookinfo
  </bookinfo>
            ^
xml/index.xml:41: error: Extra content at the end of the document
  <chapter id="requirements" xreflabel="Requirements">
  ^
unable to parse xml/index.xml
make: *** [html] Error 6
[3]+  Done                    emacs Makefile
[service0@oddjob xml]$

Do you have any ideas what to fix, or shoud I just give up?

Thank you for your time.

DanielD

Collapse
Posted by Joel Aufrecht on
You have a mismatched xml tag in your index.xml.  I just checked the current index.xml in cvs and it looks good, so it's probably a result of your editing.  This is one of the drawbacks of DocBook, and something we'll have to make easier.  You can try to manually balance the tags, or you can use the emacs command M-x sgml-normalize.  Or you can revert to the original index.xml.
Collapse
Posted by Daniel D on
Hello Joel,

I have used the original index.xml an edited it again. Now it works. Thank you for your time.

Daniel