Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1122 db4-upgrade.xsl: book/bookinfo/abstract not preserved

other
closed-fixed
other (15)
5
2010-09-29
2010-09-12
No

book/bookinfo/abstract is lost during a db4-upgrade.xsl process :

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<book>
<title></title>
<bookinfo>
<title></title>
<abstract>
<para>keep me</para>
</abstract>
</bookinfo>
</book>

becomes:

<!-- Converted by db4-upgrade version 1.0 -->

<book xmlns="http://docbook.org/ns/docbook" version="5.0">

<info><title/>

</info>
</book>

Discussion

  • Robert Stayton
    Robert Stayton
    2010-09-12

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Robert Stayton
    Robert Stayton
    2010-09-12

    • assigned_to: nobody --> bobstayton
    • status: open --> pending-fixed
     
  • Latest snapshot looks good (I had to [patch manually: using:

    "http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/docbook/relaxng/tools/db4-upgrade.xsl?view=patch&r1=8905&r2=8904&pathrev=8905"

    thanks

     
    • status: pending-fixed --> open-fixed
     
  • Robert Stayton
    Robert Stayton
    2010-09-14

    • status: open-fixed --> pending-fixed
     
  • Robert Stayton
    Robert Stayton
    2010-09-14

    Sorry, I should not have used the canned response. This fixed version will never appear in the XSL snapshots, because that stylesheet file is not distributed as part of the XSL distro. It is part of the DB5 schema distro. It will appear in the next version of DB5.

     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending-fixed --> closed-fixed