Bug 831915 - "[Fatal Error]" message is misleading
Summary: "[Fatal Error]" message is misleading
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-14 04:56 UTC by Joshua Wulf
Modified: 2014-10-19 23:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-14 05:02:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Joshua Wulf 2012-06-14 04:56:26 UTC
During a csprocessor build, if a topic contains invalid xml the csprocessor reports a "Fatal Error", e.g.:


Starting to validate...
INFO:  The Content Specification is valid.

Starting to build...
[Fatal Error] :6:3: The element type "para" must be terminated by the matching end-tag "</para>".



Suggested message:


INFO: Topic __ could not be built: :6:3 The element type "para" must be terminated by the matching end-tag "</para>"


==============================
Generated Details:

Package: cspclient-0.24.7-1.noarch

Comment 1 Lee Newson 2012-06-14 05:02:49 UTC
Unfortunately there is not much I can do about this since the library prints the error message straight to stderr. In other words this isn't an error I'm printing myself. In the final build though it does show that type of error in the "Compiler Output" chapter.


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