Red Hat Bugzilla – Bug 846812
Parsing errors generated on Revision_History.xml now do not specify the XML file/error
Last modified: 2012-10-30 23:11:32 EDT
Description of problem:
When publican encounters a parsing error in the Revision_History.xml file, which is now parsed before the rest of the XML, the error doesn't specify what or where the problem is.
Mismatched firstname and/or surname tags caused the error in my case, but the only reason I realised this was because the only file I had changed was Revision_History.xml and it failed an xmllint when I ran it directly.
Version-Release number of selected component (if applicable):
$ rhpkg publican build --langs=en-US --formats=html
mismatched tag at line 17, column 6, byte 565 at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187
Fix verified in build publican-3.0-0.fc17.t219.noarch:
Beginning work on en-US
DTD Validation failed:
Revision_History.xml:8: validity error : Element revision is not declared in simpara list of possible children
Revision_History.xml:9: validity error : Element revision content does not follow the DTD, expecting (revnumber? , date , (author | authorinitials)* , (revremark | revdescription)?), got ()