[publican-list] [Bug 540383] New: Publican seems to be pre-processing .xml files in extras/
bugzilla at redhat.com
bugzilla at redhat.com
Mon Nov 23 08:46:42 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Publican seems to be pre-processing .xml files in extras/
https://bugzilla.redhat.com/show_bug.cgi?id=540383
Summary: Publican seems to be pre-processing .xml files in
extras/
Product: Red Hat Enterprise Linux 5
Version: 5.4
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: publican
AssignedTo: mhideo at redhat.com
ReportedBy: dmison at redhat.com
QAContact: jwulf at redhat.com
CC: publican-list at redhat.com
Classification: Red Hat
Target Release: ---
Description of problem:
If I use <programlisting><xi:include href="extras/example.xml"
parse="text"/></programlisting> to pull in a .xml file from extras/ the XML
file is included and does not cause a docbook error. However the XML file is
modified, the same as the XML files in the parent directory.
My understanding was that files in extras/ were untouched.
Version-Release number of selected component (if applicable):
publican-jboss-1.0-0.el5
publican-ovirt-1.0-0.el5
publican-gimp-1.0-0.el5
perl-Publican-WebSite-1.0-0.el5
publican-1.2-0.el5
publican-redhat-internal-1.0-1.el5
publican-WebSite-obsoletes-1.14-1.el5
publican-fedora-1.0-0.el5
publican-doc-1.2-0.el5
publican-redhat-1.0-0.el5.t1
How reproducible:
every time
Steps to Reproduce:
1. create an XML file in extras/ eg. example.xml with the content:
<juddi-users>
<user userid="anou_mana" password="password" />
<user userid="bozo" password="clown" />
<user userid="sviens" password="password" />
</juddi-users>
2. <programlisting language="XML"><xi:include href="extras/example.xml"
parse="text" xmlns:xi="http://www.w3.org/2001/XInclude/></programlisting>
3. publican build --formats=html --langs=en-US
Actual results:
programlisting appears as:
<?xml version='1.' encoding='utf-8' ?>
<!DOCTYPE juddi-users PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "../jUDDI_User_Guide.ent">
%BOOK_ENTITIES;
]>
<juddi-users lang="en-US"><user password="password"
userid="anou_mana"></user><user password="clown" userid="bozo"></user><user
password="password" userid="sviens"></user></juddi-users>
Expected results:
<juddi-users>
<user userid="anou_mana" password="password" />
<user userid="bozo" password="clown" />
<user userid="sviens" password="password" />
</juddi-users>
Other Info:
Current workaround is to use a different file extension for XML files.
I am fairly certain this might have been working correctly in a previous
version, but I do not have any earlier versions installed to verify now. I do
remember testing it, but never actually updated any of my books to use it, so
it could well have been a dream. ;-)
--
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