Red Hat Bugzilla – Bug 860871
Non-useful/incomplete error output if <revision> tag is left out of Revision_History.xml
Last modified: 2012-11-06 21:25:13 EST
Description of problem:
If the opening <revision> tag for a revision in the Revision_History.xml file is omitted, the result of a publican build command is an incomplete mismatched tag error. This may be intentional, but it is not helpful towards discovering the reason.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. In a working publican book, edit the Revision_History.xml file.
2. Remove or comment out the most recent revision's opening <revision> tag.
3. Run a publican build command with en-US as the language and html-single as the format.
mismatched tag at line 24, column 11, byte 851 at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187
(this is the entirety of the output after the build command is run)
Some information about which file failed the build or a more useful error message in general.
(In reply to comment #0)
> Description of problem:
> If the opening <revision> tag for a revision in the Revision_History.xml
> file is omitted, the result of a publican build command is an incomplete
> mismatched tag error. This may be intentional, but it is not helpful towards
> discovering the reason.
Hi Misha; this is probably a dupe of Bug 846812 -- if so, this behaviour was fixed prior to build publican-3.0-0.fc17.t219.noarch
You don't say precisely which build you've got on your system; can you please include the output of:
rpm -q publican
so we can tell if this is a new issue or not?
The output for rpm -q publican is:
Apologies if this is already resolved, I encountered it yesterday and thought it should be reported.