Bug 556684

Summary: validations errors are ot displayed in output
Product: [Community] Publican Reporter: Jeff Fearn 🐞 <jfearn>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 1.6CC: jfearn, mmcallis, nb, publican-list, rlandman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.4-1.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-01 01:15:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Fearn 🐞 2010-01-19 04:17:08 UTC
Description of problem:
when there is an xml validation error the error content is not output to the display.

Version-Release number of selected component (if applicable):
1.3

How reproducible:
always

Steps to Reproduce:
1. make a book
2. make some invalid XML
3. build the book
  
Actual results:
Validation failed: 
  at /usr/bin/publican line 462

Expected results:
Validation failed: 
   <WHY>

Additional info:

Comment 1 Jeff Fearn 🐞 2010-01-19 04:25:54 UTC
Changed method for displaying validation error content.

Workaround: Use the following 2 step process

$ publican build --langs en-US --formats test
$ xmllint --postvalid --noout --xinclude tmp/en-US/xml/<main_xml_file>.xml

Comment 2 Fedora Update System 2010-01-29 02:05:51 UTC
publican-1.4-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/publican-1.4-1.fc12

Comment 3 Fedora Update System 2010-01-29 02:07:08 UTC
publican-1.4-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/publican-1.4-1.fc11

Comment 4 Fedora Update System 2010-02-01 01:14:00 UTC
publican-1.4-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2010-02-01 01:22:19 UTC
publican-1.4-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.