On Tue, 2006-01-10 at 11:40 -0800, Karsten Wade wrote:
I'm having problems with building the release-notes currently
from HEAD
in CVS[1].
The second file called in, OverView-en.xml, had a stray close comment
mark: -->
Thanks to Chris Lennert for finding it, Paul W. Frields for clever use
of xmllint to figure out which file was the problematic one, and the
FDSCo team for working on it instead of our meeting today.
- Karsten
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?r...
[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
--
fedora-docs-list mailing list
fedora-docs-list(a)redhat.com
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-docs-list --
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