Bug 662162

Summary: show_unknown parameter problem
Product: [Community] Publican Reporter: luigi votta <luigi.vtt>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Ruediger Landmann <rlandman+disabled>
Severity: low Docs Contact:
Priority: low    
Version: 2.5CC: jmorgan, luigi.vtt, mmcallis, publican-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-26 00:42:34 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 luigi votta 2010-12-10 19:04:58 UTC
Description of problem:
Hello, 
using a Docbook element, not listed by "publican print_known", and setting show_unknown: 1 in the publican.cfg, we should expect publican report the unknown tag when processing XML. 

Steps to Reproduce:
1. Use an unknown element: <equation>
2. build with show_unknown: 1 (default) (debug: 1, for redundancy)
  
Actual results:
No message about the unknown element

Expected results:
Show message about the unknown element

Comment 1 Jeff Fearn 🐞 2010-12-14 04:26:57 UTC
XmlClean was not checking the setting correctly.

Fixed in revision 1686

Comment 2 Jeff Fearn 🐞 2011-07-07 11:00:06 UTC
Back ported to branches/publican-2x

Committed revision 1812.