[publican-list] [Bug 733402] New: Publican does not detect an incorrect name of a tag property
bugzilla at redhat.com
bugzilla at redhat.com
Thu Aug 25 16:03:41 UTC 2011
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Publican does not detect an incorrect name of a tag property
https://bugzilla.redhat.com/show_bug.cgi?id=733402
Summary: Publican does not detect an incorrect name of a tag
property
Product: Publican
Version: 2.6
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: publican
AssignedTo: jfearn at redhat.com
ReportedBy: ekopalov at redhat.com
QAContact: rlandman at redhat.com
CC: mmcallis at redhat.com, publican-list at redhat.com
Classification: Other
Story Points: ---
Type: ---
Description of problem:
Publican does not detect a dtd violation
Version-Release number of selected component (if applicable):
2.6 (with the JBoss brand; but occurs on all brands)
How reproducible:
<note>
<title>A roles properties file</title>
<para>blabla</para>
<example id="example-user_properties_file">
<title>A roles properties file</title>
<para>
<programlisting lang="Java">
# A roles.properties file for use with the UsersRolesLoginModule
darranl at KERBEROS.JBOSS.ORG=Users
</programlisting>
</para>
</example>
</note>
Steps to Reproduce:
1. Build the text above into an html-single document (I had it in a chapter and
section)
Actual results:
The text is rendered without the programlisting content ("# A roles.properties
file for use with the UsersRolesLoginModule
darranl at KERBEROS.JBOSS.ORG=Users" is NOT shown)
Expected results:
Publican building fails due to an incorrect argument in the programlisting tag
(I have "lang"; should be "language")
Additional info:
If you get rid of the para tag around the programlisting, publican build will
fail with:
general_installation.xml:185: validity error : Element example content does not
follow the DTD, expecting (blockinfo? , (title , titleabbrev?) , (calloutlist |
glosslist | bibliolist | itemizedlist | orderedlist | segmentedlist |
simplelist | variablelist | literallayout | programlisting | programlistingco |
screen | screenco | screenshot | synopsis | cmdsynopsis | funcsynopsis |
classsynopsis | fieldsynopsis | constructorsynopsis | destructorsynopsis |
methodsynopsis | formalpara | para | simpara | address | blockquote | graphic |
graphicco | mediaobject | mediaobjectco | informalequation | informalexample |
informalfigure | informaltable | indexterm | beginpage | procedure)+), got
(title )
So it cannot see the programlisting tag.
Good luck!
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the publican-list
mailing list