Bug 556684 - validations errors are ot displayed in output
Summary: validations errors are ot displayed in output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-19 04:17 UTC by Jeff Fearn 🐞
Modified: 2010-11-24 04:18 UTC (History)
5 users (show)

Fixed In Version: 1.4-1.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-01 01:15:13 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.