Bug 461437

Summary: "make clean_ids" does not update xrefs after an ID is changed.
Product: [Community] Publican Reporter: Murray McAllister <mmcallis>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED NOTABUG QA Contact: Michael Hideo <mhideo>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0CC: mmcallis, publican-list, vdanen
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-08 01:35:42 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 Murray McAllister 2008-09-08 01:13:41 UTC
Description of problem:

Not sure if this is a bug: I changed a chapter ID, ran make clean_ids, and it did not update xrefs pointing to the section.

Version-Release number of selected component (if applicable):
publican-0.36-7.el5

How reproducible:
Each time I try it

Steps to Reproduce:

1. File1.xml:

<chapter id="chap-Security-Enhanced_Linux-SELinux_Contexts_and_Attributes">

2. File2.xml:

Refer to <xref linkend="chap-Security-Enhanced_Linux-SELinux_Contexts_and_Attributes" />

3. File1.xml:

Change id to "chap-Security-Enhanced_Linux-SELinux_Contexts".

4. Run "make clean_ids"

5. Create this bug.

Actual results:

make returns "File2.xml:226: element xref: validity error : IDREF attribute linkend references an unknown ID "chap-SELinux_User_Guide-SELinux_Contexts_and_Attributes"


Expected results:
The xref in File2.xml to be updated?

Additional info:
Available on request ;)

Comment 1 Jeff Fearn 🐞 2008-09-08 01:35:42 UTC
This is not a bug.

Bugzilla is not a question and answer service, please use the email list if you aren't sure.