problem with relnotes build [HELP]

Karsten Wade kwade at redhat.com
Tue Jan 10 19:40:53 UTC 2006


I'm having problems with building the release-notes currently from HEAD
in CVS[1].

The essence of the error from xmlto[2] is:

"I don't like the stuff that comes after the <article> declaration, it's
not the right sort of thing according to the DTD, and here is a list of
what I expect ..."

However, what it expects includes <articleinfo>, which is what
immediately follows!

<article id="index" lang="en">
  <articleinfo>
    <title>&FC; &LOCALVER; Release Notes</title>
    <copyright>
      <year>2006</year>
      <holder>&FORMAL-RHI;</holder>
    </copyright>
    &LEGALNOTICE-RELNOTES;
  </articleinfo>

I have combed through the entities, the supporting files, such as the
legalnotice pieces, have recreated the entire content block using
automatic tag creation, and looked at the differences between this
current version and many earlier versions.

I cannot find anything that would cause this.  I suspect that it is
something wrong or missing in the <DOCTYPE []> header.  It could be the
new DOCID structure?  Seems OK, though ... Perhaps I'm missing an
ENTITY?  I don't see one from previous versions ...

tia - Karsten

[1] viewcvs of content
http://cvs.fedora.redhat.com/viewcvs/release-notes/?root=docs
http://cvs.fedora.redhat.com/viewcvs/release-notes/RELEASE-NOTES-en.xml?root=docs&rev=1.16&view=markup

[2] xmlto error output
make html
LANG=en.UTF-8 xmlto html -x /home/kwade/Documents/projects/fedora/cvs-
docs/release-notes/../docs-common/xsl/main-html.xsl -o RELEASE-NOTES-en
RELEASE-NOTES-en.xml
xmlto: input does not validate (status 3)
/home/kwade/Documents/projects/fedora/cvs-docs/release-notes/RELEASE-
NOTES-en.xml:67: element article: validity error : Element article
content does not follow the DTD, expecting ((title , subtitle? ,
titleabbrev?)? , articleinfo? , tocchap? , lot* , (((calloutlist |
glosslist | itemizedlist | orderedlist | segmentedlist | simplelist |
variablelist | caution | important | note | tip | warning |
literallayout | programlisting | programlistingco | screen | screenco |
screenshot | synopsis | cmdsynopsis | funcsynopsis | classsynopsis |
fieldsynopsis | constructorsynopsis | destructorsynopsis |
methodsynopsis | formalpara | para | simpara | address | blockquote |
graphic | graphicco | mediaobject | mediaobjectco | informalequation |
informalexample | informalfigure | informaltable | equation | example |
figure | table | msgset | procedure | sidebar | qandaset | anchor |
bridgehead | remark | highlights | abstract | authorblurb | epigraph |
indexterm | beginpage)+ , (sect1* | refentry* | simplesect* | section*))
| sect1+ | refentry+ | simplesect+ | section+) , ((toc | lot | index |
glossary | bibliography) | appendix | ackno)*), got (articleinfo CDATA
CDATA CDATA CDATA CDATA CDATA CDATA CDATA CDATA CDATA CDATA CDATA )
Document /home/kwade/Documents/projects/fedora/cvs-docs/release-
notes/RELEASE-NOTES-en.xml does not validate
make: *** [RELEASE-NOTES-en/index.html] Error 3

-- 
Karsten Wade, RHCE * Sr. Tech Writer * http://people.redhat.com/kwade/
gpg fingerprint:  2680 DBFD D968 3141 0115    5F1B D992 0E06 AD0E 0C41   
Content Services                          Fedora Documentation Project
http://www.redhat.com/docs   http://fedoraproject.org/wiki/DocsProject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-docs-list/attachments/20060110/6e3ef66d/attachment.sig>


More information about the fedora-docs-list mailing list